NbrMaster.cs 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. using Amazon.Runtime.Internal.Util;
  2. using Microsoft.EntityFrameworkCore;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace Business.Domain
  10. {
  11. /// <summary>
  12. /// 领料单据表
  13. /// </summary>
  14. [Comment("领料单据表")]
  15. public class NbrMaster
  16. {
  17. /// <summary>
  18. /// 主键
  19. /// </summary>
  20. [Comment("主键")]
  21. [Key]
  22. public int RecID { get; set; }
  23. /// <summary>
  24. /// 域名
  25. /// </summary>
  26. [Comment("域名")]
  27. public string Domain { get; set; }
  28. /// <summary>
  29. /// 租户ID
  30. /// </summary>
  31. [Comment("租户ID")]
  32. public long? tenant_id { get; set; }
  33. /// <summary>
  34. /// 类型
  35. /// </summary>
  36. [Comment("类型")]
  37. public string Type { get; set; }
  38. /// <summary>
  39. /// 单据编号
  40. /// </summary>
  41. [Comment("单据编号")]
  42. public string Nbr { get; set; }
  43. /// <summary>
  44. /// 备注
  45. /// </summary>
  46. [Comment("备注")]
  47. public string Remark { get; set; }
  48. /// <summary>
  49. /// 日期
  50. /// </summary>
  51. [Comment("日期")]
  52. public DateTime? Date { get; set; }
  53. /// <summary>
  54. /// 状态:C为已下架、出库
  55. /// </summary>
  56. [Comment("状态")]
  57. public string Status { get; set; }
  58. /// <summary>
  59. /// SAP单号
  60. /// </summary>
  61. [Comment("SAP单号")]
  62. public string Ufld1 { get; set; }
  63. /// <summary>
  64. /// 工单
  65. /// </summary>
  66. [Comment("工单")]
  67. public string WorkOrd { get; set; }
  68. /// <summary>
  69. /// ERP工单
  70. /// </summary>
  71. [Comment("ERP工单")]
  72. public string Address { get; set; }
  73. /// <summary>
  74. /// 订单数量
  75. /// </summary>
  76. [Comment("订单数量")]
  77. public decimal QtyOrd { get; set; }
  78. /// <summary>
  79. /// 是否有效:1-有效;0-无效
  80. /// </summary>
  81. [Comment("是否有效")]
  82. public bool IsActive { get; set; }
  83. /// <summary>
  84. /// 产线
  85. /// </summary>
  86. [Comment("产线")]
  87. public string ProdLine { get; set; }
  88. /// <summary>
  89. /// 是否编辑
  90. /// </summary>
  91. [Comment("是否编辑")]
  92. public bool IsChanged { get; set; }
  93. /// <summary>
  94. /// 部门
  95. /// </summary>
  96. [Comment("部门")]
  97. public string Department { get; set; }
  98. /// <summary>
  99. /// 领料人姓名
  100. /// </summary>
  101. [Comment("领料人姓名")]
  102. public string Name { get; set; }
  103. /// <summary>
  104. /// 备料人
  105. /// </summary>
  106. [Comment("备料人")]
  107. public string User1 { get; set; }
  108. /// <summary>
  109. /// 备料人
  110. /// </summary>
  111. [Comment("备料人")]
  112. public string User2 { get; set; }
  113. /// <summary>
  114. /// 完成日期
  115. /// </summary>
  116. [Comment("完成日期")]
  117. public DateTime? EffDate { get; set; }
  118. /// <summary>
  119. /// 创建时间
  120. /// </summary>
  121. [Comment("创建时间")]
  122. public DateTime? CreateTime { get; set; }
  123. /// <summary>
  124. /// 创建人
  125. /// </summary>
  126. [Comment("创建人")]
  127. public string CreateUser { get; set; }
  128. /// <summary>
  129. /// 创建时间
  130. /// </summary>
  131. [Comment("修改时间")]
  132. public DateTime? UpdateTime { get; set; }
  133. /// <summary>
  134. /// 修改人
  135. /// </summary>
  136. [Comment("修改人")]
  137. public string UpdateUser { get; set; }
  138. /// <summary>
  139. /// 前处理领料单 =PrevProcess
  140. /// </summary>
  141. [Comment("前处理领料单")]
  142. public string TransType { get; set; }
  143. /// <summary>
  144. /// 前处理状态
  145. /// </summary>
  146. [Comment("前处理状态")]
  147. public string PretreatmentState { get; set; }
  148. }
  149. }