24 lines
625 B
C#
Raw Normal View History

2025-01-13 21:06:59 +08:00
using AutoMapper;
2025-01-21 16:01:50 +08:00
using VOL.Entity.DomainModels.XinWei;
2025-01-13 21:06:59 +08:00
using YD_XinWei.Api.SmartSportsEntitys;
using YD_XinWei.Commons.Dto.HomeWork;
2025-01-21 16:01:50 +08:00
using YD_XinWei.Commons.Dto.Open;
2025-01-13 21:06:59 +08:00
namespace YD_XinWei.Api.AutoMappers
{
public class MappingProfile : Profile
{
public MappingProfile()
{
// 建立对象之间的映射规则
// 如果有需要,您可以定义其他的映射规则
// CreateMap<SourceClass2, DestinationClass2>();
// ...
2025-01-14 16:11:31 +08:00
//CreateMap<AddHomeWorkDto, S_HomeWork>();
2025-01-21 16:01:50 +08:00
CreateMap<XW_Device, DeviceInfoDto>();
2025-01-13 21:06:59 +08:00
}
}
}