ForForeignReceivablesDto.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. public class ForeignReceivablesDataSourcesDto
  9. {
  10. public int CurrUserId { get; set; }
  11. }
  12. public class ForeignReceivablesDataSourcesOffSetDto
  13. {
  14. public int CurrUserId { get; set; }
  15. public int PageSize { get; set; }
  16. public int PageIndex { get; set; }
  17. public string SearchValue { get; set; }
  18. }
  19. /// <summary>
  20. /// 财务模块
  21. /// 对外收款
  22. /// </summary>
  23. public class ForForeignReceivablesInfoDto: PortDtoBase
  24. {
  25. /// <summary>
  26. /// 团组Id
  27. /// </summary>
  28. public int DiId { get; set; }
  29. }
  30. /// <summary>
  31. /// 财务模块
  32. /// 收款账单
  33. /// Add or Update Info
  34. /// </summary>
  35. public class ForeignReceivablesAddAndUpdateDto : PortDtoBase
  36. {
  37. /// <summary>
  38. /// 团组Id
  39. /// </summary>
  40. public int DiId { get; set; }
  41. /// <summary>
  42. /// 用户Id
  43. /// </summary>
  44. public int UserId { get; set; }
  45. /// <summary>
  46. /// 财务模块
  47. /// Add or Update Info
  48. /// </summary>
  49. public List<ForeignReceivablesInfo>? foreignReceivablesInfos { get; set; }
  50. }
  51. /// <summary>
  52. /// 财务模块
  53. /// Add or Update Info
  54. /// </summary>
  55. public class ForeignReceivablesInfo
  56. {
  57. /// <summary>
  58. /// 主键编号
  59. /// id=0 时添加
  60. /// 其他值时 修改
  61. /// </summary>
  62. public int Id { get; set; }
  63. /// <summary>
  64. /// 费用名称
  65. /// </summary>
  66. public string? PriceName { get; set; }
  67. /// <summary>
  68. /// 费用
  69. /// </summary>
  70. public decimal Price { get; set; }
  71. /// <summary>
  72. /// 数量
  73. /// </summary>
  74. public int Count { get; set; }
  75. /// <summary>
  76. /// 单位
  77. /// </summary>
  78. public string? Unit { get; set; }
  79. /// <summary>
  80. /// 单项总和
  81. /// </summary>
  82. public decimal ItemSumPrice { get; set; }
  83. /// <summary>
  84. /// 汇率
  85. /// </summary>
  86. public decimal Rate { get; set; }
  87. /// <summary>
  88. /// 币种
  89. /// </summary>
  90. public int Currency { get; set; }
  91. /// <summary>
  92. /// 添加方式
  93. /// 0 - 账单页面添加 1 - 预算成本页面添加
  94. /// </summary>
  95. public int AddingWay { get; set; }
  96. /// <summary>
  97. /// 备注
  98. /// </summary>
  99. public string? Remark { get; set; }
  100. }
  101. /// <summary>
  102. /// 应收款项 删除Id dto
  103. /// </summary>
  104. public class DelForForeignReceivablesInfoDto
  105. {
  106. /// <summary>
  107. /// 用户Id
  108. /// </summary>
  109. public int UserId { get; set; }
  110. /// <summary>
  111. /// 主键
  112. /// </summary>
  113. public int Id { get; set; }
  114. }
  115. }