ForForeignReceivablesDto.cs 2.9 KB

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