ForForeignReceivablesDto.cs 2.8 KB

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