AdoS0LineSkillMaster.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing;
  2. /// <summary>
  3. /// 产线岗位维护(源平台 LineSkillMaster 语义,头表)。
  4. /// </summary>
  5. [SugarTable("LineSkillMaster", "产线岗位主表")]
  6. [SugarIndex("uk_LineSkillMaster_domain_job", nameof(Domain), OrderByType.Asc, nameof(JOBNo), OrderByType.Asc, IsUnique = true)]
  7. public class AdoS0LineSkillMaster
  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 = "prod_line", ColumnDescription = "生产线编码", Length = 100)]
  14. public string ProdLine { get; set; } = string.Empty;
  15. [SugarColumn(ColumnName = "job_no", ColumnDescription = "岗位编码", Length = 100)]
  16. public string JOBNo { get; set; } = string.Empty;
  17. [SugarColumn(ColumnName = "job_descr", ColumnDescription = "岗位描述", Length = 255, IsNullable = true)]
  18. public string? JOBDescr { get; set; }
  19. [SugarColumn(ColumnName = "create_user", ColumnDescription = "创建人", Length = 64, IsNullable = true)]
  20. public string? CreateUser { get; set; }
  21. [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间", IsNullable = true)]
  22. public DateTime? CreateTime { get; set; }
  23. [SugarColumn(ColumnName = "update_user", ColumnDescription = "更新人", Length = 64, IsNullable = true)]
  24. public string? UpdateUser { get; set; }
  25. [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)]
  26. public DateTime? UpdateTime { get; set; }
  27. }