HttControlShiftEntity.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. using Core.Mes.Client.Comm.Attribute;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Linq;
  6. using System.Text;
  7. namespace Core.StlMes.Client.Mcp.Treatment.Entity
  8. {
  9. /// <summary>
  10. /// 数据库表HTT_CONTROL_SHIFT所对应的实体类(生成工具:代码生成工具3.0)
  11. /// 作者:PC-20160918TFRG 时间:2019-03-14
  12. /// </summary>
  13. public class HttControlShiftEntity
  14. {
  15. /// <summary>
  16. /// 产线代码
  17. /// </summary>
  18. private string plineCode = "";
  19. /// <summary>
  20. /// 产线描述
  21. /// </summary>
  22. private string plineName = "";
  23. /// <summary>
  24. /// 生产班次
  25. /// </summary>
  26. private string proBc = "";
  27. /// <summary>
  28. /// 上一班次
  29. /// </summary>
  30. private string lastBc = "";
  31. /// <summary>
  32. /// 班次上班时间
  33. /// </summary>
  34. private string shiftBeg = "";
  35. /// <summary>
  36. /// 班次下班时间
  37. /// </summary>
  38. private string shiftEnd = "";
  39. /// <summary>
  40. /// 上班时间
  41. /// </summary>
  42. private decimal? shiftTime = null;
  43. /// <summary>
  44. /// 产线代码
  45. /// </summary>
  46. [Description("产线代码")]
  47. [Nullable(false)]
  48. [DataLength(10)]
  49. public string PlineCode
  50. {
  51. get { return plineCode; }
  52. set { plineCode = value; }
  53. }
  54. /// <summary>
  55. /// 产线描述
  56. /// </summary>
  57. [Description("产线描述")]
  58. [Nullable(true)]
  59. [DataLength(40)]
  60. public string PlineName
  61. {
  62. get { return plineName; }
  63. set { plineName = value; }
  64. }
  65. /// <summary>
  66. /// 生产班次
  67. /// </summary>
  68. [Description("生产班次")]
  69. [Nullable(false)]
  70. [DataLength(1)]
  71. public string ProBc
  72. {
  73. get { return proBc; }
  74. set { proBc = value; }
  75. }
  76. /// <summary>
  77. /// 上一班次
  78. /// </summary>
  79. [Description("上一班次")]
  80. [Nullable(true)]
  81. [DataLength(1)]
  82. public string LastBc
  83. {
  84. get { return lastBc; }
  85. set { lastBc = value; }
  86. }
  87. /// <summary>
  88. /// 班次上班时间
  89. /// </summary>
  90. [Description("上班时间")]
  91. [Nullable(true)]
  92. [DataLength(4)]
  93. public string ShiftBeg
  94. {
  95. get { return shiftBeg; }
  96. set { shiftBeg = value; }
  97. }
  98. /// <summary>
  99. /// 班次下班时间
  100. /// </summary>
  101. [Description("下班时间")]
  102. [Nullable(true)]
  103. [DataLength(4)]
  104. public string ShiftEnd
  105. {
  106. get { return shiftEnd; }
  107. set { shiftEnd = value; }
  108. }
  109. /// <summary>
  110. /// 上班时间
  111. /// </summary>
  112. [Description("上班时长")]
  113. [Nullable(true)]
  114. [DataLength(22)]
  115. public decimal? ShiftTime
  116. {
  117. get { return shiftTime; }
  118. set { shiftTime = value; }
  119. }
  120. }
  121. }