mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-03 00:00:58 +08:00
24 lines
691 B
C#
24 lines
691 B
C#
using AutoMapper;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Yi.BBS.Application.Contracts.School.Dtos;
|
|
using Yi.BBS.Domain.School.Entities;
|
|
|
|
namespace Yi.BBS.Application.School.MapperConfig
|
|
{
|
|
public class StudentProfile: Profile
|
|
{
|
|
public StudentProfile()
|
|
{
|
|
CreateMap<StudentGetListInputVo, StudentEntity>();
|
|
CreateMap<StudentCreateInputVo, StudentEntity>();
|
|
CreateMap<StudentUpdateInputVo, StudentEntity>();
|
|
CreateMap<StudentEntity, StudentGetListOutputDto>();
|
|
CreateMap<StudentEntity, StudentGetOutputDto>();
|
|
}
|
|
}
|
|
}
|