Grp_EnterExitCostDraft.cs 9.0 KB

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