OvertimeApplication.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Models
  6. {
  7. /// <summary>
  8. /// 加班补卡类
  9. /// </summary>
  10. public class OvertimeApplication
  11. {
  12. int iD;
  13. /// <summary>
  14. /// 主键id
  15. /// </summary>
  16. public int ID
  17. {
  18. get { return iD; }
  19. set { iD = value; }
  20. }
  21. int uID;
  22. /// <summary>
  23. /// 加班人
  24. /// </summary>
  25. public int UID
  26. {
  27. get { return uID; }
  28. set { uID = value; }
  29. }
  30. string stardTime;
  31. /// <summary>
  32. /// 开始加班时间
  33. /// </summary>
  34. public string StardTime
  35. {
  36. get { return stardTime; }
  37. set { stardTime = value; }
  38. }
  39. string endTime;
  40. /// <summary>
  41. /// 加班结束时间
  42. /// </summary>
  43. public string EndTime
  44. {
  45. get { return endTime; }
  46. set { endTime = value; }
  47. }
  48. /// <summary>
  49. /// 员工加班小时数
  50. /// </summary>
  51. public string ObjectiveTime { get; set; }
  52. /// <summary>
  53. /// 若在家加班,按公司规章主观认定的加班小时数
  54. /// </summary>
  55. public string SubjectiveTime { get; set; }
  56. DateTime overDate;
  57. /// <summary>
  58. /// 加班日期
  59. /// </summary>
  60. public DateTime OverDate
  61. {
  62. get { return overDate; }
  63. set { overDate = value; }
  64. }
  65. string reason;
  66. /// <summary>
  67. /// 加班事由
  68. /// </summary>
  69. public string Reason
  70. {
  71. get { return reason; }
  72. set { reason = value; }
  73. }
  74. int isAudio;
  75. /// <summary>
  76. /// 人事审核
  77. /// 0:未审核,默认为0;1:已审核
  78. /// </summary>
  79. public int IsAudio
  80. {
  81. get { return isAudio; }
  82. set { isAudio = value; }
  83. }
  84. int mAudio;
  85. /// <summary>
  86. /// 部门经理审核
  87. /// </summary>
  88. public int MAudio
  89. {
  90. get { return mAudio; }
  91. set { mAudio = value; }
  92. }
  93. string audioMan;
  94. /// <summary>
  95. /// 审核人
  96. /// </summary>
  97. public string AudioMan
  98. {
  99. get { return audioMan; }
  100. set { audioMan = value; }
  101. }
  102. DateTime audioTime;
  103. /// <summary>
  104. /// 审核时间
  105. /// </summary>
  106. public DateTime AudioTime
  107. {
  108. get { return audioTime; }
  109. set { audioTime = value; }
  110. }
  111. string remark;
  112. /// <summary>
  113. /// 备注
  114. /// </summary>
  115. public string Remark
  116. {
  117. get { return remark; }
  118. set { remark = value; }
  119. }
  120. int isDel;
  121. /// <summary>
  122. /// 删除状态
  123. /// 1:已删除;0:未删除
  124. /// </summary>
  125. public int IsDel
  126. {
  127. get { return isDel; }
  128. set { isDel = value; }
  129. }
  130. int did;
  131. /// <summary>
  132. /// 部门id
  133. /// </summary>
  134. public int Did
  135. {
  136. get { return did; }
  137. set { did = value; }
  138. }
  139. /// <summary>
  140. /// 加班类型
  141. /// 标识1:办公室加班,标识2:在家加班 ,标识3:外出加班
  142. /// 标识1和3按实际加班时间计算;标识2的时候上限3小时
  143. /// </summary>
  144. public int OvertimeType { get; set; }
  145. }
  146. }