|
@@ -58,16 +58,17 @@ namespace MTWorkHR.Application.Mapper
|
|
|
|
|
|
CreateMap<RolePermissionDto, RolePermission>().ReverseMap();
|
|
|
|
|
|
- CreateMap<ProjectDto, Project>().ReverseMap();
|
|
|
- CreateMap<UserTaskDto, UserTask>().ReverseMap();
|
|
|
+ CreateMap<ProjectDto, Project>().ForMember(d => d.CreateDate, o => o.Ignore()).ReverseMap();
|
|
|
+ CreateMap<UserTaskDto, UserTask>().ForMember(d => d.CreateDate, o => o.Ignore()).ReverseMap();
|
|
|
CreateMap<UserTaskAttachment, AttachmentDto>().ReverseMap();
|
|
|
- CreateMap<UserTaskHistory, UserTaskHistoryDto>().ReverseMap();
|
|
|
- CreateMap<Team, TeamDto>().ReverseMap();
|
|
|
- CreateMap<TeamUser, TeamUserDto>().ReverseMap();
|
|
|
- CreateMap<Meeting, MeetingDto>().ReverseMap();
|
|
|
- CreateMap<MeetingUser, MeetingUserDto>().ReverseMap();
|
|
|
+ CreateMap<UserTaskHistoryDto, UserTaskHistory>().ForMember(d => d.CreateDate, o => o.Ignore()).ReverseMap();
|
|
|
+ CreateMap<Team, TeamDto>().ReverseMap().ForMember(d => d.CreateDate, o => o.Ignore());
|
|
|
+ CreateMap<TeamUserDto, TeamUser>().ForMember(d => d.CreateDate, o => o.Ignore()).ReverseMap();
|
|
|
+ CreateMap<Meeting, MeetingDto>().ReverseMap()
|
|
|
+ .ForMember(d => d.CreateDate, o => o.Ignore());
|
|
|
+ CreateMap<MeetingUser, MeetingUserDto>().ReverseMap().ForMember(d => d.CreateDate, o => o.Ignore());
|
|
|
+
|
|
|
|
|
|
-
|
|
|
|
|
|
}
|
|
|
}
|