ForForeignReceivablesNewDto.cs 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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. /// Add or Update Info
  43. /// </summary>
  44. public class ForeignReceivablesInfoNew
  45. {
  46. /// <summary>
  47. /// 主键编号
  48. /// id=0 时添加
  49. /// 其他值时 修改
  50. /// </summary>
  51. public int Id { get; set; }
  52. /// <summary>
  53. /// 费用名称
  54. /// </summary>
  55. public string? PriceName { get; set; }
  56. /// <summary>
  57. /// 费用
  58. /// </summary>
  59. public decimal Price { get; set; }
  60. /// <summary>
  61. /// 数量
  62. /// </summary>
  63. public int Count { get; set; }
  64. /// <summary>
  65. /// 单位
  66. /// </summary>
  67. public string? Unit { get; set; }
  68. /// <summary>
  69. /// 单项总和
  70. /// </summary>
  71. public decimal ItemSumPrice { get; set; }
  72. /// <summary>
  73. /// 汇率
  74. /// </summary>
  75. public decimal Rate { get; set; }
  76. /// <summary>
  77. /// 币种
  78. /// </summary>
  79. public int Currency { get; set; }
  80. /// <summary>
  81. /// 添加方式
  82. /// 0 - 账单模块 1 - 成本预算模块 2 - 实际报价 3 - 超支费用
  83. /// </summary>
  84. public int AddingWay { get; set; }
  85. /// <summary>
  86. /// 备注
  87. /// </summary>
  88. public string? Remark { get; set; }
  89. }
  90. /// <summary>
  91. /// 财务模块
  92. /// 收款账单
  93. /// Audit
  94. /// </summary>
  95. public class FeeAuditDto : PortDtoBase
  96. {
  97. /// <summary>
  98. /// 用户Id
  99. /// </summary>
  100. public int UserId { get; set; }
  101. public int Id { get; set; }
  102. public int Status { get; set; } = 1;
  103. }
  104. /// <summary>
  105. /// 财务模块
  106. /// 收款账单
  107. /// Del
  108. /// </summary>
  109. public class ForeignReceivablesDelDto : PortDtoBase
  110. {
  111. /// <summary>
  112. /// 用户Id
  113. /// </summary>
  114. public int UserId { get; set; }
  115. public int Id { get; set; }
  116. }
  117. public class OverSpSeteceivablesDto
  118. {
  119. public int DiId { get; set; }
  120. public int CreateUserId { get; set; }
  121. }
  122. /// <summary>
  123. /// 文件下载 Dto
  124. /// </summary>
  125. public class ForeignReceivablesFeilDownloadDto
  126. {
  127. public int DiId { get; set; }
  128. /// <summary>
  129. /// 文件类型
  130. /// 1 生成收款单(四川)
  131. /// 2 生成收款单(北京)
  132. /// 3 汇款账单
  133. /// </summary>
  134. public int FileType { get; set; }
  135. }
  136. }