2025-06-06 16:00:39 +08:00
|
|
|
|
using AutoMapper;
|
|
|
|
|
using VOL.Entity.DomainModels;
|
2025-06-06 16:55:14 +08:00
|
|
|
|
using VOL.Entity.DomainModels.YD;
|
2025-06-06 16:00:39 +08:00
|
|
|
|
using VOL.Model;
|
|
|
|
|
using VOL.Model.Ai;
|
|
|
|
|
using VOL.Model.Ai.Request;
|
|
|
|
|
using VOL.Model.IOT.Request;
|
|
|
|
|
using VOL.Model.School.Request;
|
|
|
|
|
using VOL.Model.School.Response;
|
2025-06-06 16:55:14 +08:00
|
|
|
|
using VOL.Model.Stadium;
|
2025-06-06 16:00:39 +08:00
|
|
|
|
|
|
|
|
|
namespace VOL.Core.AutoMapper
|
|
|
|
|
{
|
|
|
|
|
public class MappingProfile : Profile
|
|
|
|
|
{
|
|
|
|
|
public MappingProfile()
|
|
|
|
|
{
|
|
|
|
|
// 建立对象之间的映射规则
|
|
|
|
|
// 如果有需要,您可以定义其他的映射规则
|
|
|
|
|
// CreateMap<SourceClass2, DestinationClass2>();
|
|
|
|
|
// ...
|
|
|
|
|
|
|
|
|
|
CreateMap<AddTeacherParam, S_Teacher>();
|
|
|
|
|
CreateMap<AddStudentParam, S_Student>();
|
|
|
|
|
CreateMap<ImportStudentParam, S_Student>();
|
|
|
|
|
CreateMap<ImportStudentsTestDataParam, N_SportsTestValue>();
|
|
|
|
|
CreateMap<AddHealthStandardsParam, N_HealthStandards>();
|
|
|
|
|
CreateMap<EntryStudentModel, G_EntryStudent>();
|
|
|
|
|
//CreateMap<Sys_UserApply, UserApplyDetailsModel>();
|
|
|
|
|
|
|
|
|
|
//CreateMap<UserRegisterParam, Sys_User>();
|
|
|
|
|
|
|
|
|
|
//CreateMap<CarbonAssetApplyParam, A_CarbonAssetApply>();
|
|
|
|
|
|
|
|
|
|
//CreateMap<CarbonTradeApplyParam, T_CarbonTrade>();
|
|
|
|
|
//CreateMap<CarbonTradeApproveParam, T_TradeAfoot>();
|
|
|
|
|
|
|
|
|
|
CreateMap<SportsTestDataParam, I_SportsTestData>();
|
|
|
|
|
CreateMap<AddSchoolParam, S_School>();
|
|
|
|
|
|
|
|
|
|
// 专项教学
|
|
|
|
|
CreateMap<SpecialActionParam, Ai_SpecialAction>();
|
|
|
|
|
|
|
|
|
|
//AI
|
|
|
|
|
CreateMap<Ai_TrainingDataUploadRequest, Ai_TrainingData>();
|
|
|
|
|
CreateMap<Ai_TrainingDetailsDataUploadRequest, Ai_TrainingData>();
|
|
|
|
|
|
|
|
|
|
CreateMap<LevelExamDataUploadRequest, Ai_LevelExamData>();
|
|
|
|
|
CreateMap<SportsTestResultUploadRequest, Ai_SportsTestData>();
|
|
|
|
|
CreateMap<FileList, Ai_SportsTestVideo>();
|
|
|
|
|
CreateMap<Ai_SportsTestVideo, FileList>();
|
|
|
|
|
CreateMap<Ai_ResultUploadRequest, Ai_TrainingData>();
|
|
|
|
|
CreateMap<Ai_ActivitiestResultUploadRequest, Ai_ActivitiestData>();
|
|
|
|
|
CreateMap<HeartRateResultUploadRequest, Ai_HeartRateData>();
|
|
|
|
|
CreateMap<FastJumpRopeResultUploadRequest, Ai_FastJumpRopeData>();
|
|
|
|
|
CreateMap<Ai_ClassRoomRecordRequest, Ai_ClassRoomRecord>();
|
|
|
|
|
CreateMap<ClassroomStudentRecordRequest, Ai_ClassroomStudentRecord>();
|
|
|
|
|
|
|
|
|
|
CreateMap<N_SportsTestValue, SportsTestValueModel>();
|
|
|
|
|
CreateMap<Ai_SportsTestData, SportsTestValueModel>();
|
2025-06-06 16:55:14 +08:00
|
|
|
|
CreateMap<Y_Stadium, StadiumDetailsDto>();
|
|
|
|
|
CreateMap<Y_StadiumResource, StadiumResourceDto>();
|
|
|
|
|
CreateMap<StadiumDetailsDto, Y_Stadium>();
|
|
|
|
|
CreateMap<StadiumResourceDto, Y_StadiumResource>();
|
2025-06-06 16:00:39 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|