AdoS0GeneralizedCodeMaster.cs 1.1 KB

12345678910111213141516171819202122232425
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing;
  2. /// <summary>
  3. /// 通用码表(源平台 GeneralizedCodeMaster)。
  4. /// 用于提供 Op/Type 等字段的中文/描述展示(仅查询展示,不作为业务实体入口)。
  5. /// </summary>
  6. [SugarTable("ado_s0_mfg_generalized_code_master", "通用码表")]
  7. public class AdoS0GeneralizedCodeMaster
  8. {
  9. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  10. public long Id { get; set; }
  11. [SugarColumn(ColumnName = "domain", ColumnDescription = "工厂域编码", Length = 50)]
  12. public string Domain { get; set; } = string.Empty;
  13. [SugarColumn(ColumnName = "fld_name", ColumnDescription = "字段名", Length = 100)]
  14. public string FldName { get; set; } = string.Empty;
  15. [SugarColumn(ColumnName = "val", ColumnDescription = "码值", Length = 100)]
  16. public string Val { get; set; } = string.Empty;
  17. [SugarColumn(ColumnName = "comments", ColumnDescription = "描述/注释", Length = 255, IsNullable = true)]
  18. public string? Comments { get; set; }
  19. }