|
@ -5303,6 +5303,92 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
b.ToTable("Set_PriceList"); |
|
|
b.ToTable("Set_PriceList"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.Prices.PriceListBJ", b => |
|
|
|
|
|
{ |
|
|
|
|
|
b.Property<Guid>("Id") |
|
|
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("BeginDate") |
|
|
|
|
|
.HasColumnType("datetime2"); |
|
|
|
|
|
|
|
|
|
|
|
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<string>("CustomerCode") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid?>("DeleterId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier") |
|
|
|
|
|
.HasColumnName("DeleterId"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("DeletionTime") |
|
|
|
|
|
.HasColumnType("datetime2") |
|
|
|
|
|
.HasColumnName("DeletionTime"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Enabled") |
|
|
|
|
|
.HasColumnType("bit"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("EndDate") |
|
|
|
|
|
.HasColumnType("datetime2"); |
|
|
|
|
|
|
|
|
|
|
|
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>("MaterialCode") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid>("ParentId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Price") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Remark") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Type") |
|
|
|
|
|
.HasColumnType("int"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Version") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Set_PriceListBJ"); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.Prices.PriceListVersion", b => |
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.Prices.PriceListVersion", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
@ -5379,6 +5465,82 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
b.ToTable("Set_PriceListVersion"); |
|
|
b.ToTable("Set_PriceListVersion"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.Prices.PriceListVersionBJ", b => |
|
|
|
|
|
{ |
|
|
|
|
|
b.Property<Guid>("Id") |
|
|
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
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>("ExtraProperties") |
|
|
|
|
|
.HasColumnType("nvarchar(max)") |
|
|
|
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Factory") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
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>("Period") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Remark") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Version") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Year") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Set_PriceListVersionBJ"); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.SecMatch.SecMatchBase", b => |
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.SecMatch.SecMatchBase", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
@ -8487,6 +8649,9 @@ 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)"); |
|
@ -8888,6 +9053,9 @@ 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)"); |
|
@ -8923,7 +9091,7 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.IsUnique() |
|
|
.IsUnique() |
|
|
.HasFilter("IsDeleted=0"); |
|
|
.HasFilter("IsDeleted=0"); |
|
|
|
|
|
|
|
|
b.ToTable("Set_WmsHQMSharePartOutPutDetial"); |
|
|
b.ToTable("Set_WmsHQHSharePartOutPutDetial"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS.WmsHQMKanbanOutPut", b => |
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS.WmsHQMKanbanOutPut", b => |
|
@ -9200,6 +9368,132 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
b.ToTable("Set_WmsHQMSharePartOutPut"); |
|
|
b.ToTable("Set_WmsHQMSharePartOutPut"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS.WmsHQMSharePartOutPutDetial", 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<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>("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("Version"); |
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Set_WmsHQMSharePartOutPutDetial"); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS.WmsJitOutPut", b => |
|
|
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.WMS.WmsJitOutPut", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
@ -9803,10 +10097,6 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.ValueGeneratedOnAdd() |
|
|
.ValueGeneratedOnAdd() |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
b.Property<string>("Batch") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid>("BranchId") |
|
|
b.Property<Guid>("BranchId") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
@ -9838,21 +10128,10 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
b.Property<bool>("Enabled") |
|
|
b.Property<bool>("Enabled") |
|
|
.HasColumnType("bit"); |
|
|
.HasColumnType("bit"); |
|
|
|
|
|
|
|
|
b.Property<string>("Extend") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
b.Property<string>("ExtraProperties") |
|
|
.HasColumnType("nvarchar(max)") |
|
|
.HasColumnType("nvarchar(max)") |
|
|
.HasColumnName("ExtraProperties"); |
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
|
b.Property<string>("Factory") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Flag") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted") |
|
|
b.Property<bool>("IsDeleted") |
|
|
.ValueGeneratedOnAdd() |
|
|
.ValueGeneratedOnAdd() |
|
|
.HasColumnType("bit") |
|
|
.HasColumnType("bit") |
|
@ -9877,19 +10156,10 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.HasMaxLength(150) |
|
|
.HasMaxLength(150) |
|
|
.HasColumnType("nvarchar(150)"); |
|
|
.HasColumnType("nvarchar(150)"); |
|
|
|
|
|
|
|
|
b.Property<Guid>("ParentId") |
|
|
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("PartType") |
|
|
b.Property<string>("PartType") |
|
|
.HasMaxLength(50) |
|
|
.HasMaxLength(50) |
|
|
.HasColumnType("nvarchar(50)"); |
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
b.Property<string>("Period") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Qty") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Relation") |
|
|
b.Property<string>("Relation") |
|
|
.HasMaxLength(100) |
|
|
.HasMaxLength(100) |
|
|
.HasColumnType("nvarchar(100)"); |
|
|
.HasColumnType("nvarchar(100)"); |
|
@ -9897,27 +10167,11 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
b.Property<string>("Remark") |
|
|
b.Property<string>("Remark") |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
b.Property<DateTime>("SettleDate") |
|
|
|
|
|
.HasColumnType("datetime2"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("SettleInputDate") |
|
|
|
|
|
.HasColumnType("datetime2"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("State") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("SupplierCode") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Version") |
|
|
b.Property<string>("Version") |
|
|
.HasColumnType("nvarchar(450)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("WMSActualGoodsDate") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
b.Property<string>("WMSDeliverGoodsState") |
|
|
b.Property<DateTime>("WMSActualGoodsDate") |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
.HasColumnType("datetime2"); |
|
|
|
|
|
|
|
|
b.Property<string>("WMSDeliveryNote") |
|
|
b.Property<string>("WMSDeliveryNote") |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
.HasColumnType("nvarchar(max)"); |
|
@ -9925,18 +10179,8 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
b.Property<decimal>("WMSDeliveryQty") |
|
|
b.Property<decimal>("WMSDeliveryQty") |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
b.Property<string>("WMSKanBanState") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Year") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
|
b.HasIndex("Version", "Kanban", "MaterialCode") |
|
|
|
|
|
.IsUnique() |
|
|
|
|
|
.HasFilter("IsDeleted=0"); |
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Set_WMSKanBanSettle"); |
|
|
b.ToTable("Set_WMSKanBanSettle"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
@ -10029,17 +10273,6 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.ValueGeneratedOnAdd() |
|
|
.ValueGeneratedOnAdd() |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
|
b.Property<string>("AccountNum") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("AmountNoTax") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("BatchNo") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid>("BranchId") |
|
|
b.Property<Guid>("BranchId") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
@ -10065,41 +10298,13 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.HasColumnType("datetime2") |
|
|
.HasColumnType("datetime2") |
|
|
.HasColumnName("DeletionTime"); |
|
|
.HasColumnName("DeletionTime"); |
|
|
|
|
|
|
|
|
b.Property<string>("DeliveryLineNum") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("DeliveryOrderNo") |
|
|
|
|
|
.IsRequired() |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Enabled") |
|
|
b.Property<bool>("Enabled") |
|
|
.HasColumnType("bit"); |
|
|
.HasColumnType("bit"); |
|
|
|
|
|
|
|
|
b.Property<string>("Extend") |
|
|
|
|
|
.HasMaxLength(250) |
|
|
|
|
|
.HasColumnType("nvarchar(250)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
b.Property<string>("ExtraProperties") |
|
|
.HasColumnType("nvarchar(max)") |
|
|
.HasColumnType("nvarchar(max)") |
|
|
.HasColumnName("ExtraProperties"); |
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
|
b.Property<string>("Factory") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("FactoryName") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("GermanInvoiceNo") |
|
|
|
|
|
.HasMaxLength(100) |
|
|
|
|
|
.HasColumnType("nvarchar(100)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("InvoicedQty") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted") |
|
|
b.Property<bool>("IsDeleted") |
|
|
.ValueGeneratedOnAdd() |
|
|
.ValueGeneratedOnAdd() |
|
|
.HasColumnType("bit") |
|
|
.HasColumnType("bit") |
|
@ -10114,9 +10319,8 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnName("LastModifierId"); |
|
|
.HasColumnName("LastModifierId"); |
|
|
|
|
|
|
|
|
b.Property<string>("LineNumber") |
|
|
b.Property<string>("MainFactory") |
|
|
.HasMaxLength(50) |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("MaterialCode") |
|
|
b.Property<string>("MaterialCode") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
@ -10124,32 +10328,14 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
.HasColumnType("nvarchar(150)"); |
|
|
.HasColumnType("nvarchar(150)"); |
|
|
|
|
|
|
|
|
b.Property<string>("MaterialDesc") |
|
|
b.Property<string>("MaterialDesc") |
|
|
.HasMaxLength(50) |
|
|
.HasMaxLength(500) |
|
|
.HasColumnType("nvarchar(50)"); |
|
|
.HasColumnType("nvarchar(500)"); |
|
|
|
|
|
|
|
|
b.Property<string>("Period") |
|
|
b.Property<string>("MaterialGroup") |
|
|
.HasMaxLength(36) |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("PurchaseOrderNo") |
|
|
b.Property<string>("PurchaseOrderNo") |
|
|
.IsRequired() |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("PurchaseOrderNoItem") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("PurchaseOrderNoText") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("PurchasePriceNoTax") |
|
|
|
|
|
.HasColumnType("decimal(18,2)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("PurchaseType") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("ReceiptQty") |
|
|
b.Property<decimal>("ReceiptQty") |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
.HasColumnType("decimal(18,2)"); |
|
@ -10157,42 +10343,21 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
b.Property<string>("Remark") |
|
|
b.Property<string>("Remark") |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
b.Property<DateTime>("SpareDate") |
|
|
b.Property<string>("SapCode") |
|
|
.HasColumnType("datetime2"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("TaxCode") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
b.Property<decimal>("TaxRate") |
|
|
b.Property<DateTime>("SpareDate") |
|
|
.HasColumnType("decimal(18,2)"); |
|
|
.HasColumnType("datetime2"); |
|
|
|
|
|
|
|
|
b.Property<string>("Unit") |
|
|
|
|
|
.HasMaxLength(50) |
|
|
|
|
|
.HasColumnType("nvarchar(50)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Version") |
|
|
b.Property<string>("Version") |
|
|
.HasMaxLength(36) |
|
|
.HasMaxLength(36) |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
b.Property<string>("WMSDeliverGoodsState") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("WMSDeliveryNote") |
|
|
b.Property<string>("WMSDeliveryNote") |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
b.Property<string>("WMSSparePartState") |
|
|
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Year") |
|
|
|
|
|
.HasMaxLength(36) |
|
|
|
|
|
.HasColumnType("nvarchar(36)"); |
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
|
b.HasIndex("Version", "PurchaseOrderNo", "MaterialCode") |
|
|
|
|
|
.IsUnique() |
|
|
|
|
|
.HasFilter("IsDeleted=0"); |
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Set_WMSSparePart"); |
|
|
b.ToTable("Set_WMSSparePart"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|