AdoS0EmpWorkDutyMaster.cs 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Warehouse;
  2. /// <summary>
  3. /// 物料职责主数据(复刻 EmpWorkDutyMaster)
  4. /// </summary>
  5. [SugarTable("EmpWorkDutyMaster", "物料职责主数据(复刻 EmpWorkDutyMaster)")]
  6. public class AdoS0EmpWorkDutyMaster : ITenantIdFilter
  7. {
  8. [SugarColumn(ColumnName = "RecID", 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", 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 = "ItemNum1", ColumnDescription = "物料编码起", Length = 100, IsNullable = true)]
  19. public string? ItemNum1 { get; set; }
  20. [SugarColumn(ColumnName = "ItemNum2", ColumnDescription = "物料编码止", Length = 100, IsNullable = true)]
  21. public string? ItemNum2 { get; set; }
  22. [SugarColumn(ColumnName = "ItemNum", ColumnDescription = "单物料编码", Length = 100, IsNullable = true)]
  23. public string? ItemNum { get; set; }
  24. [SugarColumn(ColumnName = "Location", ColumnDescription = "库位编码", Length = 100, IsNullable = true)]
  25. public string? Location { get; set; }
  26. [SugarColumn(ColumnName = "ProdLine", ColumnDescription = "生产线编码", Length = 100, IsNullable = true)]
  27. public string? ProdLine { get; set; }
  28. [SugarColumn(ColumnName = "Duty", ColumnDescription = "职责编码(原始值)", Length = 500, IsNullable = true)]
  29. public string? Duty { get; set; }
  30. [SugarColumn(ColumnName = "EmpType", ColumnDescription = "员工类型", Length = 50, IsNullable = true)]
  31. public string? EmpType { get; set; }
  32. [SugarColumn(ColumnName = "Ufld2", ColumnDescription = "自定义字段2", Length = 255, IsNullable = true)]
  33. public string? Ufld2 { get; set; }
  34. [SugarColumn(ColumnName = "CreateUser", ColumnDescription = "创建人", Length = 100, IsNullable = true)]
  35. public string? CreateUser { get; set; }
  36. [SugarColumn(ColumnName = "CreateTime", ColumnDescription = "创建时间")]
  37. public DateTime CreateTime { get; set; } = DateTime.Now;
  38. [SugarColumn(ColumnName = "UpdateUser", ColumnDescription = "更新人", Length = 100, IsNullable = true)]
  39. public string? UpdateUser { get; set; }
  40. [SugarColumn(ColumnName = "UpdateTime", ColumnDescription = "更新时间", IsNullable = true)]
  41. public DateTime? UpdateTime { get; set; }
  42. /// <summary>列表展示:员工姓名(不落库)</summary>
  43. [SugarColumn(IsIgnore = true)]
  44. public string? EmployeeName { get; set; }
  45. /// <summary>列表展示:库位+说明(不落库)</summary>
  46. [SugarColumn(IsIgnore = true)]
  47. public string? LocationName { get; set; }
  48. /// <summary>列表展示:生产线+说明(不落库)</summary>
  49. [SugarColumn(IsIgnore = true)]
  50. public string? LineName { get; set; }
  51. /// <summary>列表展示:职责中文翻译(不落库)</summary>
  52. [SugarColumn(IsIgnore = true)]
  53. public string? DutyDisplay { get; set; }
  54. /// <summary>列表展示:物料范围说明(不落库)</summary>
  55. [SugarColumn(IsIgnore = true)]
  56. public string? ItemNumDisplay { get; set; }
  57. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  58. public long? TenantId { get; set; }
  59. }