MesMorder.cs 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. namespace Admin.NET.Plugin.AiDOP.WorkOrder;
  2. /// <summary>
  3. /// 工单信息表(mes_morder)
  4. /// </summary>
  5. [SugarTable("mes_morder", "工单主表", IsDisabledUpdateAll = true)]
  6. public class MesMorder
  7. {
  8. /// <summary>主键</summary>
  9. [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
  10. public long Id { get; set; }
  11. [SugarColumn(ColumnName = "parent_id", IsNullable = true)]
  12. public long? ParentId { get; set; }
  13. [SugarColumn(ColumnName = "relation_moid", IsNullable = true)]
  14. public long? RelationMoid { get; set; }
  15. [SugarColumn(ColumnName = "relation_mono", Length = 128, IsNullable = true)]
  16. public string? RelationMono { get; set; }
  17. [SugarColumn(ColumnName = "morder_no", Length = 128, IsNullable = true)]
  18. public string? MorderNo { get; set; }
  19. [SugarColumn(ColumnName = "morder_type", Length = 64, IsNullable = true)]
  20. public string? MorderType { get; set; }
  21. [SugarColumn(ColumnName = "morder_icitem_type", Length = 64, IsNullable = true)]
  22. public string? MorderIcitemType { get; set; }
  23. [SugarColumn(ColumnName = "work_order_type", Length = 64, IsNullable = true)]
  24. public string? WorkOrderType { get; set; }
  25. [SugarColumn(ColumnName = "morder_date", IsNullable = true)]
  26. public DateTime? MorderDate { get; set; }
  27. [SugarColumn(ColumnName = "morder_state", Length = 32, IsNullable = true)]
  28. public string? MorderState { get; set; }
  29. [SugarColumn(ColumnName = "moentry_prd", IsNullable = true)]
  30. public long? MoentryPrd { get; set; }
  31. [SugarColumn(ColumnName = "moentry_prdname", Length = 256, IsNullable = true)]
  32. public string? MoentryPrdname { get; set; }
  33. [SugarColumn(ColumnName = "moentry_wrkc", IsNullable = true)]
  34. public long? MoentryWrkc { get; set; }
  35. [SugarColumn(ColumnName = "moentry_wrkcname", Length = 256, IsNullable = true)]
  36. public string? MoentryWrkcname { get; set; }
  37. [SugarColumn(ColumnName = "planner_num", Length = 64, IsNullable = true)]
  38. public string? PlannerNum { get; set; }
  39. [SugarColumn(ColumnName = "planner_name", Length = 128, IsNullable = true)]
  40. public string? PlannerName { get; set; }
  41. [SugarColumn(ColumnName = "moentry_stime", IsNullable = true)]
  42. public DateTime? MoentryStime { get; set; }
  43. [SugarColumn(ColumnName = "moentry_etime", IsNullable = true)]
  44. public DateTime? MoentryEtime { get; set; }
  45. [SugarColumn(ColumnName = "moentry_sys_stime", IsNullable = true)]
  46. public DateTime? MoentrySysStime { get; set; }
  47. [SugarColumn(ColumnName = "moentry_sys_etime", IsNullable = true)]
  48. public DateTime? MoentrySysEtime { get; set; }
  49. [SugarColumn(ColumnName = "reality_start_time", IsNullable = true)]
  50. public DateTime? RealityStartTime { get; set; }
  51. [SugarColumn(ColumnName = "reality_end_time", IsNullable = true)]
  52. public DateTime? RealityEndTime { get; set; }
  53. [SugarColumn(ColumnName = "product_code", Length = 128, IsNullable = true)]
  54. public string? ProductCode { get; set; }
  55. [SugarColumn(ColumnName = "product_name", Length = 256, IsNullable = true)]
  56. public string? ProductName { get; set; }
  57. [SugarColumn(ColumnName = "fms_number", Length = 128, IsNullable = true)]
  58. public string? FmsNumber { get; set; }
  59. [SugarColumn(ColumnName = "fmodel", Length = 256, IsNullable = true)]
  60. public string? Fmodel { get; set; }
  61. [SugarColumn(ColumnName = "bom_number", Length = 128, IsNullable = true)]
  62. public string? BomNumber { get; set; }
  63. [SugarColumn(ColumnName = "unit", Length = 32, IsNullable = true)]
  64. public string? Unit { get; set; }
  65. [SugarColumn(ColumnName = "morder_progress", IsNullable = true)]
  66. public decimal? MorderProgress { get; set; }
  67. [SugarColumn(ColumnName = "morder_production_number", IsNullable = true)]
  68. public decimal? MorderProductionNumber { get; set; }
  69. [SugarColumn(ColumnName = "need_number", IsNullable = true)]
  70. public decimal? NeedNumber { get; set; }
  71. [SugarColumn(ColumnName = "work_number", IsNullable = true)]
  72. public decimal? WorkNumber { get; set; }
  73. [SugarColumn(ColumnName = "inspection_number", IsNullable = true)]
  74. public decimal? InspectionNumber { get; set; }
  75. [SugarColumn(ColumnName = "qualified_number", IsNullable = true)]
  76. public decimal? QualifiedNumber { get; set; }
  77. [SugarColumn(ColumnName = "inventory_number", IsNullable = true)]
  78. public decimal? InventoryNumber { get; set; }
  79. [SugarColumn(ColumnName = "MaterialSituation", Length = 128, IsNullable = true)]
  80. public string? MaterialSituation { get; set; }
  81. [SugarColumn(ColumnName = "urgent", IsNullable = true)]
  82. public int? Urgent { get; set; }
  83. [SugarColumn(ColumnName = "create_by", IsNullable = true)]
  84. public long? CreateBy { get; set; }
  85. [SugarColumn(ColumnName = "create_by_name", Length = 128, IsNullable = true)]
  86. public string? CreateByName { get; set; }
  87. [SugarColumn(ColumnName = "create_time", IsNullable = true)]
  88. public DateTime? CreateTime { get; set; }
  89. [SugarColumn(ColumnName = "update_by", IsNullable = true)]
  90. public long? UpdateBy { get; set; }
  91. [SugarColumn(ColumnName = "update_by_name", Length = 128, IsNullable = true)]
  92. public string? UpdateByName { get; set; }
  93. [SugarColumn(ColumnName = "update_time", IsNullable = true)]
  94. public DateTime? UpdateTime { get; set; }
  95. [SugarColumn(ColumnName = "IsDeleted", IsNullable = true)]
  96. public int? IsDeleted { get; set; }
  97. [SugarColumn(ColumnName = "factory_id", Length = 64, IsNullable = true)]
  98. public string? FactoryId { get; set; }
  99. [SugarColumn(ColumnName = "org_id", IsNullable = true)]
  100. public long? OrgId { get; set; }
  101. [SugarColumn(ColumnName = "company_id", IsNullable = true)]
  102. public long? CompanyId { get; set; }
  103. /// <summary>租户ID(多租户隔离)</summary>
  104. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  105. public long? TenantId { get; set; }
  106. }