DailyFeePaymentDto.cs 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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.Financial
  7. {
  8. /// <summary>
  9. /// 日付申请 dto
  10. /// </summary>
  11. public class DailyFeePaymentDto
  12. {}
  13. /// <summary>
  14. /// 日付申请 分页 dto
  15. /// </summary>
  16. public class PageDailyFeePaymentDto : DtoBase
  17. {
  18. /// <summary>
  19. /// 费用所属公司
  20. /// -1 全部/未选择
  21. /// 其他Id 公司Id
  22. /// </summary>
  23. public int CompanyId { get; set; }
  24. /// <summary>
  25. /// 财务审核状态
  26. /// -1 全部/未选择
  27. /// 0 未审核
  28. /// 1 已审核
  29. /// 2 审核未通过
  30. /// </summary>
  31. public int FinancialAuditStatus { get; set; }
  32. /// <summary>
  33. /// 总经理审核状态
  34. /// -1 全部/未选择
  35. /// 0 未审核
  36. /// 1 已审核
  37. /// 2 审核未通过
  38. /// </summary>
  39. public int ManagerAuditStatus { get; set; }
  40. /// <summary>
  41. /// 费用类型
  42. /// -1 全部/未选择
  43. /// 其他Id 费用类型Id
  44. /// </summary>
  45. public int FeeTypeId { get; set; }
  46. /// <summary>
  47. /// 费用子类
  48. /// -1 全部/未选择
  49. /// 其他Id 费用子类Id
  50. /// </summary>
  51. public int FeeSubTypeId { get; set; }
  52. /// <summary>
  53. /// 费用说明
  54. /// </summary>
  55. public string? FeeDesc { get; set; }
  56. /// <summary>
  57. /// 申请人Id
  58. /// -1 全部/未选择
  59. /// 其他Id 员工Id
  60. /// </summary>
  61. public int CreateUserId { get; set; }
  62. /// <summary>
  63. /// 支付标识 -1:全部 0:未支付 1:已支付
  64. /// </summary>
  65. public int IsPaySign { get; set; } = -1;
  66. }
  67. /// <summary>
  68. /// 日付申请 Single Search
  69. /// </summary>
  70. public class SearchDailyFeePaymentDto : DtoBase
  71. {
  72. /// <summary>
  73. /// Id
  74. /// </summary>
  75. public int Id { get; set; }
  76. }
  77. /// <summary>
  78. /// 日付申请 Add Dto
  79. /// </summary>
  80. public class AddDailyFeePaymentDto : DtoBase
  81. {
  82. /// <summary>
  83. /// 员工Id
  84. /// </summary>
  85. public int UserId { get; set; }
  86. /// <summary>
  87. /// 申请说明
  88. /// </summary>
  89. public string? Instructions { get; set; }
  90. /// <summary>
  91. /// 合计
  92. /// </summary>
  93. public decimal SumPrice { get; set; }
  94. /// <summary>
  95. /// 转账表识Id 存储SetDataId
  96. /// </summary>
  97. public int TransferTypeId { get; set; }
  98. /// <summary>
  99. /// 费用类型Id 存储SetDataId
  100. /// </summary>
  101. public int PriceTypeId { get; set; }
  102. /// <summary>
  103. /// 公司Id
  104. /// </summary>
  105. public int CompanyId { get; set; }
  106. /// <summary>
  107. /// 费用明细
  108. /// </summary>
  109. public List<AddDailyFeePaymentContentDto> FeeContents { get; set; }
  110. }
  111. /// <summary>
  112. /// 日付申请内容 Add Dto
  113. /// </summary>
  114. public class AddDailyFeePaymentContentDto
  115. {
  116. /// <summary>
  117. /// 费用名称
  118. /// </summary>
  119. public string? PriceName { get; set; }
  120. /// <summary>
  121. /// 数量
  122. /// </summary>
  123. public decimal Quantity { get; set; }
  124. /// <summary>
  125. /// 单价
  126. /// </summary>
  127. public decimal Price { get; set; }
  128. /// <summary>
  129. /// 单项费用合计
  130. /// </summary>
  131. public decimal ItemTotal { get; set; }
  132. /// <summary>
  133. /// 备注
  134. /// </summary>
  135. public string Remark { get; set; }
  136. }
  137. /// <summary>
  138. /// 日付申请 Edit Dto
  139. /// </summary>
  140. public class EditDailyFeePaymentDto
  141. {
  142. /// <summary>
  143. /// Id
  144. /// </summary>
  145. public int Id { get; set; }
  146. /// <summary>
  147. /// 员工Id
  148. /// </summary>
  149. public int UserId { get; set; }
  150. /// <summary>
  151. /// 申请说明
  152. /// </summary>
  153. public string? Instructions { get; set; }
  154. /// <summary>
  155. /// 合计
  156. /// </summary>
  157. public decimal SumPrice { get; set; }
  158. /// <summary>
  159. /// 转账表识Id 存储SetDataId
  160. /// </summary>
  161. public int TransferTypeId { get; set; }
  162. /// <summary>
  163. /// 费用类型Id 存储SetDataId
  164. /// </summary>
  165. public int PriceTypeId { get; set; }
  166. /// <summary>
  167. /// 公司Id
  168. /// </summary>
  169. public int CompanyId { get; set; }
  170. /// <summary>
  171. /// 费用明细
  172. /// </summary>
  173. public List<EditDailyFeePaymentContentDto> FeeContents { get; set; }
  174. }
  175. public class EditDailyFeePaymentContentDto : AddDailyFeePaymentContentDto
  176. {
  177. /// <summary>
  178. /// Id
  179. /// </summary>
  180. public int Id { get; set; }
  181. }
  182. /// <summary>
  183. /// 日付申请 Del Dto
  184. /// </summary>
  185. public class DelDailyFeePaymentDto
  186. {
  187. /// <summary>
  188. /// Id
  189. /// </summary>
  190. public int Id { get; set; }
  191. /// <summary>
  192. /// 员工Id
  193. /// </summary>
  194. public int UserId { get; set; }
  195. }
  196. public class DP_AuditStatusDto
  197. {
  198. public int Id { get; set; }
  199. /// <summary>
  200. /// 审核类型
  201. /// 1 财务审核
  202. /// 2 总经理审核
  203. /// </summary>
  204. public int AuditType { get; set; }
  205. /// <summary>
  206. /// 审核 状态
  207. /// 0 未审核 1 已通过 2 未通过
  208. /// </summary>
  209. public int AuditStatus { get; set; }
  210. }
  211. }