AdoS0MfgRoutingOpDetail.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing;
  2. /// <summary>
  3. /// 标准工艺路线明细(源平台 RoutingOpDetail 行级复刻,方案 A)。
  4. /// </summary>
  5. [SugarTable("RoutingOpDetail", "S0 标准工艺路线明细")]
  6. public class AdoS0MfgRoutingOpDetail
  7. {
  8. [SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  9. public long Id { get; set; }
  10. [SugarColumn(ColumnDescription = "公司", ColumnDataType = "bigint")]
  11. public long CompanyRefId { get; set; }
  12. [SugarColumn(ColumnDescription = "工厂", ColumnDataType = "bigint")]
  13. public long FactoryRefId { get; set; }
  14. [SugarColumn(ColumnDescription = "工艺路线编码(Ufld11)", Length = 100)]
  15. public string RouteCode { get; set; } = string.Empty;
  16. [SugarColumn(ColumnDescription = "工艺路线名称(Ufld12)", Length = 200)]
  17. public string RouteName { get; set; } = string.Empty;
  18. [SugarColumn(ColumnDescription = "物料编码(RoutingCode)", Length = 100)]
  19. public string MaterialCode { get; set; } = string.Empty;
  20. [SugarColumn(ColumnDescription = "工序编码(Op)", Length = 100)]
  21. public string OperationCode { get; set; } = string.Empty;
  22. [SugarColumn(ColumnDescription = "工序名称(Descr)", Length = 200)]
  23. public string OperationDescription { get; set; } = string.Empty;
  24. [SugarColumn(ColumnDescription = "工作中心编码(WorkCtr)", Length = 100)]
  25. public string WorkCenterCode { get; set; } = string.Empty;
  26. [SugarColumn(ColumnDescription = "报工工序(MilestoneOp)", Length = 100, IsNullable = true)]
  27. public string? MilestoneOperation { get; set; }
  28. [SugarColumn(ColumnDescription = "自定义字段Ufld1", Length = 200, IsNullable = true)]
  29. public string? Ufld1 { get; set; }
  30. [SugarColumn(ColumnDescription = "活动一(Ufld2)", Length = 200, IsNullable = true)]
  31. public string? Ufld2 { get; set; }
  32. [SugarColumn(ColumnDescription = "数量一(UDeci1)", DecimalDigits = 5, Length = 18, IsNullable = true)]
  33. public decimal? UDeci1 { get; set; }
  34. [SugarColumn(ColumnDescription = "单位一(Ufld3)", Length = 50, IsNullable = true)]
  35. public string? Ufld3 { get; set; }
  36. [SugarColumn(ColumnDescription = "自定义字段Ufld4", Length = 200, IsNullable = true)]
  37. public string? Ufld4 { get; set; }
  38. [SugarColumn(ColumnDescription = "活动二(Ufld5)", Length = 200, IsNullable = true)]
  39. public string? Ufld5 { get; set; }
  40. [SugarColumn(ColumnDescription = "数量二(UDeci2)", DecimalDigits = 5, Length = 18, IsNullable = true)]
  41. public decimal? UDeci2 { get; set; }
  42. [SugarColumn(ColumnDescription = "单位二(Ufld6)", Length = 50, IsNullable = true)]
  43. public string? Ufld6 { get; set; }
  44. [SugarColumn(ColumnDescription = "自定义字段Ufld7", Length = 200, IsNullable = true)]
  45. public string? Ufld7 { get; set; }
  46. [SugarColumn(ColumnDescription = "活动三(Ufld8)", Length = 200, IsNullable = true)]
  47. public string? Ufld8 { get; set; }
  48. [SugarColumn(ColumnDescription = "数量三(UDeci3)", DecimalDigits = 5, Length = 18, IsNullable = true)]
  49. public decimal? UDeci3 { get; set; }
  50. [SugarColumn(ColumnDescription = "单位三(Ufld9)", Length = 50, IsNullable = true)]
  51. public string? Ufld9 { get; set; }
  52. [SugarColumn(ColumnDescription = "基本批量(UDeci4)", DecimalDigits = 5, Length = 18, IsNullable = true)]
  53. public decimal? UDeci4 { get; set; }
  54. [SugarColumn(ColumnDescription = "工序委外(UDeci5)", DecimalDigits = 5, Length = 18, IsNullable = true)]
  55. public decimal? UDeci5 { get; set; }
  56. [SugarColumn(ColumnDescription = "供应商代码(Supp)", Length = 100, IsNullable = true)]
  57. public string? SupplierCode { get; set; }
  58. [SugarColumn(ColumnDescription = "委外提前期(SetupTime)")]
  59. public int OutsourcedLeadTime { get; set; }
  60. [SugarColumn(ColumnDescription = "行排序")]
  61. public int SortNo { get; set; }
  62. [SugarColumn(ColumnDescription = "启用(IsActive)", ColumnDataType = "boolean")]
  63. public bool IsEnabled { get; set; } = true;
  64. [SugarColumn(ColumnDescription = "是否确认(IsConfirm)", ColumnDataType = "boolean")]
  65. public bool IsConfirm { get; set; }
  66. [SugarColumn(ColumnDescription = "批注索引(CommentIndex)", IsNullable = true)]
  67. public int? CommentIndex { get; set; }
  68. [SugarColumn(ColumnDescription = "创建人", Length = 100, IsNullable = true)]
  69. public string? CreateUser { get; set; }
  70. [SugarColumn(ColumnDescription = "更新人", Length = 100, IsNullable = true)]
  71. public string? UpdateUser { get; set; }
  72. [SugarColumn(ColumnDescription = "创建时间")]
  73. public DateTime CreatedAt { get; set; } = DateTime.Now;
  74. [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
  75. public DateTime? UpdatedAt { get; set; }
  76. }