AdoS0LineSkillDetail.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing;
  2. /// <summary>
  3. /// 产线岗位技能明细(子表)。源平台子表结构待确认;当前以“岗位→人员技能主数据引用”占位实现。
  4. /// </summary>
  5. [SugarTable("LineSkillDetail", "产线岗位技能明细")]
  6. public class AdoS0LineSkillDetail
  7. {
  8. [SugarColumn(ColumnName = "id", ColumnDescription = "明细主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  9. public long Id { get; set; }
  10. [SugarColumn(ColumnName = "line_skill_master_id", ColumnDescription = "产线岗位主表ID", ColumnDataType = "bigint")]
  11. public long LineSkillMasterId { get; set; }
  12. [SugarColumn(ColumnName = "person_skill_id", ColumnDescription = "人员技能主数据ID", ColumnDataType = "bigint")]
  13. public long PersonSkillId { get; set; }
  14. [SugarColumn(ColumnName = "required_level", ColumnDescription = "要求等级", Length = 50, IsNullable = true)]
  15. public string? RequiredLevel { get; set; }
  16. [SugarColumn(ColumnName = "effective_date", ColumnDescription = "生效日期", IsNullable = true)]
  17. public DateTime? EffectiveDate { get; set; }
  18. [SugarColumn(ColumnName = "remark", ColumnDescription = "备注", Length = 500, IsNullable = true)]
  19. public string? Remark { get; set; }
  20. [SugarColumn(ColumnName = "is_enabled", ColumnDescription = "启用", ColumnDataType = "boolean")]
  21. public bool IsEnabled { get; set; } = true;
  22. [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间")]
  23. public DateTime CreateTime { get; set; } = DateTime.Now;
  24. }