WageSheetDto.cs 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  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.Dtos.PersonnelModule
  7. {
  8. /// <summary>
  9. /// 人事模块
  10. /// 工资表单 Dto
  11. /// </summary>
  12. public class WageSheetDto
  13. {
  14. }
  15. public class WageYearDto
  16. {
  17. /// <summary>
  18. /// 年
  19. /// </summary>
  20. public int Year { get; set; }
  21. }
  22. /// <summary>
  23. /// 工资表单List Dto
  24. /// </summary>
  25. public class WageSheetListDto : PortDtoBase
  26. {
  27. /// <summary>
  28. /// 年月
  29. /// </summary>
  30. public string? YearMonth { get; set; }
  31. ///// <summary>
  32. ///// 开始日期
  33. ///// </summary>
  34. //public string? StartDt { get; set; }
  35. ///// <summary>
  36. ///// 结束日期
  37. ///// </summary>
  38. //public string? EndDt { get; set; }
  39. }
  40. /// <summary>
  41. /// 工资表单Info Dto
  42. /// </summary>
  43. public class WageSheetInfoDto : PortDtoBase
  44. {
  45. /// <summary>
  46. /// id
  47. /// </summary>
  48. public int Id { get; set; }
  49. }
  50. /// <summary>
  51. /// 添加或者修改
  52. /// </summary>
  53. public class WageAddOrEditDto : OpBaseDto
  54. {
  55. /// <summary>
  56. /// 用户Id
  57. /// </summary>
  58. public int UserId { get; set; }
  59. /// <summary>
  60. /// 年月
  61. /// </summary>
  62. public string? YearMonth { get; set; }
  63. /// <summary>
  64. /// 工资日期 起
  65. /// </summary>
  66. public string? StartDate { get; set; }
  67. /// <summary>
  68. /// 工资日期 止
  69. /// </summary>
  70. public string? EndDate { get; set; }
  71. /// <summary>
  72. /// 应出勤天数
  73. /// </summary>
  74. public int WorkDays { get; set; }
  75. /// <summary>
  76. /// 正常出勤天数
  77. /// </summary>
  78. public int RegularDays { get; set; }
  79. /// <summary>
  80. /// 基本工资
  81. /// </summary>
  82. public decimal Basic { get; set; }
  83. /// <summary>
  84. /// 绩效工资
  85. /// </summary>
  86. public decimal Floats { get; set; }
  87. /// <summary>
  88. /// 岗位津贴
  89. /// </summary>
  90. public decimal PostAllowance { get; set; }
  91. /// <summary>
  92. /// 保密费
  93. /// </summary>
  94. public decimal InformationSecurityFee { get; set; }
  95. /// <summary>
  96. /// 其他应发
  97. /// </summary>
  98. public decimal OtherHandle { get; set; }
  99. /// <summary>
  100. /// 月度补贴/其他补贴
  101. /// </summary>
  102. public decimal OtherSubsidies { get; set; }
  103. /// <summary>
  104. /// 餐补
  105. /// </summary>
  106. public decimal Mealsupplement { get; set; }
  107. /// <summary>
  108. /// 代扣保险
  109. /// </summary>
  110. public decimal WithholdingInsurance { get; set; }
  111. /// <summary>
  112. /// 代扣公积金
  113. /// </summary>
  114. public decimal ReservedFunds { get; set; }
  115. /// <summary> /// 代扣个税 /// </summary> public decimal WithholdingTax { get; set; }
  116. /// <summary>
  117. /// 病假
  118. /// </summary>
  119. public decimal SickLeave { get; set; }
  120. /// <summary>
  121. /// 事假
  122. /// </summary>
  123. public decimal SomethingFalse { get; set; }
  124. /// <summary>
  125. /// 迟到
  126. /// 计算次数
  127. /// </summary>
  128. public decimal LateTo { get; set; }
  129. /// <summary>
  130. /// 早退
  131. /// 计算次数
  132. /// </summary>
  133. public decimal LeaveEarly { get; set; }
  134. /// <summary>
  135. /// 旷工
  136. /// 小时计算 7.5小时一天
  137. /// </summary>
  138. public decimal Absenteeism { get; set; }
  139. /// <summary>
  140. /// 未打卡
  141. /// </summary>
  142. public decimal NotPunch { get; set; }
  143. /// <summary>
  144. /// 其他扣款
  145. /// </summary>
  146. public decimal OtherDeductions { get; set; }
  147. /// <summary>
  148. /// 假勤 / 打卡补卡 明细
  149. /// </summary>
  150. public string? Ex_ItemsRemark { get; set; }
  151. }
  152. /// <summary>
  153. /// 删除
  154. /// </summary>
  155. public class WageDelDto
  156. {
  157. /// <summary>
  158. /// 用户Id
  159. /// </summary>
  160. public int UserId { get; set; }
  161. /// <summary>
  162. ///
  163. /// </summary>
  164. public int Id { get; set; }
  165. }
  166. /// <summary>
  167. /// 计算工资 Dto
  168. /// </summary>
  169. public class SalaryCalculatorDto
  170. {
  171. /// <summary>
  172. /// 员工Id
  173. /// </summary>
  174. public int UserId { get; set; }
  175. /// <summary>
  176. /// 年月
  177. /// eg 2023-10
  178. /// </summary>
  179. public string? yearMonth { get; set; }
  180. /// <summary>
  181. ///开始日期
  182. /// eg 2023-10-01
  183. /// </summary>
  184. public string? startDt { get; set; }
  185. /// <summary>
  186. /// 结束日期
  187. /// eg 2023-10-01
  188. /// </summary>
  189. public string? endDt { get; set; }
  190. }
  191. /// <summary>
  192. /// 计算工资 单个 Dto
  193. /// </summary>
  194. public class SalaryCalculatorSingleDto
  195. {
  196. /// <summary>
  197. /// 用户Id
  198. /// </summary>
  199. public int UserId { get; set; }
  200. /// <summary>
  201. /// 年月
  202. /// </summary>
  203. public string? YearMonth { get; set; }
  204. /// <summary>
  205. /// 工资日期 起
  206. /// </summary>
  207. public string? StartDate { get; set; }
  208. /// <summary>
  209. /// 工资日期 止
  210. /// </summary>
  211. public string? EndDate { get; set; }
  212. /// <summary>
  213. /// 基本工资
  214. /// </summary>
  215. public decimal Basic { get; set; }
  216. /// <summary>
  217. /// 绩效工资
  218. /// </summary>
  219. public decimal Floats { get; set; }
  220. /// <summary>
  221. /// 岗位津贴
  222. /// </summary>
  223. public decimal PostAllowance { get; set; }
  224. /// <summary>
  225. /// 保密费
  226. /// </summary>
  227. public decimal InformationSecurityFee { get; set; }
  228. /// <summary>
  229. /// 其他应付
  230. /// 主要用来填比如补发工资之类
  231. /// </summary>
  232. public decimal otherHandle { get; set; }
  233. /// <summary>
  234. /// 月度补贴/其他补贴
  235. /// </summary>
  236. public decimal OtherSubsidies { get; set; }
  237. /// <summary>
  238. /// 餐补
  239. /// </summary>
  240. public decimal Mealsupplement { get; set; }
  241. /// <summary>
  242. /// 个税
  243. /// </summary>
  244. public decimal WithholdingTax { get; set; }
  245. /// <summary> /// 代扣公积金 /// </summary> public decimal ReservedFunds { get; set; }
  246. /// <summary> /// 代扣保险 /// </summary> public decimal WithholdingInsurance { get; set; }
  247. /// <summary> /// 其他扣款 /// </summary> public decimal OtherDeductions { get; set; }
  248. }
  249. }