| | |
| | | .HasMaxLength(500) |
| | | .HasComment("备注"); |
| | | |
| | | b.Property(x => x.CheckStatus) |
| | | .HasComment("检验状态(1:未检验,2:检验通过,3:检验不通过)"); |
| | | |
| | | // 冗余字段配置 |
| | | b.Property(x => x.RedundantField1) |
| | | .HasMaxLength(256) |
| | | .IsRequired(false) |
| | | .HasComment("冗余字段1 - 预留扩展用途"); |
| | | |
| | | b.Property(x => x.RedundantField2) |
| | | .HasMaxLength(256) |
| | | .IsRequired(false) |
| | | .HasComment("冗余字段2 - 预留扩展用途"); |
| | | |
| | | b.Property(x => x.RedundantField3) |
| | | .HasMaxLength(256) |
| | | .IsRequired(false) |
| | | .HasComment("冗余字段3 - 预留扩展用途"); |
| | | |
| | | b.Property(x => x.IsDisabled) |
| | | .HasComment("是否禁用"); |
| | | |
| | | // 索引配置 |
| | | b.HasIndex(x => x.MaterialNo).IsUnique(); |
| | | b.HasIndex(x => x.MaterialNo); |
| | | b.HasIndex(x => x.MaterialName); |
| | | b.HasIndex(x => x.ContainerNo); |
| | | b.HasIndex(x => x.PlaceNo); |