MilQaDefectEntity.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. namespace com.steering.mes.zgmil.entity
  7. {
  8. /// <summary>
  9. /// 数据库表MIL_QA_DEFECT所对应的实体类(生成工具:代码生成工具2.4)
  10. /// 作者:PC201506012023 时间:2015-09-14
  11. /// </summary>
  12. public class MilQaDefectEntity
  13. {
  14. /// <summary>
  15. /// 实绩编号
  16. /// </summary>
  17. private object resultNo;
  18. /// <summary>
  19. /// 抽检管编号
  20. /// </summary>
  21. private object samplePipeNo;
  22. /// <summary>
  23. /// 缺陷项
  24. /// </summary>
  25. private object defect;
  26. /// <summary>
  27. /// 是否合格
  28. /// </summary>
  29. private object isQuelified;
  30. public MilQaDefectEntity()
  31. {
  32. resultNo = "";
  33. samplePipeNo = "";
  34. defect = "";
  35. isQuelified = "";
  36. }
  37. /// <summary>
  38. /// 实绩编号
  39. /// </summary>
  40. [Description("实绩编号")]
  41. public object ResultNo
  42. {
  43. get { return resultNo; }
  44. set
  45. {
  46. if (value == null)
  47. {
  48. resultNo = DBNull.Value;
  49. }
  50. else
  51. {
  52. resultNo = value;
  53. }
  54. }
  55. }
  56. /// <summary>
  57. /// 抽检管编号
  58. /// </summary>
  59. [Description("抽检管编号")]
  60. public object SamplePipeNo
  61. {
  62. get { return samplePipeNo; }
  63. set
  64. {
  65. if (value == null)
  66. {
  67. samplePipeNo = DBNull.Value;
  68. }
  69. else
  70. {
  71. samplePipeNo = value;
  72. }
  73. }
  74. }
  75. /// <summary>
  76. /// 缺陷项
  77. /// </summary>
  78. [Description("缺陷项")]
  79. public object Defect
  80. {
  81. get { return defect; }
  82. set
  83. {
  84. if (value == null)
  85. {
  86. defect = DBNull.Value;
  87. }
  88. else
  89. {
  90. defect = value;
  91. }
  92. }
  93. }
  94. /// <summary>
  95. /// 是否合格
  96. /// </summary>
  97. [Description("是否合格")]
  98. public object IsQuelified
  99. {
  100. get { return isQuelified; }
  101. set
  102. {
  103. if (value == null)
  104. {
  105. isQuelified = DBNull.Value;
  106. }
  107. else
  108. {
  109. isQuelified = value;
  110. }
  111. }
  112. }
  113. }
  114. }