//
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Volo.Abp.EntityFrameworkCore;
using Win_in.Sfs.Wms.Job.EntityFrameworkCore;
namespace Win_in.Sfs.Wms.Job.Migrations
{
[DbContext(typeof(JobHttpApiHostMigrationsDbContext))]
[Migration("20220523100600_putjobsource")]
partial class putjobsource
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("Relational:MaxIdentifierLength", 128)
.HasAnnotation("ProductVersion", "5.0.17")
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
modelBuilder.Entity("Win_in.Sfs.Wms.Job.Domain.CheckJob", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property("AcceptTime")
.HasColumnType("datetime2");
b.Property("AcceptUserId")
.HasColumnType("uniqueidentifier");
b.Property("AcceptUserName")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Company")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)")
.HasColumnName("Company");
b.Property("CompleteTime")
.HasColumnType("datetime2");
b.Property("CompleteUserId")
.HasColumnType("uniqueidentifier");
b.Property("CompleteUserName")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime2")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property("DeliverNoteNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
b.Property("IsAutoComplete")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property("JobDescription")
.HasMaxLength(1024)
.HasColumnType("nvarchar(1024)");
b.Property("JobStatus")
.HasColumnType("int");
b.Property("JobType")
.HasColumnType("int");
b.Property("LastModificationTime")
.HasColumnType("datetime2")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
b.Property("Number")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Priority")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("PriorityIncrement")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Remark")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)")
.HasColumnName("Remark");
b.Property("TenantId")
.HasColumnType("uniqueidentifier")
.HasColumnName("TenantId");
b.Property("UpStreamJobNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("WarehouseCode")
.HasColumnType("nvarchar(max)");
b.Property("WorkGroupCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Worker")
.HasColumnType("nvarchar(max)");
b.HasKey("Id");
b.HasIndex("Company", "Number")
.IsUnique();
b.ToTable("JobCheckJob");
});
modelBuilder.Entity("Win_in.Sfs.Wms.Job.Domain.CheckJobDetail", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property("ContainerCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("CreationTime")
.HasColumnType("datetime2")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property("CustomerItemCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ItemCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("LastModificationTime")
.HasColumnType("datetime2")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
b.Property("LocationCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Lot")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("MasterID")
.HasColumnType("uniqueidentifier");
b.Property("Number")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Order")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("PackingCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Remark")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)")
.HasColumnName("Remark");
b.Property("Status")
.HasColumnType("int");
b.Property("TenantId")
.HasColumnType("uniqueidentifier")
.HasColumnName("TenantId");
b.Property("WarehouseCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.HasKey("Id");
b.HasIndex("MasterID");
b.ToTable("JobCheckJobDetail");
});
modelBuilder.Entity("Win_in.Sfs.Wms.Job.Domain.CountJob", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property("AcceptTime")
.HasColumnType("datetime2");
b.Property("AcceptUserId")
.HasColumnType("uniqueidentifier");
b.Property("AcceptUserName")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Company")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)")
.HasColumnName("Company");
b.Property("CompleteTime")
.HasColumnType("datetime2");
b.Property("CompleteUserId")
.HasColumnType("uniqueidentifier");
b.Property("CompleteUserName")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CountPlanNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("CountStage")
.HasColumnType("int");
b.Property("CreationTime")
.HasColumnType("datetime2")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
b.Property("IsAutoComplete")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property("JobDescription")
.HasMaxLength(1024)
.HasColumnType("nvarchar(1024)");
b.Property("JobStatus")
.HasColumnType("int");
b.Property("JobType")
.HasColumnType("int");
b.Property("LastModificationTime")
.HasColumnType("datetime2")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
b.Property("Number")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Priority")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("PriorityIncrement")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Remark")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)")
.HasColumnName("Remark");
b.Property("TenantId")
.HasColumnType("uniqueidentifier")
.HasColumnName("TenantId");
b.Property("UpStreamJobNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("WarehouseCode")
.HasColumnType("nvarchar(max)");
b.Property("WorkGroupCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Worker")
.HasColumnType("nvarchar(max)");
b.HasKey("Id");
b.HasIndex("Company", "Number")
.IsUnique();
b.ToTable("JobCountJob");
});
modelBuilder.Entity("Win_in.Sfs.Wms.Job.Domain.CountJobDetail", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property("ContainerCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("CountLabel")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("CreationTime")
.HasColumnType("datetime2")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property("ItemCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("LastModificationTime")
.HasColumnType("datetime2")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
b.Property("LocationCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Lot")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("MasterID")
.HasColumnType("uniqueidentifier");
b.Property("Number")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("PackingCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Remark")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)")
.HasColumnName("Remark");
b.Property("Status")
.HasColumnType("int");
b.Property("TenantId")
.HasColumnType("uniqueidentifier")
.HasColumnName("TenantId");
b.Property("WarehouseCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.HasKey("Id");
b.HasIndex("MasterID");
b.ToTable("JobCountJobDetail");
});
modelBuilder.Entity("Win_in.Sfs.Wms.Job.Domain.DeliverJob", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property("AcceptTime")
.HasColumnType("datetime2");
b.Property("AcceptUserId")
.HasColumnType("uniqueidentifier");
b.Property("AcceptUserName")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Company")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)")
.HasColumnName("Company");
b.Property("CompleteTime")
.HasColumnType("datetime2");
b.Property("CompleteUserId")
.HasColumnType("uniqueidentifier");
b.Property("CompleteUserName")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime2")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property("Customer")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("CustomerAddressCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("DeliverRequestNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
b.Property("IsAutoComplete")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property("JobDescription")
.HasMaxLength(1024)
.HasColumnType("nvarchar(1024)");
b.Property("JobStatus")
.HasColumnType("int");
b.Property("JobType")
.HasColumnType("int");
b.Property("LastModificationTime")
.HasColumnType("datetime2")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
b.Property("Number")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Priority")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("PriorityIncrement")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Remark")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)")
.HasColumnName("Remark");
b.Property("TenantId")
.HasColumnType("uniqueidentifier")
.HasColumnName("TenantId");
b.Property("UpStreamJobNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("WarehouseCode")
.HasColumnType("nvarchar(max)");
b.Property("WorkGroupCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Worker")
.HasColumnType("nvarchar(max)");
b.HasKey("Id");
b.HasIndex("Number", "Company")
.IsUnique();
b.ToTable("JobDeliverJob");
});
modelBuilder.Entity("Win_in.Sfs.Wms.Job.Domain.DeliverJobDetail", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property("CreationTime")
.HasColumnType("datetime2")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property("ExpiredTime")
.HasColumnType("datetime2");
b.Property("FromContainerCode")
.HasColumnType("nvarchar(max)");
b.Property("FromLocationCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("FromLot")
.HasColumnType("nvarchar(max)");
b.Property("FromPackingCode")
.HasColumnType("nvarchar(max)");
b.Property("FromStatus")
.HasColumnType("int");
b.Property("FromWarehouseCode")
.HasColumnType("nvarchar(max)");
b.Property("HandledContainerCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("HandledLocationCode")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)");
b.Property("HandledLot")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)");
b.Property("HandledPackingCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ItemCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("LastModificationTime")
.HasColumnType("datetime2")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
b.Property("MasterID")
.HasColumnType("uniqueidentifier");
b.Property("Number")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("RecommendContainerCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("RecommendLocationCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("RecommendLot")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("RecommendPackingCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Remark")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)")
.HasColumnName("Remark");
b.Property("Status")
.HasColumnType("int");
b.Property("TenantId")
.HasColumnType("uniqueidentifier")
.HasColumnName("TenantId");
b.Property("ToContainerCode")
.HasColumnType("nvarchar(max)");
b.Property("ToLocationCode")
.HasColumnType("nvarchar(max)");
b.Property("ToLot")
.HasColumnType("nvarchar(max)");
b.Property("ToPackingCode")
.HasColumnType("nvarchar(max)");
b.Property("ToStatus")
.HasColumnType("int");
b.Property("ToWarehouseCode")
.HasColumnType("nvarchar(max)");
b.Property("WarehouseCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.HasKey("Id");
b.HasIndex("MasterID");
b.ToTable("JobDeliverJobDetail");
});
modelBuilder.Entity("Win_in.Sfs.Wms.Job.Domain.InspectJob", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property("AcceptTime")
.HasColumnType("datetime2");
b.Property("AcceptUserId")
.HasColumnType("uniqueidentifier");
b.Property("AcceptUserName")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ArriveNoticeNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("AsnNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Company")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)")
.HasColumnName("Company");
b.Property("CompleteTime")
.HasColumnType("datetime2");
b.Property("CompleteUserId")
.HasColumnType("uniqueidentifier");
b.Property("CompleteUserName")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime2")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
b.Property("InspectNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("IsAutoComplete")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property("JobDescription")
.HasMaxLength(1024)
.HasColumnType("nvarchar(1024)");
b.Property("JobStatus")
.HasColumnType("int");
b.Property("JobType")
.HasColumnType("int");
b.Property("LastModificationTime")
.HasColumnType("datetime2")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
b.Property("NextAction")
.HasColumnType("int");
b.Property("Number")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("PoNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Priority")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("PriorityIncrement")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ReceiptNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Remark")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)")
.HasColumnName("Remark");
b.Property("RpNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("SupplierCode")
.HasColumnType("nvarchar(max)");
b.Property("TenantId")
.HasColumnType("uniqueidentifier")
.HasColumnName("TenantId");
b.Property("UpStreamJobNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("WarehouseCode")
.HasColumnType("nvarchar(max)");
b.Property("WorkGroupCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Worker")
.HasColumnType("nvarchar(max)");
b.HasKey("Id");
b.HasIndex("Company", "Number")
.IsUnique();
b.ToTable("JobInspectJob");
});
modelBuilder.Entity("Win_in.Sfs.Wms.Job.Domain.InspectJobDetail", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property("CrackQty")
.ValueGeneratedOnAdd()
.HasColumnType("decimal(18,2)")
.HasDefaultValue(0m);
b.Property("CreationTime")
.HasColumnType("datetime2")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property("FailedQty")
.ValueGeneratedOnAdd()
.HasColumnType("decimal(18,2)")
.HasDefaultValue(0m);
b.Property("FailedReason")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("GoodQty")
.ValueGeneratedOnAdd()
.HasColumnType("decimal(18,2)")
.HasDefaultValue(0m);
b.Property("HandledContainerCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("HandledLocationCode")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)");
b.Property("HandledLot")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)");
b.Property("HandledPackingCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("InspectQty")
.HasColumnType("decimal(18,2)");
b.Property("InspectType")
.HasColumnType("int");
b.Property("ItemCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("LastModificationTime")
.HasColumnType("datetime2")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
b.Property("MasterID")
.HasColumnType("uniqueidentifier");
b.Property("NotPassedQty")
.ValueGeneratedOnAdd()
.HasColumnType("decimal(18,2)")
.HasDefaultValue(0m);
b.Property("Number")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("PoLine")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("PoNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("RecommendContainerCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("RecommendLocationCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("RecommendLot")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("RecommendPackingCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Remark")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)")
.HasColumnName("Remark");
b.Property("SamplePercent")
.HasColumnType("decimal(18,2)");
b.Property("Status")
.HasColumnType("int");
b.Property("TenantId")
.HasColumnType("uniqueidentifier")
.HasColumnName("TenantId");
b.Property("WarehouseCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.HasKey("Id");
b.HasIndex("MasterID");
b.ToTable("JobInspectJobDetail");
});
modelBuilder.Entity("Win_in.Sfs.Wms.Job.Domain.InspectJobSummaryDetail", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property("CrackQty")
.ValueGeneratedOnAdd()
.HasColumnType("decimal(18,2)")
.HasDefaultValue(0m);
b.Property("CreationTime")
.HasColumnType("datetime2")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property("FailedQty")
.ValueGeneratedOnAdd()
.HasColumnType("decimal(18,2)")
.HasDefaultValue(0m);
b.Property("FailedReason")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("GoodQty")
.ValueGeneratedOnAdd()
.HasColumnType("decimal(18,2)")
.HasDefaultValue(0m);
b.Property("HandledContainerCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("HandledLocationCode")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)");
b.Property("HandledLot")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)");
b.Property("HandledPackingCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("InspectQty")
.HasColumnType("decimal(18,2)");
b.Property("InspectType")
.HasColumnType("int");
b.Property("ItemCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("LastModificationTime")
.HasColumnType("datetime2")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
b.Property("MasterID")
.HasColumnType("uniqueidentifier");
b.Property("NotPassedQty")
.ValueGeneratedOnAdd()
.HasColumnType("decimal(18,2)")
.HasDefaultValue(0m);
b.Property("Number")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("PoLine")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("PoNumber")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("RecommendContainerCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("RecommendLocationCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("RecommendLot")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("RecommendPackingCode")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Remark")
.HasMaxLength(4096)
.HasColumnType("nvarchar(max)")
.HasColumnName("Remark");
b.Property("SamplePercent")
.HasColumnType("decimal(18,2)");
b.Property("Status")
.HasColumnType("int");
b.Property("TenantId")
.HasColumnType("uniqueidentifier")
.HasColumnName("TenantId");
b.Property("WarehouseCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.HasKey("Id");
b.HasIndex("MasterID");
b.ToTable("JobInspectJobSummaryDetail");
});
modelBuilder.Entity("Win_in.Sfs.Wms.Job.Domain.IssueJob", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property("AcceptTime")
.HasColumnType("datetime2");
b.Property("AcceptUserId")
.HasColumnType("uniqueidentifier");
b.Property("AcceptUserName")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property