AdoS0EmpWorkDutyMaster.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Warehouse;
  2. /// <summary>
  3. /// 物料职责主数据(复刻 EmpWorkDutyMaster)
  4. /// </summary>
  5. [SugarTable("EmpWorkDutyMaster", "物料职责主数据(复刻 EmpWorkDutyMaster)")]
  6. public class AdoS0EmpWorkDutyMaster
  7. {
  8. [SugarColumn(ColumnName = "rec_id", ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  9. public long Id { get; set; }
  10. [SugarColumn(ColumnName = "company_ref_id", ColumnDescription = "关联公司 ID", ColumnDataType = "bigint")]
  11. public long CompanyRefId { get; set; }
  12. [SugarColumn(ColumnName = "factory_ref_id", ColumnDescription = "关联工厂 ID", ColumnDataType = "bigint")]
  13. public long FactoryRefId { get; set; }
  14. [SugarColumn(ColumnName = "domain_code", ColumnDescription = "工厂域编码", Length = 50)]
  15. public string DomainCode { get; set; } = string.Empty;
  16. [SugarColumn(ColumnName = "employee", ColumnDescription = "员工编码", Length = 100)]
  17. public string Employee { get; set; } = string.Empty;
  18. [SugarColumn(ColumnName = "item_num1", ColumnDescription = "物料编码起", Length = 100, IsNullable = true)]
  19. public string? ItemNum1 { get; set; }
  20. [SugarColumn(ColumnName = "item_num2", ColumnDescription = "物料编码止", Length = 100, IsNullable = true)]
  21. public string? ItemNum2 { get; set; }
  22. [SugarColumn(ColumnName = "location", ColumnDescription = "库位编码", Length = 100, IsNullable = true)]
  23. public string? Location { get; set; }
  24. [SugarColumn(ColumnName = "prod_line", ColumnDescription = "生产线编码", Length = 100, IsNullable = true)]
  25. public string? ProdLine { get; set; }
  26. [SugarColumn(ColumnName = "duty", ColumnDescription = "职责编码(原始值)", Length = 500, IsNullable = true)]
  27. public string? Duty { get; set; }
  28. [SugarColumn(ColumnName = "emp_type", ColumnDescription = "员工类型", Length = 50, IsNullable = true)]
  29. public string? EmpType { get; set; }
  30. [SugarColumn(ColumnName = "ufld2", ColumnDescription = "自定义字段2", Length = 255, IsNullable = true)]
  31. public string? Ufld2 { get; set; }
  32. [SugarColumn(ColumnName = "create_user", ColumnDescription = "创建人", Length = 100, IsNullable = true)]
  33. public string? CreateUser { get; set; }
  34. [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间")]
  35. public DateTime CreateTime { get; set; } = DateTime.Now;
  36. [SugarColumn(ColumnName = "update_user", ColumnDescription = "更新人", Length = 100, IsNullable = true)]
  37. public string? UpdateUser { get; set; }
  38. [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)]
  39. public DateTime? UpdateTime { get; set; }
  40. /// <summary>列表展示:员工姓名(不落库)</summary>
  41. [SugarColumn(IsIgnore = true)]
  42. public string? EmployeeName { get; set; }
  43. /// <summary>列表展示:库位+说明(不落库)</summary>
  44. [SugarColumn(IsIgnore = true)]
  45. public string? LocationName { get; set; }
  46. /// <summary>列表展示:生产线+说明(不落库)</summary>
  47. [SugarColumn(IsIgnore = true)]
  48. public string? LineName { get; set; }
  49. /// <summary>列表展示:职责中文翻译(不落库)</summary>
  50. [SugarColumn(IsIgnore = true)]
  51. public string? DutyDisplay { get; set; }
  52. }