更改项目目录
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using AutoMapper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.BBS.Application.Contracts.Forum.Dtos;
|
||||
using Yi.BBS.Domain.Forum.Entities;
|
||||
|
||||
namespace Yi.BBS.Application.Forum.MapperConfig
|
||||
{
|
||||
public class PlateProfile: Profile
|
||||
{
|
||||
public PlateProfile()
|
||||
{
|
||||
CreateMap<PlateGetListInputVo, PlateEntity>();
|
||||
CreateMap<PlateCreateInputVo, PlateEntity>();
|
||||
CreateMap<PlateUpdateInputVo, PlateEntity>();
|
||||
CreateMap<PlateEntity, PlateGetListOutputDto>();
|
||||
CreateMap<PlateEntity, PlateGetOutputDto>();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using Yi.BBS.Application.Contracts.Forum;
|
||||
using NET.AutoWebApi.Setting;
|
||||
using Yi.BBS.Application.Contracts.Forum.Dtos;
|
||||
using Yi.BBS.Domain.Forum.Entities;
|
||||
using Yi.Framework.Ddd.Services;
|
||||
|
||||
namespace Yi.BBS.Application.Forum
|
||||
{
|
||||
/// <summary>
|
||||
/// Plate服务实现
|
||||
/// </summary>
|
||||
[AppService]
|
||||
public class PlateService : CrudAppService<PlateEntity, PlateGetOutputDto, PlateGetListOutputDto, long, PlateGetListInputVo, PlateCreateInputVo, PlateUpdateInputVo>,
|
||||
IPlateService, IAutoApiService
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user