|
@ -7889,7 +7889,6 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.HasColumnType("nvarchar(50)"); |
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
b.Property<string>("DeliveryOrderNo") |
|
|
b.Property<string>("DeliveryOrderNo") |
|
|
.IsRequired() |
|
|
|
|
|
.HasMaxLength(50) |
|
|
.HasMaxLength(50) |
|
|
.HasColumnType("nvarchar(50)"); |
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
@ -8086,7 +8085,7 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.IsUnique() |
|
|
.IsUnique() |
|
|
.HasFilter("IsDeleted=0"); |
|
|
.HasFilter("IsDeleted=0"); |
|
|
|
|
|
|
|
|
b.ToTable("Set_WMSSparePart_Version"); |
|
|
b.ToTable("Set_SparePart_Version"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS.WmsHQCarOutPut", b => |
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS.WmsHQCarOutPut", b => |
|
@ -8170,6 +8169,9 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.ValueGeneratedOnAdd() |
|
|
.ValueGeneratedOnAdd() |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Amt") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<string>("BillNum") |
|
|
b.Property<string>("BillNum") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(36) |
|
|
.HasMaxLength(36) |
|
@ -8225,6 +8227,9 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.HasDefaultValue(false) |
|
|
.HasDefaultValue(false) |
|
|
.HasColumnName("IsDeleted"); |
|
|
.HasColumnName("IsDeleted"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("IsSparePart") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModificationTime") |
|
|
b.Property<DateTime?>("LastModificationTime") |
|
|
.HasColumnType("datetime2") |
|
|
.HasColumnType("datetime2") |
|
|
.HasColumnName("LastModificationTime"); |
|
|
.HasColumnName("LastModificationTime"); |
|
@ -8250,10 +8255,16 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.HasMaxLength(36) |
|
|
.HasMaxLength(36) |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("OutPutQty") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<string>("ParentMaterialCode") |
|
|
b.Property<string>("ParentMaterialCode") |
|
|
.HasMaxLength(36) |
|
|
.HasMaxLength(36) |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Price") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<decimal>("Qty") |
|
|
b.Property<decimal>("Qty") |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
@ -8771,6 +8782,9 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.ValueGeneratedOnAdd() |
|
|
.ValueGeneratedOnAdd() |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Amt") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<string>("BillNum") |
|
|
b.Property<string>("BillNum") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(36) |
|
|
.HasMaxLength(36) |
|
@ -8860,6 +8874,9 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.HasMaxLength(36) |
|
|
.HasMaxLength(36) |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Price") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<decimal>("Qty") |
|
|
b.Property<decimal>("Qty") |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
@ -9575,6 +9592,9 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.ValueGeneratedOnAdd() |
|
|
.ValueGeneratedOnAdd() |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Amt") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<string>("BillNum") |
|
|
b.Property<string>("BillNum") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(36) |
|
|
.HasMaxLength(36) |
|
@ -9668,6 +9688,9 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.HasMaxLength(36) |
|
|
.HasMaxLength(36) |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Price") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<decimal>("Qty") |
|
|
b.Property<decimal>("Qty") |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
@ -9782,6 +9805,9 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.ValueGeneratedOnAdd() |
|
|
.ValueGeneratedOnAdd() |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Amt") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<string>("BillNum") |
|
|
b.Property<string>("BillNum") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(36) |
|
|
.HasMaxLength(36) |
|
@ -9867,6 +9893,9 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.HasMaxLength(36) |
|
|
.HasMaxLength(36) |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Price") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<decimal>("Qty") |
|
|
b.Property<decimal>("Qty") |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
@ -9896,6 +9925,213 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
b.ToTable("Set_WmsKanbanOutPutDetial"); |
|
|
b.ToTable("Set_WmsKanbanOutPutDetial"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS.WmsSharePart90OutPut", b => |
|
|
|
|
|
{ |
|
|
|
|
|
b.Property<Guid>("Id") |
|
|
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("BillNum") |
|
|
|
|
|
.IsRequired() |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid>("BranchId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
|
|
.IsConcurrencyToken() |
|
|
|
|
|
.HasMaxLength(40) |
|
|
|
|
|
.HasColumnType("nvarchar(40)") |
|
|
|
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreationTime") |
|
|
|
|
|
.HasColumnType("datetime2") |
|
|
|
|
|
.HasColumnName("CreationTime"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Creator") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid?>("CreatorId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
|
|
.HasColumnName("CreatorId"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid?>("DeleterId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
|
|
.HasColumnName("DeleterId"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("DeletionTime") |
|
|
|
|
|
.HasColumnType("datetime2") |
|
|
|
|
|
.HasColumnName("DeletionTime"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Enabled") |
|
|
|
|
|
.HasColumnType("bit"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
|
|
|
.HasColumnType("nvarchar(max)") |
|
|
|
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted") |
|
|
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
|
|
.HasColumnType("bit") |
|
|
|
|
|
.HasDefaultValue(false) |
|
|
|
|
|
.HasColumnName("IsDeleted"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModificationTime") |
|
|
|
|
|
.HasColumnType("datetime2") |
|
|
|
|
|
.HasColumnName("LastModificationTime"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid?>("LastModifierId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
|
|
.HasColumnName("LastModifierId"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Remark") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Version") |
|
|
|
|
|
.IsRequired() |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("BillNum"); |
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Set_WmsSharePart90OutPut"); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS.WmsSharePart90OutPutDetial", b => |
|
|
|
|
|
{ |
|
|
|
|
|
b.Property<Guid>("Id") |
|
|
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Amt") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("BillNum") |
|
|
|
|
|
.IsRequired() |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid>("BranchId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
|
|
.IsConcurrencyToken() |
|
|
|
|
|
.HasMaxLength(40) |
|
|
|
|
|
.HasColumnType("nvarchar(40)") |
|
|
|
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreationTime") |
|
|
|
|
|
.HasColumnType("datetime2") |
|
|
|
|
|
.HasColumnName("CreationTime"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid?>("CreatorId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
|
|
.HasColumnName("CreatorId"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid?>("DeleterId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
|
|
.HasColumnName("DeleterId"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("DeletionTime") |
|
|
|
|
|
.HasColumnType("datetime2") |
|
|
|
|
|
.HasColumnName("DeletionTime"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Enabled") |
|
|
|
|
|
.HasColumnType("bit"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Extend1") |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Extend2") |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
|
|
|
.HasColumnType("nvarchar(max)") |
|
|
|
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("InPut") |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted") |
|
|
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
|
|
.HasColumnType("bit") |
|
|
|
|
|
.HasDefaultValue(false) |
|
|
|
|
|
.HasColumnName("IsDeleted"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModificationTime") |
|
|
|
|
|
.HasColumnType("datetime2") |
|
|
|
|
|
.HasColumnName("LastModificationTime"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid?>("LastModifierId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
|
|
.HasColumnName("LastModifierId"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("MaterialCode") |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("MaterialDesc") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("MaterialGroup") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("OrderBillNum") |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("OutPut") |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("OutPutQty") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ParentMaterialCode") |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Price") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Qty") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Remark") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("State") |
|
|
|
|
|
.HasColumnType("int"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("StockQty") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid>("TaskId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Version") |
|
|
|
|
|
.IsRequired() |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("WmsBillNum") |
|
|
|
|
|
.IsRequired() |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("BillNum"); |
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Set_WmsSharePart90OutPutDetial"); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS.WmsSharePartOutPut", b => |
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS.WmsSharePartOutPut", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
@ -9977,6 +10213,9 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.ValueGeneratedOnAdd() |
|
|
.ValueGeneratedOnAdd() |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Amt") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<string>("BillNum") |
|
|
b.Property<string>("BillNum") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(36) |
|
|
.HasMaxLength(36) |
|
@ -10058,10 +10297,16 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.HasMaxLength(36) |
|
|
.HasMaxLength(36) |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("OutPutQty") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<string>("ParentMaterialCode") |
|
|
b.Property<string>("ParentMaterialCode") |
|
|
.HasMaxLength(36) |
|
|
.HasMaxLength(36) |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Price") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<decimal>("Qty") |
|
|
b.Property<decimal>("Qty") |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
@ -10071,6 +10316,9 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
b.Property<int>("State") |
|
|
b.Property<int>("State") |
|
|
.HasColumnType("int"); |
|
|
.HasColumnType("int"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("StockQty") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<Guid>("TaskId") |
|
|
b.Property<Guid>("TaskId") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
@ -10091,6 +10339,189 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
b.ToTable("Set_WmsSharePartOutPutDetial"); |
|
|
b.ToTable("Set_WmsSharePartOutPutDetial"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS.WmsWithOutKanbanOutPut", b => |
|
|
|
|
|
{ |
|
|
|
|
|
b.Property<Guid>("Id") |
|
|
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("BillNum") |
|
|
|
|
|
.IsRequired() |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid>("BranchId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
|
|
.IsConcurrencyToken() |
|
|
|
|
|
.HasMaxLength(40) |
|
|
|
|
|
.HasColumnType("nvarchar(40)") |
|
|
|
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreationTime") |
|
|
|
|
|
.HasColumnType("datetime2") |
|
|
|
|
|
.HasColumnName("CreationTime"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Creator") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid?>("CreatorId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
|
|
.HasColumnName("CreatorId"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid?>("DeleterId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
|
|
.HasColumnName("DeleterId"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("DeletionTime") |
|
|
|
|
|
.HasColumnType("datetime2") |
|
|
|
|
|
.HasColumnName("DeletionTime"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Enabled") |
|
|
|
|
|
.HasColumnType("bit"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
|
|
|
.HasColumnType("nvarchar(max)") |
|
|
|
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted") |
|
|
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
|
|
.HasColumnType("bit") |
|
|
|
|
|
.HasDefaultValue(false) |
|
|
|
|
|
.HasColumnName("IsDeleted"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModificationTime") |
|
|
|
|
|
.HasColumnType("datetime2") |
|
|
|
|
|
.HasColumnName("LastModificationTime"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid?>("LastModifierId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
|
|
.HasColumnName("LastModifierId"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Remark") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Version") |
|
|
|
|
|
.IsRequired() |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("BillNum"); |
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Set_WmsWithOutKanbanOutPut"); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS.WmsWithOutKanbanOutPutDetial", b => |
|
|
|
|
|
{ |
|
|
|
|
|
b.Property<Guid>("Id") |
|
|
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Amt") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("BillNum") |
|
|
|
|
|
.IsRequired() |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid>("BranchId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
|
|
.IsConcurrencyToken() |
|
|
|
|
|
.HasMaxLength(40) |
|
|
|
|
|
.HasColumnType("nvarchar(40)") |
|
|
|
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreationTime") |
|
|
|
|
|
.HasColumnType("datetime2") |
|
|
|
|
|
.HasColumnName("CreationTime"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid?>("CreatorId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
|
|
.HasColumnName("CreatorId"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid?>("DeleterId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
|
|
.HasColumnName("DeleterId"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("DeletionTime") |
|
|
|
|
|
.HasColumnType("datetime2") |
|
|
|
|
|
.HasColumnName("DeletionTime"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Enabled") |
|
|
|
|
|
.HasColumnType("bit"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Extend") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
|
|
|
.HasColumnType("nvarchar(max)") |
|
|
|
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("IsBack") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted") |
|
|
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
|
|
.HasColumnType("bit") |
|
|
|
|
|
.HasDefaultValue(false) |
|
|
|
|
|
.HasColumnName("IsDeleted"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModificationTime") |
|
|
|
|
|
.HasColumnType("datetime2") |
|
|
|
|
|
.HasColumnName("LastModificationTime"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid?>("LastModifierId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
|
|
.HasColumnName("LastModifierId"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("MaterialDesc") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("OutputQty") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Price") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Qty") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("RealityNumber") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Remark") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("SapMaterialCode") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("SockQty") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("State") |
|
|
|
|
|
.HasColumnType("int"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Type") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Version") |
|
|
|
|
|
.IsRequired() |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("BillNum"); |
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Set_WmsWithOutKanbanOutPutDetial"); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS_KanBan.WMSKanBanSettle", b => |
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS_KanBan.WMSKanBanSettle", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
|