| | |
| | | b.HasComment("托盘信息表"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("char(36)"); |
| | | |
| | | b.Property<int?>("CheckStatus") |
| | | .HasColumnType("int") |
| | | .HasComment("检验状态(0:未检验,1:检验通过,2:检验不通过)"); |
| | | |
| | | b.Property<string>("ConcurrencyStamp") |
| | | .IsConcurrencyToken() |
| | | .HasMaxLength(40) |
| | | .HasColumnType("varchar(40)") |
| | | .HasColumnName("ConcurrencyStamp"); |
| | | |
| | | b.Property<DateTime>("CreationTime") |
| | | .HasColumnType("datetime(6)") |
| | | .HasColumnName("CreationTime"); |
| | | |
| | | b.Property<Guid?>("CreatorId") |
| | | .HasColumnType("char(36)") |
| | | .HasColumnName("CreatorId"); |
| | | |
| | | b.Property<Guid?>("DeleterId") |
| | | .HasColumnType("char(36)") |
| | | .HasColumnName("DeleterId"); |
| | | |
| | | b.Property<DateTime?>("DeletionTime") |
| | | .HasColumnType("datetime(6)") |
| | | .HasColumnName("DeletionTime"); |
| | | |
| | | b.Property<string>("ExtraProperties") |
| | | .HasColumnType("longtext") |
| | | .HasColumnName("ExtraProperties"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("tinyint(1)") |
| | | .HasDefaultValue(false) |
| | | .HasColumnName("IsDeleted"); |
| | | |
| | | b.Property<bool?>("IsDisabled") |
| | | .HasColumnType("tinyint(1)") |
| | | .HasComment("是否禁用"); |
| | | |
| | | b.Property<DateTime?>("LastModificationTime") |
| | | .HasColumnType("datetime(6)") |
| | | .HasColumnName("LastModificationTime"); |
| | | |
| | | b.Property<Guid?>("LastModifierId") |
| | | .HasColumnType("char(36)") |
| | | .HasColumnName("LastModifierId"); |
| | | |
| | | b.Property<string>("MaterialBatch") |
| | | .HasMaxLength(50) |
| | | .HasColumnType("varchar(50)") |
| | | .HasComment("物料批号"); |
| | | |
| | | b.Property<string>("MaterialId") |
| | | .IsRequired() |
| | | .HasMaxLength(64) |
| | | .HasColumnType("varchar(64)") |
| | | .HasComment("物料唯一码"); |
| | | |
| | | b.Property<string>("MaterialModel") |
| | | .HasMaxLength(50) |
| | | .HasColumnType("varchar(50)") |
| | | .HasComment("机型/规格"); |
| | | |
| | | b.Property<string>("MaterialName") |
| | | .IsRequired() |
| | | .HasMaxLength(100) |
| | | .HasColumnType("varchar(100)") |
| | | .HasComment("物料名称"); |
| | | |
| | | b.Property<string>("MaterialNo") |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnType("varchar(50)") |
| | | .HasComment("物料代号"); |
| | | |
| | | b.Property<string>("RedundantField1") |
| | | .HasMaxLength(255) |
| | | .HasColumnType("varchar(255)") |
| | | .HasComment("冗余字段1"); |
| | | |
| | | b.Property<string>("RedundantField2") |
| | | .HasMaxLength(255) |
| | | .HasColumnType("varchar(255)") |
| | | .HasComment("冗余字段2"); |
| | | |
| | | b.Property<string>("RedundantField3") |
| | | .HasMaxLength(255) |
| | | .HasColumnType("varchar(255)") |
| | | .HasComment("冗余字段3"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasMaxLength(500) |
| | | .HasColumnType("varchar(500)") |
| | | .HasComment("备注"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("int") |
| | | .HasDefaultValue(0) |
| | | .HasComment("排序"); |
| | | |
| | | b.Property<int?>("StockNumber") |
| | | .HasColumnType("int") |
| | | .HasComment("库存数量"); |
| | | |
| | | b.Property<string>("SupplierCode") |
| | | .HasMaxLength(50) |
| | | .HasColumnType("varchar(50)") |
| | | .HasComment("供应商编号"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("CheckStatus"); |
| | | |
| | | b.HasIndex("MaterialBatch"); |
| | | |
| | | b.HasIndex("MaterialId") |
| | | .IsUnique(); |
| | | |
| | | b.HasIndex("MaterialName"); |
| | | |
| | | b.HasIndex("MaterialNo") |
| | | .IsUnique(); |
| | | |
| | | b.HasIndex("SupplierCode"); |
| | | |
| | | b.ToTable("scms_wmsmaterialinfos", (string)null); |
| | | |
| | | b.HasComment("WMS物料信息表"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | |
| | | .HasColumnType("varchar(64)") |
| | | .HasComment("物料编码(唯一标识)"); |
| | | |
| | | b.Property<string>("MaterialModel") |
| | | .HasMaxLength(128) |
| | | .HasColumnType("varchar(128)") |
| | | .HasComment("型号"); |
| | | |
| | | b.Property<string>("MaterialName") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | |
| | | b.HasComment("物料基础信息表"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("char(36)"); |
| | | |
| | | b.Property<string>("AreaCode") |
| | | .HasMaxLength(64) |
| | | .HasColumnType("varchar(64)") |
| | | .HasComment("区域编号"); |
| | | |
| | | b.Property<string>("AreaName") |
| | | .HasMaxLength(128) |
| | | .HasColumnType("varchar(128)") |
| | | .HasComment("库区名称"); |
| | | |
| | | b.Property<int?>("CheckStatus") |
| | | .HasColumnType("int") |
| | | .HasComment("检验状态(1:未检验,2:检验通过,3:检验不通过)"); |
| | | |
| | | b.Property<string>("ConcurrencyStamp") |
| | | .IsConcurrencyToken() |
| | | .HasMaxLength(40) |
| | | .HasColumnType("varchar(40)") |
| | | .HasColumnName("ConcurrencyStamp"); |
| | | |
| | | b.Property<string>("ContainerNo") |
| | | .HasMaxLength(64) |
| | | .HasColumnType("varchar(64)") |
| | | .HasComment("容器编号"); |
| | | |
| | | b.Property<int>("ContainerStatus") |
| | | .HasColumnType("int") |
| | | .HasComment("容器状态"); |
| | | |
| | | b.Property<int>("ContainerType") |
| | | .HasColumnType("int") |
| | | .HasComment("容器类型"); |
| | | |
| | | b.Property<DateTime>("CreationTime") |
| | | .HasColumnType("datetime(6)") |
| | | .HasColumnName("CreationTime"); |
| | | |
| | | b.Property<Guid?>("CreatorId") |
| | | .HasColumnType("char(36)") |
| | | .HasColumnName("CreatorId"); |
| | | |
| | | b.Property<Guid?>("DeleterId") |
| | | .HasColumnType("char(36)") |
| | | .HasColumnName("DeleterId"); |
| | | |
| | | b.Property<DateTime?>("DeletionTime") |
| | | .HasColumnType("datetime(6)") |
| | | .HasColumnName("DeletionTime"); |
| | | |
| | | b.Property<int>("EmptyContainer") |
| | | .HasColumnType("int") |
| | | .HasComment("是否空托(2:否,1:是)"); |
| | | |
| | | b.Property<string>("ExtraProperties") |
| | | .HasColumnType("longtext") |
| | | .HasColumnName("ExtraProperties"); |
| | | |
| | | b.Property<DateTime?>("InStockTime") |
| | | .HasColumnType("datetime(6)") |
| | | .HasComment("入库时间"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("tinyint(1)") |
| | | .HasDefaultValue(false) |
| | | .HasColumnName("IsDeleted"); |
| | | |
| | | b.Property<bool?>("IsDisabled") |
| | | .HasColumnType("tinyint(1)") |
| | | .HasComment("是否禁用"); |
| | | |
| | | b.Property<int>("IsLock") |
| | | .HasColumnType("int") |
| | | .HasComment("是否锁定(2:未锁定,1:已锁定)"); |
| | | |
| | | b.Property<DateTime?>("LastModificationTime") |
| | | .HasColumnType("datetime(6)") |
| | | .HasColumnName("LastModificationTime"); |
| | | |
| | | b.Property<Guid?>("LastModifierId") |
| | | .HasColumnType("char(36)") |
| | | .HasColumnName("LastModifierId"); |
| | | |
| | | b.Property<string>("MaterialBatch") |
| | | .HasMaxLength(64) |
| | | .HasColumnType("varchar(64)") |
| | | .HasComment("物料批次"); |
| | | |
| | | b.Property<string>("MaterialId") |
| | | .IsRequired() |
| | | .HasMaxLength(64) |
| | | .HasColumnType("varchar(64)") |
| | | .HasComment("物料ID"); |
| | | |
| | | b.Property<string>("MaterialModel") |
| | | .HasMaxLength(128) |
| | | .HasColumnType("varchar(128)") |
| | | .HasComment("机型/规格"); |
| | | |
| | | b.Property<string>("MaterialName") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("varchar(128)") |
| | | .HasComment("物料名称"); |
| | | |
| | | b.Property<string>("MaterialNo") |
| | | .IsRequired() |
| | | .HasMaxLength(64) |
| | | .HasColumnType("varchar(64)") |
| | | .HasComment("物料编号"); |
| | | |
| | | b.Property<string>("PlaceNo") |
| | | .HasMaxLength(64) |
| | | .HasColumnType("varchar(64)") |
| | | .HasComment("库位编号"); |
| | | |
| | | b.Property<int>("PlaceStatus") |
| | | .HasColumnType("int") |
| | | .HasComment("库位状态;"); |
| | | |
| | | b.Property<string>("RedundantField1") |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("冗余字段1 - 预留扩展用途"); |
| | | |
| | | b.Property<string>("RedundantField2") |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("冗余字段2 - 预留扩展用途"); |
| | | |
| | | b.Property<string>("RedundantField3") |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("冗余字段3 - 预留扩展用途"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasMaxLength(500) |
| | | .HasColumnType("varchar(500)") |
| | | .HasComment("备注"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("int") |
| | | .HasDefaultValue(0) |
| | | .HasComment("排序"); |
| | | |
| | | b.Property<int>("StockNumber") |
| | | .HasColumnType("int") |
| | | .HasComment("库存数量"); |
| | | |
| | | b.Property<int>("StorageTypeNo") |
| | | .HasColumnType("int") |
| | | .HasComment("库位类型"); |
| | | |
| | | b.Property<string>("SupplierCode") |
| | | .HasMaxLength(64) |
| | | .HasColumnType("varchar(64)") |
| | | .HasComment("供应商编号"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("AreaCode"); |
| | | |
| | | b.HasIndex("ContainerNo"); |
| | | |
| | | b.HasIndex("MaterialName"); |
| | | |
| | | b.HasIndex("MaterialNo") |
| | | .IsUnique(); |
| | | |
| | | b.HasIndex("PlaceNo"); |
| | | |
| | | b.HasIndex("MaterialBatch", "SupplierCode"); |
| | | |
| | | b.ToTable("scms_wmsmaterialstocks", (string)null); |
| | | |
| | | b.HasComment("WMS物料库存表"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b => |
| | | { |
| | | b.Property<Guid>("Id") |