Grp_GroupCostParameter.cs 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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_GroupCostParameter")]
  12. public class Grp_GroupCostParameter:EntityBase
  13. {
  14. /// <summary>
  15. /// 团组ID
  16. /// </summary>
  17. [SugarColumn(IsNullable =true,ColumnDataType ="int")]
  18. public int DiId { get; set; }
  19. /// <summary>
  20. /// 币种
  21. /// </summary>
  22. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  23. public string Currency { get; set; }
  24. /// <summary>
  25. /// 汇率
  26. /// </summary>
  27. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  28. public decimal Rate { get; set; }
  29. /// <summary>
  30. /// 税率
  31. /// </summary>
  32. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  33. public decimal Tax { get; set; }
  34. /// <summary>
  35. /// 房费预算
  36. /// </summary>
  37. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  38. public decimal FFYS { get; set; }
  39. /// <summary>
  40. /// 酒店系数
  41. /// </summary>
  42. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  43. public decimal HotelXS { get; set; }
  44. /// <summary>
  45. /// 经济舱成本
  46. /// </summary>
  47. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  48. public decimal JJCCB { get; set; }
  49. /// <summary>
  50. /// 经济舱系数
  51. /// </summary>
  52. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  53. public decimal JJCXS { get; set; }
  54. /// <summary>
  55. /// 经济舱人数
  56. /// </summary>
  57. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  58. public int JJCRS { get; set; }
  59. /// <summary>
  60. /// 公务舱成本
  61. /// </summary>
  62. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  63. public decimal GWCCB { get; set; }
  64. /// <summary>
  65. /// 公务舱系数
  66. /// </summary>
  67. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  68. public decimal GWCXS { get; set; }
  69. /// <summary>
  70. /// 公务舱人数
  71. /// </summary>
  72. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  73. public int GWCRS { get; set; }
  74. /// <summary>
  75. /// 火车票成本
  76. /// </summary>
  77. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  78. public decimal HCPCB { get; set; }
  79. /// <summary>
  80. /// 火车票系数
  81. /// </summary>
  82. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  83. public decimal HCPXS { get; set; }
  84. /// <summary>
  85. /// 火车票人数
  86. /// </summary>
  87. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  88. public int HCPRS { get; set; }
  89. /// <summary>
  90. /// 船票成本
  91. /// </summary>
  92. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  93. public decimal CPCB { get; set; }
  94. /// <summary>
  95. /// 船票系数
  96. /// </summary>
  97. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  98. public decimal CPXS { get; set; }
  99. /// <summary>
  100. /// 船票人数
  101. /// </summary>
  102. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  103. public int CPRS { get; set; }
  104. /// <summary>
  105. /// 保险成本
  106. /// </summary>
  107. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  108. public decimal BXCB { get; set; }
  109. /// <summary>
  110. /// 保险系数
  111. /// </summary>
  112. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  113. public decimal BXXS { get; set; }
  114. /// <summary>
  115. /// 保险人数
  116. /// </summary>
  117. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  118. public int BXRS { get; set; }
  119. /// <summary>
  120. /// 核酸检测成本
  121. /// </summary>
  122. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  123. public decimal HSCB { get; set; }
  124. /// <summary>
  125. /// 核酸检测系数
  126. /// </summary>
  127. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  128. public decimal HSXS { get; set; }
  129. /// <summary>
  130. /// 核酸检测人数
  131. /// </summary>
  132. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  133. public int HSRS { get; set; }
  134. /// <summary>
  135. /// 签证成本
  136. /// </summary>
  137. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  138. public decimal VisaCB { get; set; }
  139. /// <summary>
  140. /// 签证系数
  141. /// </summary>
  142. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  143. public decimal VisaXS { get; set; }
  144. /// <summary>
  145. /// 签证人数
  146. /// </summary>
  147. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  148. public int VisaRS { get; set; }
  149. /// <summary>
  150. /// 公务成本 : 公杂费
  151. /// </summary>
  152. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  153. public decimal GWCB { get; set; }
  154. /// <summary>
  155. /// 公务系数: 公杂费
  156. /// </summary>
  157. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  158. public decimal GWXS { get; set; }
  159. /// <summary>
  160. /// 公务人数 : 公杂费
  161. /// </summary>
  162. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  163. public int GWRS { get; set; }
  164. /// <summary>
  165. /// 地接成本
  166. /// </summary>
  167. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  168. public decimal DJCB { get; set; }
  169. /// <summary>
  170. /// 地接人数
  171. /// </summary>
  172. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  173. public int DJRS { get; set; }
  174. /// <summary>
  175. /// 地接系数
  176. /// </summary>
  177. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  178. public decimal DJXS { get; set; }
  179. /// <summary>
  180. /// 单间 单人成本
  181. /// </summary>
  182. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  183. public decimal SGRCB { get; set; }
  184. /// <summary>
  185. /// 单间数量(人数)
  186. /// </summary>
  187. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  188. public int SGRNumber { get; set; }
  189. /// <summary>
  190. /// 单间 系数
  191. /// </summary>
  192. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  193. public decimal SGRXS { get; set; }
  194. /// <summary>
  195. /// 1/2标间 单人成本
  196. /// </summary>
  197. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  198. public decimal TBRCB { get; set; }
  199. /// <summary>
  200. /// 1/2标间数量(人数)
  201. /// </summary>
  202. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  203. public int TBRNumber { get; set; }
  204. /// <summary>
  205. /// 1/2标间 系数
  206. /// </summary>
  207. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  208. public decimal TBRXS { get; set; }
  209. /// <summary>
  210. /// 小套房/豪华套房 单人成本
  211. /// </summary>
  212. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  213. public decimal JSESCB { get; set; }
  214. /// <summary>
  215. /// 小套房/豪华套房数量(人数)
  216. /// </summary>
  217. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  218. public int JSESNumber { get; set; }
  219. /// <summary>
  220. /// 小套房/豪华套房 系数
  221. /// </summary>
  222. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  223. public decimal JSESXS { get; set; }
  224. /// <summary>
  225. /// 套房 单人成本
  226. /// </summary>
  227. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  228. public decimal SUITECB { get; set; }
  229. /// <summary>
  230. /// 套房数量(人数)
  231. /// </summary>
  232. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  233. public int SUITENumber { get; set; }
  234. /// <summary>
  235. /// 套房 系数
  236. /// </summary>
  237. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  238. public decimal SUITEXS { get; set; }
  239. /// <summary>
  240. /// 零用金成本
  241. /// </summary>
  242. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  243. public decimal LYJCB { get; set; }
  244. /// <summary>
  245. /// 零用金系数
  246. /// </summary>
  247. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")]
  248. public decimal LYJXS { get; set; }
  249. /// <summary>
  250. /// 零用金人数
  251. /// </summary>
  252. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  253. public int LYJRS { get; set; }
  254. /// <summary>
  255. /// 成本完成标识 0:未完成 1:完成
  256. /// </summary>
  257. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  258. public int IsShare { get; set; }
  259. /// <summary>
  260. /// 分段类型 A B
  261. /// </summary>
  262. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  263. public string CostType { get; set; }
  264. /// <summary>
  265. /// 开始时间
  266. /// </summary>
  267. [SugarColumn(IsNullable = true, ColumnDataType = "DateTime")]
  268. public string CostTypeStartTime { get; set; }
  269. /// <summary>
  270. /// 结束时间
  271. /// </summary>
  272. [SugarColumn(IsNullable = true, ColumnDataType = "DateTime")]
  273. public string CostTypeendTime { get; set; }
  274. /// <summary>
  275. /// 此段人数
  276. /// </summary>
  277. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  278. public int CostTypenumber { get; set; }
  279. /// <summary>
  280. /// 头等舱成本
  281. /// </summary>
  282. public decimal TDCCB { get; set; }
  283. /// <summary>
  284. /// 头等舱系数
  285. /// </summary>
  286. public decimal TDCXS { get; set; }
  287. /// <summary>
  288. /// 头等舱人数
  289. /// </summary>
  290. public int TDCRS { get; set; }
  291. }
  292. public class Grp_GroupCostParameterView: Grp_GroupCostParameter
  293. {
  294. }
  295. }