Grp_EnterExitCostDraft.cs 7.9 KB

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