Pm_WageSheet.cs 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Entities.PersonnelModule
  7. {
  8. /// <summary>
  9. /// 人事模块
  10. /// 工资表单
  11. /// </summary>
  12. [SugarTable("Pm_WageSheet")]
  13. public class Pm_WageSheet:EntityBase
  14. {
  15. /// <summary>
  16. /// 员工Id
  17. /// </summary>
  18. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  19. public int UserId { get; set; }
  20. /// <summary>
  21. /// 年月
  22. /// </summary>
  23. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  24. public string? YearMonth { get; set; }
  25. /// <summary>
  26. /// 工资日期 起
  27. /// </summary>
  28. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  29. public string? StartDate { get; set; }
  30. /// <summary>
  31. /// 工资日期 止
  32. /// </summary>
  33. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  34. public string? EndDate { get; set; }
  35. /// <summary>
  36. /// 当月应出勤天数
  37. /// </summary>
  38. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  39. public int WorkDays { get; set; }
  40. /// <summary>
  41. /// 正常出勤天数
  42. /// </summary>
  43. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  44. public int RegularDays { get; set; }
  45. /// <summary>
  46. /// 基本工资
  47. /// </summary>
  48. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  49. public decimal Basic { get; set; }
  50. /// <summary>
  51. /// 岗位津贴
  52. /// </summary>
  53. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  54. public decimal PostAllowance { get; set; }
  55. /// <summary>
  56. /// 绩效工资
  57. /// </summary>
  58. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  59. public decimal Floats { get; set; }
  60. /// <summary>
  61. /// 保密费
  62. /// </summary>
  63. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  64. public decimal InformationSecurityFee { get; set; }
  65. /// <summary>
  66. /// 其他应付
  67. /// 主要用来填比如补发工资之类
  68. /// </summary>
  69. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  70. public decimal OtherHandle { get; set; }
  71. /// <summary>
  72. /// 服装洗理补贴 弃用
  73. /// </summary>
  74. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  75. public decimal GarmentWashSubsidies { get; set; }
  76. /// <summary>
  77. /// 通讯补贴 弃用
  78. /// </summary>
  79. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  80. public decimal CommunicationSubsidies { get; set; }
  81. /// <summary>
  82. /// 交通补贴 弃用
  83. /// </summary>
  84. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  85. public decimal TrafficSubsidies { get; set; }
  86. /// <summary>
  87. /// 操作奖金 弃用
  88. /// </summary>
  89. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  90. public decimal OperationBonus { get; set; }
  91. /// <summary>
  92. /// 过节费 弃用
  93. /// </summary>
  94. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  95. public decimal SpecialAllowance { get; set; } = 0.00M;
  96. /// <summary>
  97. /// 月度补贴/其他补贴
  98. /// </summary>
  99. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  100. public decimal OtherSubsidies { get; set; }
  101. /// <summary>
  102. /// 餐补
  103. /// 不纳入日工资计算
  104. /// </summary>
  105. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  106. public decimal Mealsupplement { get; set; }
  107. /// <summary>
  108. /// 代扣保险
  109. /// </summary>
  110. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  111. public decimal WithholdingInsurance { get; set; }
  112. /// <summary>
  113. /// 代扣公积金
  114. /// </summary>
  115. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  116. public decimal ReservedFunds { get; set; }
  117. /// <summary>
  118. /// 部门集体团建费 弃用
  119. /// </summary>
  120. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  121. public decimal GroupCost { get; set; }
  122. /// <summary>
  123. /// 病假
  124. /// </summary>
  125. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  126. public decimal SickLeave { get; set; }
  127. /// <summary>
  128. /// 事假
  129. /// </summary>
  130. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  131. public decimal SomethingFalse { get; set; }
  132. /// <summary>
  133. /// 迟到
  134. /// </summary>
  135. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  136. public decimal LateTo { get; set; }
  137. /// <summary>
  138. /// 早退
  139. /// </summary>
  140. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  141. public decimal LeaveEarly { get; set; }
  142. /// <summary>
  143. /// 旷工
  144. /// </summary>
  145. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  146. public decimal Absenteeism { get; set; }
  147. /// <summary>
  148. /// 未打卡
  149. /// </summary>
  150. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  151. public decimal NotPunch { get; set; }
  152. /// <summary>
  153. /// 其他扣款
  154. /// </summary>
  155. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  156. public decimal OtherDeductions { get; set; }
  157. /// <summary>
  158. /// 扣款项 明细
  159. /// </summary>
  160. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(500)")]
  161. public string? Ex_ItemsRemark { get; set; }
  162. /// <summary>
  163. /// 应发合计
  164. /// </summary>
  165. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  166. public decimal Should { get; set; }
  167. /// <summary>
  168. /// 扣款合计
  169. /// </summary>
  170. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  171. public decimal TotalDeductions { get; set; }
  172. /// <summary>
  173. /// 实发合计(税后工资)
  174. /// </summary>
  175. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  176. public decimal TotalRealHair { get; set; }
  177. /// <summary>
  178. /// 代扣个税
  179. /// </summary>
  180. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  181. public decimal WithholdingTax { get; set; }
  182. /// <summary>
  183. /// 税后工资 弃用
  184. /// </summary>
  185. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")]
  186. public decimal AfterTax { get; set; }
  187. /// <summary>
  188. /// 锁定标识
  189. /// </summary>
  190. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  191. public decimal IsLock { get; set; } = 0;
  192. /// <summary>
  193. /// 是否确认
  194. /// 0 否 1 是
  195. /// </summary>
  196. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  197. public int IsSure { get; set; } = 0;
  198. /// <summary>
  199. /// 最后操作人
  200. /// </summary>
  201. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  202. public int LastUpdateUserId { get; set; }
  203. /// <summary>
  204. /// 最后操作时间
  205. /// </summary>
  206. [SugarColumn(IsNullable = true, ColumnDataType = "datetime")]
  207. public DateTime LastUpdateDt { get; set; } = DateTime.Now;
  208. }
  209. }