Fin_ForeignReceivables.cs 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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(100)")]
  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. /// TODO:增加费用类型
  79. /// </summary>
  80. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  81. public int AddingWay { get; set; }
  82. }
  83. }