| | |
| | | .HasAnnotation("ProductVersion", "6.0.16") |
| | | .HasAnnotation("Relational:MaxIdentifierLength", 64); |
| | | |
| | | modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.MaterialType.WmsMaterialType", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("char(36)"); |
| | | |
| | | b.Property<string>("ConcurrencyStamp") |
| | | .IsConcurrencyToken() |
| | | .HasMaxLength(40) |
| | | .HasColumnType("varchar(40)") |
| | | .HasColumnName("ConcurrencyStamp"); |
| | | |
| | | b.Property<DateTime>("CreationTime") |
| | | .HasColumnType("datetime(6)") |
| | | .HasColumnName("CreationTime") |
| | | .HasComment("创建时间"); |
| | | |
| | | b.Property<Guid?>("CreatorId") |
| | | .HasColumnType("char(36)") |
| | | .HasColumnName("CreatorId") |
| | | .HasComment("创建人ID"); |
| | | |
| | | b.Property<string>("CreatorName") |
| | | .HasColumnType("longtext"); |
| | | |
| | | b.Property<string>("DeleteRemark") |
| | | .HasColumnType("longtext"); |
| | | |
| | | b.Property<Guid?>("DeleterId") |
| | | .HasColumnType("char(36)") |
| | | .HasColumnName("DeleterId") |
| | | .HasComment("删除人ID"); |
| | | |
| | | b.Property<DateTime?>("DeletionTime") |
| | | .HasColumnType("datetime(6)") |
| | | .HasColumnName("DeletionTime") |
| | | .HasComment("删除时间"); |
| | | |
| | | b.Property<string>("ExtraField1") |
| | | .HasColumnType("longtext"); |
| | | |
| | | b.Property<string>("ExtraField2") |
| | | .HasColumnType("longtext"); |
| | | |
| | | b.Property<string>("ExtraField3") |
| | | .HasColumnType("longtext"); |
| | | |
| | | b.Property<string>("ExtraProperties") |
| | | .HasColumnType("longtext") |
| | | .HasColumnName("ExtraProperties"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("tinyint(1)") |
| | | .HasDefaultValue(false) |
| | | .HasColumnName("IsDeleted") |
| | | .HasComment("是否已删除"); |
| | | |
| | | b.Property<bool?>("IsDisabled") |
| | | .HasColumnType("tinyint(1)"); |
| | | |
| | | b.Property<DateTime?>("LastModificationTime") |
| | | .HasColumnType("datetime(6)") |
| | | .HasColumnName("LastModificationTime") |
| | | .HasComment("最后修改时间"); |
| | | |
| | | b.Property<Guid?>("LastModifierId") |
| | | .HasColumnType("char(36)") |
| | | .HasColumnName("LastModifierId") |
| | | .HasComment("最后修改人ID"); |
| | | |
| | | b.Property<string>("LastModifierName") |
| | | .HasColumnType("longtext"); |
| | | |
| | | b.Property<string>("MaterialTypeCode") |
| | | .IsRequired() |
| | | .HasMaxLength(64) |
| | | .HasColumnType("varchar(64)") |
| | | .HasComment("类型编码"); |
| | | |
| | | b.Property<string>("MaterialTypeDesc") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("varchar(128)") |
| | | .HasComment("类型描述"); |
| | | |
| | | b.Property<string>("OperationRemark") |
| | | .HasColumnType("longtext"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasMaxLength(50) |
| | | .HasColumnType("varchar(50)") |
| | | .HasComment("备注"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("MaterialTypeCode") |
| | | .IsUnique(); |
| | | |
| | | b.HasIndex("MaterialTypeDesc"); |
| | | |
| | | b.ToTable("scms_wmsmaterialtype", (string)null); |
| | | |
| | | b.HasComment("物料类型表"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | |
| | | .HasColumnType("varchar(64)") |
| | | .HasComment("材质(如:304不锈钢)"); |
| | | |
| | | b.Property<int>("MaterialType") |
| | | .HasColumnType("int") |
| | | .HasComment("物料类型(枚举值)"); |
| | | b.Property<string>("MaterialTypeCode") |
| | | .HasMaxLength(20) |
| | | .HasColumnType("varchar(20)") |
| | | .HasComment("物料类型编码"); |
| | | |
| | | b.Property<string>("MaterialTypeDesc") |
| | | .HasMaxLength(20) |
| | | .HasColumnType("varchar(20)") |
| | | .HasComment("物料类型"); |
| | | |
| | | b.Property<decimal>("OuterDiameter") |
| | | .HasColumnType("decimal(18,2)") |
| | |
| | | b.HasIndex("MaterialNo") |
| | | .IsUnique(); |
| | | |
| | | b.HasIndex("MaterialType"); |
| | | b.HasIndex("MaterialTypeCode"); |
| | | |
| | | b.HasIndex("PurchaseType"); |
| | | |
| | |
| | | .HasDefaultValue(false) |
| | | .HasColumnName("IsDeleted"); |
| | | |
| | | b.Property<bool?>("IsDisabled") |
| | | b.Property<bool>("IsDisabled") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("tinyint(1)") |
| | | .HasDefaultValue(false) |
| | | .HasComment("是否禁用"); |
| | | |
| | | b.Property<int>("Islock") |