|
|
@ -79,16 +79,16 @@ namespace Win_in.Sfs.Scp.WebApi.EntityFrameworkCore |
|
|
|
b.Property(x => x.Type).HasMaxLength(64); |
|
|
|
b.Property(x => x.Catalog).HasMaxLength(64); |
|
|
|
b.Property(x => x.Group).HasMaxLength(64); |
|
|
|
b.Property(x => x.Color).HasMaxLength(64); |
|
|
|
b.Property(x => x.Configuration).HasMaxLength(64); |
|
|
|
b.Property(x => x.Project).HasMaxLength(64); |
|
|
|
//b.Property(x => x.Color).HasMaxLength(64);
|
|
|
|
//b.Property(x => x.Configuration).HasMaxLength(64);
|
|
|
|
//b.Property(x => x.Project).HasMaxLength(64);
|
|
|
|
b.Property(x => x.Version).HasMaxLength(64); |
|
|
|
b.Property(x => x.SequenceNumber).HasMaxLength(64); |
|
|
|
b.Property(x => x.Eco).HasMaxLength(64); |
|
|
|
b.Property(x => x.StdPackUom).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(x => x.StdPackQty).IsRequired(); |
|
|
|
b.Property(x => x.ExtPackUom).HasMaxLength(64); |
|
|
|
b.Property(x => x.ExtPackQty); |
|
|
|
//b.Property(x => x.Eco).HasMaxLength(64);
|
|
|
|
//b.Property(x => x.StdPackUom).IsRequired().HasMaxLength(64);
|
|
|
|
//b.Property(x => x.StdPackQty).IsRequired();
|
|
|
|
//b.Property(x => x.ExtPackUom).HasMaxLength(64);
|
|
|
|
//b.Property(x => x.ExtPackQty);
|
|
|
|
b.Property(x => x.Site).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(x => x.Company).IsRequired().HasMaxLength(64); |
|
|
|
|
|
|
@ -124,6 +124,7 @@ namespace Win_in.Sfs.Scp.WebApi.EntityFrameworkCore |
|
|
|
b.Property(q => q.IsActive).IsRequired(); |
|
|
|
b.Property(q => q.Company).HasMaxLength(64); |
|
|
|
b.Property(q => q.Remark).HasMaxLength(4096); |
|
|
|
b.Property(x => x.Bank).HasMaxLength(64); |
|
|
|
b.Property(x => x.Version).HasMaxLength(64); |
|
|
|
b.Property(x => x.SequenceNumber).HasMaxLength(64); |
|
|
|
|
|
|
@ -170,14 +171,15 @@ namespace Win_in.Sfs.Scp.WebApi.EntityFrameworkCore |
|
|
|
|
|
|
|
b.Property(q => q.RcNumber).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(q => q.AsnNumber).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(q => q.RpNumber).IsRequired().HasMaxLength(64); |
|
|
|
//b.Property(q => q.RpNumber).IsRequired().HasMaxLength(64);
|
|
|
|
b.Property(q => q.PoNumber).HasMaxLength(64); |
|
|
|
b.Property(q => q.SupplierCode).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(q => q.RcType).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(q => q.Warehouse).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(q => q.Dock).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(q => q.TimeWindowBegin).IsRequired(); |
|
|
|
b.Property(q => q.TimeWindowEnd).IsRequired(); |
|
|
|
//b.Property(q => q.TimeWindowBegin).IsRequired();
|
|
|
|
//b.Property(q => q.TimeWindowEnd).IsRequired();
|
|
|
|
b.Property(q => q.ReceiveDate).IsRequired(); |
|
|
|
b.Property(q => q.ReceiveTime).IsRequired(); |
|
|
|
b.Property(q => q.Site).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(q => q.Company).IsRequired().HasMaxLength(64); |
|
|
@ -187,12 +189,12 @@ namespace Win_in.Sfs.Scp.WebApi.EntityFrameworkCore |
|
|
|
b.Property(q => q.SupplierLot).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(q => q.ProductionDate).IsRequired(); |
|
|
|
b.Property(q => q.Uom).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(q => q.DeliverQty).IsRequired(); |
|
|
|
//b.Property(q => q.DeliverQty).IsRequired();
|
|
|
|
b.Property(q => q.ReceiveQty).IsRequired(); |
|
|
|
b.Property(q => q.StdPackUom).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(q => q.StdPackQty).IsRequired(); |
|
|
|
b.Property(q => q.SupplierPackUom).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(q => q.SupplierPackQty).IsRequired(); |
|
|
|
//b.Property(q => q.StdPackUom).IsRequired().HasMaxLength(64);
|
|
|
|
//b.Property(q => q.StdPackQty).IsRequired();
|
|
|
|
//b.Property(q => q.SupplierPackUom).IsRequired().HasMaxLength(64);
|
|
|
|
//b.Property(q => q.SupplierPackQty).IsRequired();
|
|
|
|
b.Property(q => q.SupplierPackConvertRate).IsRequired(); |
|
|
|
b.Property(q => q.Remark).HasMaxLength(4096); |
|
|
|
b.Property(x => x.Version).HasMaxLength(64); |
|
|
@ -255,10 +257,10 @@ namespace Win_in.Sfs.Scp.WebApi.EntityFrameworkCore |
|
|
|
b.Property(q => q.PartCode).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(q => q.Uom).IsRequired().HasMaxLength(64); |
|
|
|
b.Property(q => q.OrderQty).IsRequired(); |
|
|
|
b.Property(q => q.StdPackUom).IsRequired().HasMaxLength(64); |
|
|
|
//b.Property(q => q.StdPackUom).IsRequired().HasMaxLength(64);
|
|
|
|
b.Property(q => q.StdPackQty).IsRequired(); |
|
|
|
b.Property(q => q.SupplierPackUom).HasMaxLength(64); |
|
|
|
b.Property(q => q.SupplierPackQty); |
|
|
|
//b.Property(q => q.SupplierPackUom).HasMaxLength(64);
|
|
|
|
//b.Property(q => q.SupplierPackQty);
|
|
|
|
b.Property(q => q.SupplierPackConvertRate); |
|
|
|
b.Property(q => q.IsConsignment).IsRequired(); |
|
|
|
b.Property(q => q.LineStatus).IsRequired(); |
|
|
|