SlmOrdDesignBomKEntity.cs 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. using Core.Mes.Client.Comm.Attribute;
  7. namespace Core.StlMes.Client.PlnSaleOrd.物料Bom.entity
  8. {
  9. /// <summary>
  10. /// 数据库表SLM_ORD_DESIGN_BOM_K所对应的实体类(生成工具:代码生成工具3.0)
  11. /// 作者:USER-20150714WV 时间:2016-06-22
  12. /// </summary>
  13. public class SlmOrdDesignBomKEntity
  14. {
  15. /// <summary>
  16. /// BOM
  17. /// </summary>
  18. private string bom = "";
  19. /// <summary>
  20. /// 投入物料编码(接箍码:接箍码 备料码:备料码的成品物料 管体:前工序产出物料)
  21. /// </summary>
  22. private string inMaterialNo = "";
  23. /// <summary>
  24. /// 投入物料描述
  25. /// </summary>
  26. private string inMaterialDesc = "";
  27. /// <summary>
  28. /// 物料编码
  29. /// </summary>
  30. private string outMaterialNo = "";
  31. /// <summary>
  32. /// 物料描述
  33. /// </summary>
  34. private string outMaterialDesc = "";
  35. /// <summary>
  36. /// 备料码组号(不是备料码则默认为0)
  37. /// </summary>
  38. private string groupNum = "";
  39. /// <summary>
  40. /// 投入物料标识(1.管体 2.接箍码 3.备料码)
  41. /// </summary>
  42. private string mark = "";
  43. /// <summary>
  44. /// BOM
  45. /// </summary>
  46. [Description("BOM")]
  47. [Nullable(false)]
  48. [DataLength(40)]
  49. public string Bom
  50. {
  51. get { return bom; }
  52. set { bom = value; }
  53. }
  54. /// <summary>
  55. /// 投入物料编码(接箍码:接箍码 备料码:备料码的成品物料 管体:前工序产出物料)
  56. /// </summary>
  57. [Description("投入物料编码")]
  58. [Nullable(false)]
  59. [DataLength(30)]
  60. public string InMaterialNo
  61. {
  62. get { return inMaterialNo; }
  63. set { inMaterialNo = value; }
  64. }
  65. /// <summary>
  66. /// 投入物料描述
  67. /// </summary>
  68. [Description("投入物料描述")]
  69. [Nullable(true)]
  70. [DataLength(100)]
  71. public string InMaterialDesc
  72. {
  73. get { return inMaterialDesc; }
  74. set { inMaterialDesc = value; }
  75. }
  76. /// <summary>
  77. /// 物料编码
  78. /// </summary>
  79. [Description("物料编码")]
  80. [Nullable(false)]
  81. [DataLength(30)]
  82. public string OutMaterialNo
  83. {
  84. get { return outMaterialNo; }
  85. set { outMaterialNo = value; }
  86. }
  87. /// <summary>
  88. /// 物料描述
  89. /// </summary>
  90. [Description("物料描述")]
  91. [Nullable(true)]
  92. [DataLength(100)]
  93. public string OutMaterialDesc
  94. {
  95. get { return outMaterialDesc; }
  96. set { outMaterialDesc = value; }
  97. }
  98. /// <summary>
  99. /// 备料码组号(不是备料码则默认为0)
  100. /// </summary>
  101. [Description("备料码组号")]
  102. [Nullable(false)]
  103. [DataLength(2)]
  104. public string GroupNum
  105. {
  106. get { return groupNum; }
  107. set { groupNum = value; }
  108. }
  109. /// <summary>
  110. /// 投入物料标识(1.管体 2.接箍码 3.备料码)
  111. /// </summary>
  112. [Description("投入物料标识")]
  113. [Nullable(true)]
  114. [DataLength(1)]
  115. public string Mark
  116. {
  117. get { return mark; }
  118. set { mark = value; }
  119. }
  120. }
  121. }