|
|
@ -12,33 +12,45 @@ public partial class BasedataApplicationAutoMapperProfile : Profile |
|
|
|
CreateMap<PostionLocation, PostionLocationDTO>() |
|
|
|
.ReverseMap(); |
|
|
|
|
|
|
|
|
|
|
|
CreateMap<PostionLocationImportInput, PostionLocation>() |
|
|
|
.IgnoreAuditedObjectProperties() |
|
|
|
.Ignore(x => x.TenantId) |
|
|
|
.Ignore(x => x.ExtraProperties) |
|
|
|
.Ignore(x => x.ConcurrencyStamp) |
|
|
|
//.Ignore(x => x.EnableMixItem)
|
|
|
|
//.Ignore(x => x.EnableMixLot)
|
|
|
|
//.Ignore(x => x.EnableMixStatus)
|
|
|
|
//.Ignore(x => x.EnableNegative)
|
|
|
|
//.Ignore(x => x.EnableKeepZero)
|
|
|
|
//.Ignore(x => x.EnableOpportunityCount)
|
|
|
|
//.Ignore(x => x.EnablePick)
|
|
|
|
//.Ignore(x => x.EnableOverPick)
|
|
|
|
//.Ignore(x => x.EnableWholeStore)
|
|
|
|
//.Ignore(x => x.EnableBreakStore)
|
|
|
|
//.Ignore(x => x.EnableShip)
|
|
|
|
//.Ignore(x => x.EnableReceive)
|
|
|
|
//.Ignore(x => x.EnableReturnToSupplier)
|
|
|
|
//.Ignore(x => x.EnableReturnFromCustomer)
|
|
|
|
//.Ignore(x => x.EnableSplitPallet)
|
|
|
|
//.Ignore(x => x.EnableSplitBox)
|
|
|
|
|
|
|
|
; |
|
|
|
.Ignore(x => x.Id) |
|
|
|
.Ignore(x => x.Remark); |
|
|
|
//.Ignore(x => x.EnableMixItem)
|
|
|
|
//.Ignore(x => x.EnableMixLot)
|
|
|
|
//.Ignore(x => x.EnableMixStatus)
|
|
|
|
//.Ignore(x => x.EnableNegative)
|
|
|
|
//.Ignore(x => x.EnableKeepZero)
|
|
|
|
//.Ignore(x => x.EnableOpportunityCount)
|
|
|
|
//.Ignore(x => x.EnablePick)
|
|
|
|
//.Ignore(x => x.EnableOverPick)
|
|
|
|
//.Ignore(x => x.EnableWholeStore)
|
|
|
|
//.Ignore(x => x.EnableBreakStore)
|
|
|
|
//.Ignore(x => x.EnableShip)
|
|
|
|
//.Ignore(x => x.EnableReceive)
|
|
|
|
//.Ignore(x => x.EnableReturnToSupplier)
|
|
|
|
//.Ignore(x => x.EnableReturnFromCustomer)
|
|
|
|
//.Ignore(x => x.EnableSplitPallet)
|
|
|
|
//.Ignore(x => x.EnableSplitBox)
|
|
|
|
|
|
|
|
; |
|
|
|
|
|
|
|
CreateMap<PostionLocation, PostionLocationImportInput>() |
|
|
|
.Ignore(x => x.ReportStatus) |
|
|
|
.Ignore(x => x.ReportStatus) |
|
|
|
.Ignore(x => x.ReportReason); |
|
|
|
CreateMap<PostionLocationEditInput, PostionLocation>() |
|
|
|
.IgnoreAuditedObjectProperties() |
|
|
|
.Ignore(x => x.TenantId) |
|
|
|
.Ignore(x => x.ExtraProperties) |
|
|
|
.Ignore(x => x.ConcurrencyStamp) |
|
|
|
.Ignore(x => x.Id) |
|
|
|
.Ignore(x => x.Remark); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|