Grp_EnterExitCost.cs 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. using OASystem.Domain.Enums;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace OASystem.Domain.Entities.Groups
  8. {
  9. /// <summary>
  10. /// 团组 - 出入境费用
  11. /// </summary>
  12. [SugarTable("Grp_EnterExitCost")]
  13. public class Grp_EnterExitCost : 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 = "decimal(10,2)")]
  24. public decimal InsidePay { get; set; }
  25. #region 境内费用(其他费用)子项
  26. /// <summary>
  27. /// 签证费
  28. /// </summary>
  29. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  30. public decimal Visa { get; set; }
  31. /// <summary>
  32. /// 签证费描述
  33. /// </summary>
  34. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(200)")]
  35. public string? VisaRemark { get; set; }
  36. /// <summary>
  37. /// 疫苗费
  38. /// </summary>
  39. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  40. public decimal YiMiao { get; set; }
  41. /// <summary>
  42. /// 核酸检测费用
  43. /// </summary>
  44. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  45. public decimal HeSuan { get; set; }
  46. /// <summary>
  47. /// 服务费用
  48. /// </summary>
  49. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  50. public decimal Service { get; set; }
  51. /// <summary>
  52. /// 参展门票
  53. /// </summary>
  54. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  55. public decimal Ticket { get; set; }
  56. /// <summary>
  57. /// 保险费
  58. /// </summary>
  59. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  60. public decimal Safe { get; set; }
  61. /// <summary>
  62. /// 第一项费用描述
  63. /// </summary>
  64. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(500)")]
  65. public string? FirstItemRemark { get; set; }
  66. #endregion
  67. /// <summary>
  68. /// 国际旅费合计(经济舱)
  69. /// </summary>
  70. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  71. public decimal OutsideJJPay { get; set; }
  72. /// <summary>
  73. /// 国际旅费合计(公务舱)
  74. /// </summary>
  75. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  76. public decimal OutsideGWPay { get; set; }
  77. /// <summary>
  78. /// 国际旅费合计(头等舱)
  79. /// </summary>
  80. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  81. public decimal OutsideTDPay { get; set; }
  82. #region 国际旅费合计(经济舱\公务舱\头等舱)
  83. /// <summary>
  84. /// 国际机票(经济舱)
  85. /// </summary>
  86. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  87. public decimal AirJJ { get; set; }
  88. /// <summary>
  89. /// 国际机票(公务舱)
  90. /// </summary>
  91. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  92. public decimal AirGW { get; set; }
  93. /// <summary>
  94. /// 国际机票(头等舱)
  95. /// </summary>
  96. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  97. public decimal AirTD { get; set; }
  98. /// <summary>
  99. /// 国外城市间交通费
  100. /// </summary>
  101. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  102. public decimal CityTranffic { get; set; }
  103. /// <summary>
  104. /// 第二项费用描述
  105. /// </summary>
  106. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(500)")]
  107. public string TwoItemRemark { get; set; }
  108. #region 汇率币种
  109. /// <summary>
  110. /// 美元
  111. /// </summary>
  112. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")]
  113. public decimal RateUSD { get; set; }
  114. /// <summary>
  115. /// 日元
  116. /// </summary>
  117. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")]
  118. public decimal RateJPY { get; set; }
  119. /// <summary>
  120. /// 欧元
  121. /// </summary>
  122. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")]
  123. public decimal RateEUR { get; set; }
  124. /// <summary>
  125. /// 英镑
  126. /// </summary>
  127. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")]
  128. public decimal RateGBP { get; set; }
  129. /// <summary>
  130. /// 港币
  131. /// </summary>
  132. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")]
  133. public decimal RateHKD { get; set; }
  134. /// <summary>
  135. /// 多个币种存储
  136. /// 存储方式: 美元(USD):6.2350|.......|墨西哥比索(MXN):1.0000
  137. /// </summary>
  138. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(500)")]
  139. public string? CurrencyRemark { get; set; }
  140. #endregion
  141. #endregion
  142. #region 选择框状态
  143. /// <summary>
  144. /// 境内费用(其他费用)选择框
  145. /// </summary>
  146. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  147. public int ChoiceOne { get; set; }
  148. /// <summary>
  149. /// 国际旅费合计选择框
  150. /// </summary>
  151. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  152. public int ChoiceTwo { get; set; }
  153. /// <summary>
  154. /// 经济舱小计选择框
  155. /// </summary>
  156. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  157. public int SumJJC { get; set; }
  158. /// <summary>
  159. /// 公务舱小计选择框
  160. /// </summary>
  161. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  162. public int SumGWC { get; set; }
  163. /// <summary>
  164. /// 头等舱小计选择框
  165. /// </summary>
  166. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  167. public int SumTDC { get; set; }
  168. /// <summary>
  169. /// 住宿费合计选择框
  170. /// </summary>
  171. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  172. public int ChoiceThree { get; set; }
  173. /// <summary>
  174. /// 伙食费合计选择框
  175. /// </summary>
  176. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  177. public int ChoiceFour { get; set; }
  178. /// <summary>
  179. /// 公杂费合计选择框
  180. /// </summary>
  181. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  182. public int ChoiceFive { get; set; }
  183. /// <summary>
  184. /// 境内费用(其他费用)选择框
  185. /// </summary>
  186. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  187. public int ChoiceSix { get; set; }
  188. /// <summary>
  189. /// 经济舱选择框 - bottom(老OA使用 新OA弃用)
  190. /// </summary>
  191. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  192. public int AirJJC_Checked { get; set; }
  193. /// <summary>
  194. /// 公务舱选择框 - bottom(老OA使用 新OA弃用)
  195. /// </summary>
  196. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  197. public int AirGWC_Checked { get; set; }
  198. /// <summary>
  199. /// 头等舱选择框 - bottom(老OA使用 新OA弃用)
  200. /// </summary>
  201. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  202. public int AirTDC_Checked { get; set; }
  203. #endregion
  204. /// <summary>
  205. /// 确认费用(确认费用后 不可更改)
  206. /// 1:未确认 2:已确认
  207. /// </summary>
  208. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  209. public int IsConfirm { get; set; } = 1;
  210. /// <summary>
  211. /// 其他费用选择框
  212. /// </summary>
  213. public int OtherExpenses_Checked { get; set; }
  214. }
  215. }