YD_YiLu.Api/YD_YiLu/AutoMappers/MappingProfile.cs
2026-06-30 15:12:29 +08:00

22 lines
543 B
C#

using AutoMapper;
using VOL.Entity.DomainModels.XinWei;
using YD_YiLu.Commons.Dto.Open;
namespace YD_YiLu.Api.AutoMappers
{
public class MappingProfile : Profile
{
public MappingProfile()
{
// 建立对象之间的映射规则
// 如果有需要,您可以定义其他的映射规则
// CreateMap<SourceClass2, DestinationClass2>();
// ...
//CreateMap<AddHomeWorkDto, S_HomeWork>();
CreateMap<YL_Device, DeviceInfoDto>();
}
}
}