@ -26,6 +26,8 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
.Ignore(x => x.ExtraProperties)
// .Ignore(x => x.Remark)
;
CreateMap<BomEditInput, Bom>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.ConcurrencyStamp).Ignore(x => x.Id);
}
@ -23,6 +23,8 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
CreateMap<Customer, CustomerImportInput>()
.Ignore(x => x.ReportStatus)
.Ignore(x => x.ReportReason);
CreateMap<CustomerEditInput, Customer>()
@ -28,5 +28,8 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
CreateMap<ItemBasic, ItemBasicForDongyangExportDTO>()
.Ignore(x => x.ItemCategory)
.Ignore(x => x.Color);
CreateMap<ItemBasicEditInput, ItemBasic>()
@ -22,5 +22,8 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
CreateMap<Supplier, SupplierImportInput>()
CreateMap<SupplierEditInput, Supplier>()
@ -67,5 +67,9 @@ public partial class StoreApplicationAutoMapperProfile : Profile
.Ignore(x => x.Number)
.Ignore(x => x.Id)
.Ignore(x => x.Remark);
CreateMap<MaterialRequestEditInput, MaterialRequest>()
.Ignore(x => x.RequestStatus)