Fin_ForeignReceivables.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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.Entities.Financial
  7. {
  8. /// <summary>
  9. /// 财务 - 对外收款账单 应收
  10. /// 雷怡 2023-08-14 16:20
  11. /// </summary>
  12. [SugarTable("Fin_ForeignReceivables")]
  13. public class Fin_ForeignReceivables:EntityBase
  14. {
  15. /// <summary>
  16. /// 团组Id
  17. /// </summary>
  18. [SugarColumn(IsNullable = true,ColumnDataType = "int")]
  19. public int Diid { get; set; }
  20. /// <summary>
  21. /// 费用名称
  22. /// </summary>
  23. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(MAX)")]
  24. public string? PriceName { get; set; }
  25. /// <summary>
  26. /// 费用
  27. /// </summary>
  28. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  29. public decimal Price { get; set; }
  30. /// <summary>
  31. /// 数量
  32. /// </summary>
  33. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  34. public int Count { get; set; }
  35. /// <summary>
  36. /// 单位
  37. /// </summary>
  38. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  39. public string? Unit { get; set; }
  40. /// <summary>
  41. /// 单项总和
  42. /// </summary>
  43. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  44. public decimal ItemSumPrice { get; set; }
  45. /// <summary>
  46. /// 付款方 弃用 数据保留
  47. /// </summary>
  48. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(225)")]
  49. public string? To { get; set; }
  50. /// <summary>
  51. /// 付款方电话 弃用 数据保留
  52. /// </summary>
  53. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  54. public string? ToTel { get; set; }
  55. /// <summary>
  56. /// 付款日期 弃用 数据保留
  57. /// </summary>
  58. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  59. public string? PayDate { get; set; }
  60. /// <summary>
  61. /// 付款注意事项 弃用 数据保留
  62. /// </summary>
  63. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(500)")]
  64. public string? Attention { get; set; }
  65. /// <summary>
  66. /// 汇率
  67. /// </summary>
  68. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")]
  69. public decimal Rate { get; set; }
  70. /// <summary>
  71. /// 币种
  72. /// </summary>
  73. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  74. public int Currency { get; set; }
  75. /// <summary>
  76. /// 添加方式
  77. /// 0 - 账单模块 1 - 成本预算模块 2 - 分摊费用 3 - 其他费用
  78. /// 0 - 账单模块 1 - 成本预算模块 2 - 实际报价 3 - 超支费用
  79. /// TODO:增加费用类型
  80. /// </summary>
  81. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  82. public int AddingWay { get; set; }
  83. /// <summary>
  84. /// 审核状态 AddingWay==2该项有值
  85. /// 0 - 未审核 1 - 审核通过 2 - 审核不通过
  86. /// </summary>
  87. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  88. public int Status { get; set; } = 0;
  89. /// <summary>
  90. /// 审核人 AddingWay==2该项有值
  91. /// </summary>
  92. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  93. public int Auditor { get; set; } = 0;
  94. /// <summary>
  95. /// 审核时间 AddingWay==2该项有值
  96. /// </summary>
  97. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
  98. public string AuditTime { get; set; }
  99. }
  100. }