AdoS0ProdLineDetail.cs 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing;
  2. /// <summary>
  3. /// 生产线物料维护(源平台 ProdLineDetail)。
  4. /// </summary>
  5. [SugarTable("ProdLineDetail", "生产线物料维护表")]
  6. public class AdoS0ProdLineDetail : ITenantIdFilter
  7. {
  8. [SugarColumn(ColumnName = "RecID", ColumnDescription = "生产线物料主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "int")]
  9. public int Id { get; set; }
  10. [SugarColumn(ColumnName = "Part", ColumnDescription = "物料编码", Length = 100)]
  11. public string Part { get; set; } = string.Empty;
  12. [SugarColumn(ColumnName = "Op", ColumnDescription = "工序编码", ColumnDataType = "int")]
  13. public int Op { get; set; }
  14. [SugarColumn(ColumnName = "Site", ColumnDescription = "工作中心编码", Length = 100, IsNullable = true)]
  15. public string? Site { get; set; }
  16. [SugarColumn(ColumnName = "Line", ColumnDescription = "设备/生产线编码", Length = 100, IsNullable = true)]
  17. public string? Line { get; set; }
  18. [SugarColumn(ColumnName = "Rate", ColumnDescription = "单位标准产能(小时)", DecimalDigits = 6, Length = 18, IsNullable = true)]
  19. public decimal? Rate { get; set; }
  20. [SugarColumn(ColumnName = "SetupTime", ColumnDescription = "换模时间(小时)", DecimalDigits = 6, Length = 18, IsNullable = true)]
  21. public decimal? SetupTime { get; set; }
  22. [SugarColumn(ColumnName = "OverlapTime", ColumnDescription = "重叠时间(小时)", DecimalDigits = 6, Length = 18)]
  23. public decimal OverlapTime { get; set; }
  24. [SugarColumn(ColumnName = "Sequence", ColumnDescription = "顺序值", DecimalDigits = 6, Length = 18)]
  25. public decimal Sequence { get; set; }
  26. [SugarColumn(ColumnName = "SkillNo", ColumnDescription = "员工技能编码", Length = 100, IsNullable = true)]
  27. public string? SkillNo { get; set; }
  28. [SugarColumn(ColumnName = "InternalEquipmentCode", ColumnDescription = "厂内设备编码", Length = 100, IsNullable = true)]
  29. public string? InternalEquipmentCode { get; set; }
  30. [SugarColumn(ColumnName = "internal_equipment_type_code", ColumnDescription = "厂内设备类型编码", Length = 100, IsNullable = true)]
  31. public string? InternalEquipmentTypeCode { get; set; }
  32. [SugarColumn(ColumnName = "MoldTypeCode", ColumnDescription = "模具类型编码", Length = 100, IsNullable = true)]
  33. public string? MoldTypeCode { get; set; }
  34. [SugarColumn(ColumnName = "StandardStaffCount", ColumnDescription = "标准人数", DecimalDigits = 6, Length = 18)]
  35. public decimal StandardStaffCount { get; set; }
  36. [SugarColumn(ColumnName = "Start", ColumnDescription = "起始标记/顺序", IsNullable = true)]
  37. public int? Start { get; set; }
  38. [SugarColumn(ColumnName = "IsActive", ColumnDescription = "是否启用", ColumnDataType = "boolean")]
  39. public bool IsActive { get; set; } = true;
  40. [SugarColumn(ColumnName = "IsConfirm", ColumnDescription = "是否确认", ColumnDataType = "boolean")]
  41. public bool IsConfirm { get; set; }
  42. [SugarColumn(ColumnName = "Domain", ColumnDescription = "工厂域编码", Length = 50)]
  43. public string Domain { get; set; } = string.Empty;
  44. [SugarColumn(ColumnName = "CreateUser", ColumnDescription = "创建人", Length = 64, IsNullable = true)]
  45. public string? CreateUser { get; set; }
  46. [SugarColumn(ColumnName = "CreateTime", ColumnDescription = "创建时间", IsNullable = true)]
  47. public DateTime? CreateTime { get; set; }
  48. [SugarColumn(ColumnName = "UpdateUser", ColumnDescription = "更新人", Length = 64, IsNullable = true)]
  49. public string? UpdateUser { get; set; }
  50. [SugarColumn(ColumnName = "UpdateTime", ColumnDescription = "更新时间", IsNullable = true)]
  51. public DateTime? UpdateTime { get; set; }
  52. [SugarColumn(ColumnName = "RunCrew", ColumnDescription = "运行班组", Length = 8, IsNullable = true)]
  53. public string? RunCrew { get; set; }
  54. [SugarColumn(ColumnName = "OpType", ColumnDescription = "工序类型", Length = 50, IsNullable = true)]
  55. public string? OpType { get; set; }
  56. [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户ID", IsNullable = true, ColumnDataType = "bigint")]
  57. public long? TenantId { get; set; }
  58. [SugarColumn(ColumnName = "Bom", ColumnDescription = "BOM编码", Length = 24, IsNullable = true)]
  59. public string? Bom { get; set; }
  60. }