Grp_EnterExitCostDraft.cs 8.2 KB

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