ProceedsReceivedDto.cs 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  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. /// 已收款项 del Dto
  10. /// </summary>
  11. public class ProceedsReceivedDelDto : PortDtoBase
  12. {
  13. /// <summary>
  14. /// 用户Id
  15. /// </summary>
  16. public int UserId { get; set; }
  17. /// <summary>
  18. /// id
  19. /// </summary>
  20. public int Id { get; set; }
  21. }
  22. /// <summary>
  23. /// 已收款项 Dto
  24. /// </summary>
  25. public class ProceedsReceivedDto : PortDtoBase
  26. {
  27. /// <summary>
  28. /// 用户Id
  29. /// </summary>
  30. public int UserId { get; set; }
  31. /// <summary>
  32. /// 团组Id
  33. /// </summary>
  34. public int DiId { get; set; }
  35. /// <summary>
  36. /// 已收款项infos
  37. /// </summary>
  38. public List<ProceedsReceivedInfo>? _ProceedsReceivedInfos { get; set; }
  39. }
  40. /// <summary>
  41. /// 已收款项info
  42. /// </summary>
  43. public class ProceedsReceivedInfo
  44. {
  45. /// <summary>
  46. /// 主键
  47. /// id == 0 Add
  48. /// 其他值时 Updata
  49. /// </summary>
  50. public int Id { get; set; }
  51. /// <summary>
  52. /// 到款时间
  53. /// </summary>
  54. public string? SectionTime { get; set; }
  55. /// <summary>
  56. /// 费用
  57. /// </summary>
  58. public decimal Price { get; set; }
  59. /// <summary>
  60. /// 币种
  61. /// </summary>
  62. public int Currency { get; set; }
  63. /// <summary>
  64. /// 收款类型
  65. /// </summary>
  66. public int ReceivablesType { get; set; }
  67. /// <summary>
  68. /// 收款单位
  69. /// </summary>
  70. public string? Client { get; set; }
  71. /// <summary>
  72. /// 收款单位 负责人 姓名
  73. /// </summary>
  74. public string? CustomerName { get; set; }
  75. /// <summary>
  76. /// 收款单位 负责人 姓名
  77. /// </summary>
  78. public string? CustomerTel { get; set; }
  79. /// <summary>
  80. /// 应付项id
  81. /// </summary>
  82. public int FID { get; set; }
  83. /// <summary>
  84. /// 备注
  85. /// </summary>
  86. public string? Remark { get; set; }
  87. }
  88. /// <summary>
  89. /// 分配已收款项 dto
  90. /// </summary>
  91. public class AllocateAmountReceivedDto:PortDtoBase
  92. {
  93. /// <summary>
  94. /// 用户Id
  95. /// </summary>
  96. public int UserId { get; set; }
  97. /// <summary>
  98. /// 应收款项Id
  99. /// </summary>
  100. public int ParentId { get; set; }
  101. /// <summary>
  102. /// 子 Id
  103. /// </summary>
  104. public List<int>? SubIds { get; set; }
  105. }
  106. #region word Download
  107. /// <summary>
  108. /// 收款账单 word Download
  109. /// </summary>
  110. public class AccountReceivableWordExportDto
  111. {
  112. /// <summary>
  113. /// 团组Id
  114. /// </summary>
  115. public int DiId { get; set; }
  116. /// <summary>
  117. /// 模板类型
  118. /// 1 四川 2 北京
  119. /// </summary>
  120. public int TemplateType { get; set; }
  121. }
  122. #endregion
  123. #region 已收款项
  124. /// <summary>
  125. /// 已收款项 Dto
  126. /// </summary>
  127. public class AmountReceivedDto:PortDtoBase
  128. {
  129. /// <summary>
  130. /// 团组Id
  131. /// </summary>
  132. public int DiId { get; set; }
  133. }
  134. /// <summary>
  135. /// 已收款项 Dto
  136. /// </summary>
  137. public class AmountReceivedAddOrEditDto : PortDtoBase
  138. {
  139. /// <summary>
  140. /// 用户Id
  141. /// </summary>
  142. public int UserId { get; set; }
  143. /// <summary>
  144. /// 团组Id
  145. /// </summary>
  146. public int DiId { get; set; }
  147. /// <summary>
  148. /// 已收款项infos
  149. /// </summary>
  150. public List<ProceedsReceived1Info>? _ProceedsReceivedInfos { get; set; }
  151. }
  152. /// <summary>
  153. /// 已收款项info
  154. /// </summary>
  155. public class ProceedsReceived1Info
  156. {
  157. /// <summary>
  158. /// 主键
  159. /// id == 0 Add
  160. /// 其他值时 Updata
  161. /// </summary>
  162. public int Id { get; set; }
  163. /// <summary>
  164. /// 到款时间
  165. /// </summary>
  166. public string? SectionTime { get; set; }
  167. /// <summary>
  168. /// 费用
  169. /// </summary>
  170. public decimal Price { get; set; }
  171. /// <summary>
  172. /// 币种
  173. /// </summary>
  174. public int Currency { get; set; }
  175. /// <summary>
  176. /// 收款类型
  177. /// </summary>
  178. public int ReceivablesType { get; set; }
  179. /// <summary>
  180. /// 收款单位
  181. /// </summary>
  182. public string? Client { get; set; }
  183. /// <summary>
  184. /// 收款单位 负责人 姓名
  185. /// </summary>
  186. public string? CustomerName { get; set; }
  187. /// <summary>
  188. /// 收款单位 负责人 姓名
  189. /// </summary>
  190. public string? CustomerTel { get; set; }
  191. /// <summary>
  192. /// 备注
  193. /// </summary>
  194. public string? Remark { get; set; }
  195. }
  196. /// <summary>
  197. /// 已收款项
  198. /// 删除
  199. /// </summary>
  200. public class AmountReceivedDelDto
  201. {
  202. /// <summary>
  203. /// 当前用户操作Id
  204. /// </summary>
  205. public int UserId { get; set; }
  206. public int Id { get; set; }
  207. }
  208. #endregion
  209. }