ForForeignReceivablesNewDto.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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 - 预算成本页面添加
  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. /// Del
  94. /// </summary>
  95. public class ForeignReceivablesDelDto : PortDtoBase
  96. {
  97. /// <summary>
  98. /// 用户Id
  99. /// </summary>
  100. public int UserId { get; set; }
  101. public int Id { get; set; }
  102. }
  103. }