|
|
@ -11,8 +11,8 @@ namespace WebTest.Models |
|
|
|
.ForMember(t => t.Name, opt => opt.MapFrom(f => f.UserName)); |
|
|
|
|
|
|
|
CreateMap<ShopResponse, Shop>().ForMember(t => t.VenderType, opt => opt.MapFrom(f => f.ShopType)) |
|
|
|
.ForMember(t => t.Platform, opt => opt.MapFrom(f => f.PlatformId)); |
|
|
|
//.ForMember(t => t.PurchaseAccountList, opt => opt.MapFrom(f => f.PurchaseList));
|
|
|
|
.ForMember(t => t.Platform, opt => opt.MapFrom(f => f.PlatformId)) |
|
|
|
.ForMember(t => t.PurchaseAccountList, opt => opt.MapFrom(f => f.PurchaseList)); |
|
|
|
|
|
|
|
CreateMap<PurchaseAccountResponse, PurchaseAccount>(); |
|
|
|
CreateMap<DepartmentResponse, Department>(); |
|
|
|