爆肝,重构框架,你懂得

This commit is contained in:
chenchun
2023-01-01 23:06:11 +08:00
parent dbe020dc94
commit b9384afd5d
276 changed files with 5205 additions and 3281 deletions

View File

@@ -5,6 +5,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.WebCore.Mapper;
namespace Yi.Framework.WebCore.Mapper
{

View File

@@ -5,7 +5,8 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.DTOModel.Vo;
using Yi.Framework.Model.Models;
using Yi.Framework.Model.BBS.Entitys;
using Yi.Framework.Model.RABC.Entitys;
namespace Yi.Framework.WebCore.Mapper
{
@@ -14,11 +15,11 @@ namespace Yi.Framework.WebCore.Mapper
// 添加你的实体映射关系.
public AutoMapperProfile()
{
CreateMap<ArticleEntity, ArticleVo > ();
CreateMap<ArticleEntity, ArticleVo>();
CreateMap<UserEntity, UserVo>();
CreateMap<CommentEntity, CommentVo>();
}
}
}