Grp_EnterExitCostDraft.cs 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  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. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(500)")]
  103. public string TwoItemRemark { get; set; }
  104. #region 汇率币种
  105. /// <summary>
  106. /// 美元
  107. /// </summary>
  108. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")]
  109. public decimal RateUSD { get; set; }
  110. /// <summary>
  111. /// 日元
  112. /// </summary>
  113. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")]
  114. public decimal RateJPY { get; set; }
  115. /// <summary>
  116. /// 欧元
  117. /// </summary>
  118. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")]
  119. public decimal RateEUR { get; set; }
  120. /// <summary>
  121. /// 英镑
  122. /// </summary>
  123. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")]
  124. public decimal RateGBP { get; set; }
  125. /// <summary>
  126. /// 港币
  127. /// </summary>
  128. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")]
  129. public decimal RateHKD { get; set; }
  130. /// <summary>
  131. /// 多个币种存储
  132. /// 存储方式: 美元(USD):6.2350|.......|墨西哥比索(MXN):1.0000
  133. /// </summary>
  134. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(500)")]
  135. public string? CurrencyRemark { get; set; }
  136. #endregion
  137. #endregion
  138. #region 选择框状态
  139. /// <summary>
  140. /// 境内费用(其他费用)选择框
  141. /// </summary>
  142. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  143. public int ChoiceOne { get; set; }
  144. /// <summary>
  145. /// 国际旅费合计选择框
  146. /// </summary>
  147. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  148. public int ChoiceTwo { get; set; }
  149. /// <summary>
  150. /// 经济舱小计选择框
  151. /// </summary>
  152. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  153. public int SumJJC { get; set; }
  154. /// <summary>
  155. /// 公务舱小计选择框
  156. /// </summary>
  157. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  158. public int SumGWC { get; set; }
  159. /// <summary>
  160. /// 头等舱小计选择框
  161. /// </summary>
  162. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  163. public int SumTDC { get; set; }
  164. /// <summary>
  165. /// 住宿费合计选择框
  166. /// </summary>
  167. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  168. public int ChoiceThree { get; set; }
  169. /// <summary>
  170. /// 伙食费合计选择框
  171. /// </summary>
  172. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  173. public int ChoiceFour { get; set; }
  174. /// <summary>
  175. /// 公杂费合计选择框
  176. /// </summary>
  177. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  178. public int ChoiceFive { get; set; }
  179. /// <summary>
  180. /// 境内费用(其他费用)选择框
  181. /// </summary>
  182. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  183. public int ChoiceSix { get; set; }
  184. /// <summary>
  185. /// 经济舱选择框 - bottom(老OA使用 新OA弃用)
  186. /// </summary>
  187. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  188. public int AirJJC_Checked { get; set; }
  189. /// <summary>
  190. /// 公务舱选择框 - bottom(老OA使用 新OA弃用)
  191. /// </summary>
  192. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  193. public int AirGWC_Checked { get; set; }
  194. /// <summary>
  195. /// 头等舱选择框 - bottom(老OA使用 新OA弃用)
  196. /// </summary>
  197. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  198. public int AirTDC_Checked { get; set; }
  199. #endregion
  200. /// <summary>
  201. /// 确认费用(确认费用后 不可更改)
  202. /// 1:未确认 2:已确认
  203. /// </summary>
  204. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  205. public int IsConfirm { get; set; } = 1;
  206. /// <summary>
  207. /// 其他费用选择框
  208. /// </summary>
  209. public int OtherExpenses_Checked { get; set; }
  210. }
  211. }