ForForeignReceivablesNewDto.cs 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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. /// 财务模块
  10. /// 对外收款
  11. /// </summary>
  12. public class ForForeignReceivablesNewDto : PortDtoBase
  13. {
  14. /// <summary>
  15. /// 团组Id
  16. /// </summary>
  17. public int DiId { get; set; }
  18. }
  19. /// <summary>
  20. /// 财务模块
  21. /// 收款账单
  22. /// Add or Update Info
  23. /// </summary>
  24. public class ForeignReceivablesSaveDto : PortDtoBase
  25. {
  26. /// <summary>
  27. /// 团组Id
  28. /// </summary>
  29. public int DiId { get; set; }
  30. /// <summary>
  31. /// 用户Id
  32. /// </summary>
  33. public int UserId { get; set; }
  34. /// <summary>
  35. /// 财务模块
  36. /// Add or Update Info
  37. /// </summary>
  38. public List<ForeignReceivablesInfoNew>? foreignReceivablesInfos { get; set; }
  39. }
  40. /// <summary>
  41. /// 对外收款账单
  42. /// (单条数据)添加 And 更新 Dto
  43. /// </summary>
  44. public class PostReceivablesSingleSaveDto : PortDtoBase
  45. {
  46. /// <summary>
  47. /// 团组Id
  48. /// </summary>
  49. public int DiId { get; set; }
  50. /// <summary>
  51. /// 用户Id
  52. /// </summary>
  53. public int UserId { get; set; }
  54. /// <summary>
  55. /// 主键编号
  56. /// id=0 时添加
  57. /// 其他值时 修改
  58. /// </summary>
  59. public int Id { get; set; }
  60. /// <summary>
  61. /// 费用名称
  62. /// </summary>
  63. public string? PriceName { get; set; }
  64. /// <summary>
  65. /// 费用
  66. /// </summary>
  67. public decimal Price { get; set; }
  68. /// <summary>
  69. /// 数量
  70. /// </summary>
  71. public int Count { get; set; }
  72. /// <summary>
  73. /// 单位
  74. /// </summary>
  75. public string? Unit { get; set; }
  76. /// <summary>
  77. /// 单项总和
  78. /// </summary>
  79. public decimal ItemSumPrice { get; set; }
  80. /// <summary>
  81. /// 汇率
  82. /// </summary>
  83. public decimal Rate { get; set; }
  84. /// <summary>
  85. /// 币种
  86. /// </summary>
  87. public int Currency { get; set; }
  88. /// <summary>
  89. /// 添加方式
  90. /// 0 - 账单模块 1 - 成本预算模块 2 - 实际报价 3 - 超支费用
  91. /// </summary>
  92. public int AddingWay { get; set; }
  93. /// <summary>
  94. /// 备注
  95. /// </summary>
  96. public string? Remark { get; set; }
  97. }
  98. /// <summary>
  99. /// 财务模块
  100. /// Add or Update Info
  101. /// </summary>
  102. public class ForeignReceivablesInfoNew
  103. {
  104. /// <summary>
  105. /// 主键编号
  106. /// id=0 时添加
  107. /// 其他值时 修改
  108. /// </summary>
  109. public int Id { get; set; }
  110. /// <summary>
  111. /// 费用名称
  112. /// </summary>
  113. public string? PriceName { get; set; }
  114. /// <summary>
  115. /// 费用
  116. /// </summary>
  117. public decimal Price { get; set; }
  118. /// <summary>
  119. /// 数量
  120. /// </summary>
  121. public int Count { get; set; }
  122. /// <summary>
  123. /// 单位
  124. /// </summary>
  125. public string? Unit { get; set; }
  126. /// <summary>
  127. /// 单项总和
  128. /// </summary>
  129. public decimal ItemSumPrice { get; set; }
  130. /// <summary>
  131. /// 汇率
  132. /// </summary>
  133. public decimal Rate { get; set; }
  134. /// <summary>
  135. /// 币种
  136. /// </summary>
  137. public int Currency { get; set; }
  138. /// <summary>
  139. /// 添加方式
  140. /// 0 - 账单模块 1 - 成本预算模块 2 - 实际报价 3 - 超支费用
  141. /// </summary>
  142. public int AddingWay { get; set; }
  143. /// <summary>
  144. /// 备注
  145. /// </summary>
  146. public string? Remark { get; set; }
  147. }
  148. /// <summary>
  149. /// 财务模块
  150. /// 收款账单
  151. /// Audit
  152. /// </summary>
  153. public class FeeAuditDto : PortDtoBase
  154. {
  155. /// <summary>
  156. /// 用户Id
  157. /// </summary>
  158. public int UserId { get; set; }
  159. public int Id { get; set; }
  160. public int Status { get; set; } = 1;
  161. }
  162. /// <summary>
  163. /// 财务模块
  164. /// 收款账单
  165. /// Del
  166. /// </summary>
  167. public class ForeignReceivablesDelDto : PortDtoBase
  168. {
  169. /// <summary>
  170. /// 用户Id
  171. /// </summary>
  172. public int UserId { get; set; }
  173. public int Id { get; set; }
  174. }
  175. public class OverSpSeteceivablesDto
  176. {
  177. public int DiId { get; set; }
  178. public int CreateUserId { get; set; }
  179. }
  180. /// <summary>
  181. /// 文件下载 Dto
  182. /// </summary>
  183. public class ForeignReceivablesFeilDownloadDto
  184. {
  185. public int DiId { get; set; }
  186. /// <summary>
  187. /// 文件类型
  188. /// 1 生成收款单(四川)
  189. /// 2 生成收款单(北京)
  190. /// 3 汇款账单
  191. /// </summary>
  192. public int FileType { get; set; }
  193. }
  194. }