| | |
| | | using Microsoft.EntityFrameworkCore; |
| | | using Volo.Abp; |
| | | using Volo.Abp.EntityFrameworkCore.Modeling; |
| | | using CMS.Plugin.HIAWms.Domain.Shared.Enums; |
| | | |
| | | namespace CMS.Plugin.HIAWms.EntityFrameworkCore.Extensions; |
| | | |
| | |
| | | .HasComment("长度(单位:m)"); |
| | | |
| | | b.Property(x => x.IsMainBranch) |
| | | .HasDefaultValue(false) |
| | | .HasDefaultValue(YesNoEnum.N) |
| | | .HasComment("是否为主支管"); |
| | | |
| | | b.Property(x => x.Factory) |
| | |
| | | b.Property(x => x.Certification) |
| | | .HasMaxLength(128) |
| | | .HasComment("证书编号"); |
| | | b.Property(x => x.MaterialModel) |
| | | .HasMaxLength(128) |
| | | .HasComment("型号"); |
| | | |
| | | // 冗余字段配置 |
| | | b.Property(x => x.RedundantField1) |