ViewHotelPay.cs 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using DAL;
  6. namespace Models
  7. {
  8. /// <summary>
  9. /// 酒店预订费用多表联查类 - 用于Excel
  10. /// </summary>
  11. public class ViewHotelPay
  12. {
  13. string city;
  14. /// <summary>
  15. /// 城市
  16. /// </summary>
  17. public string City
  18. {
  19. get { return city; }
  20. set { city = value; }
  21. }
  22. string hotelName;
  23. /// <summary>
  24. /// 酒店名称
  25. /// </summary>
  26. public string HotelName
  27. {
  28. get { return hotelName; }
  29. set { hotelName = value; }
  30. }
  31. public string CheckType { get; set; }
  32. string name;
  33. /// <summary>
  34. /// 币种
  35. /// </summary>
  36. public string Name
  37. {
  38. get { return name; }
  39. set { name = value; }
  40. }
  41. float singleRoomPrice;
  42. /// <summary>
  43. /// 单间价格
  44. /// </summary>
  45. public float SingleRoomPrice
  46. {
  47. get { return singleRoomPrice; }
  48. set { singleRoomPrice = value; }
  49. }
  50. int singleRoomCount;
  51. /// <summary>
  52. /// 单间数
  53. /// </summary>
  54. public int SingleRoomCount
  55. {
  56. get { return singleRoomCount; }
  57. set { singleRoomCount = value; }
  58. }
  59. float doubleRoomPrice;
  60. /// <summary>
  61. /// 双间价格
  62. /// </summary>
  63. public float DoubleRoomPrice
  64. {
  65. get { return doubleRoomPrice; }
  66. set { doubleRoomPrice = value; }
  67. }
  68. int doubleRoomCount;
  69. /// <summary>
  70. /// 双间数
  71. /// </summary>
  72. public int DoubleRoomCount
  73. {
  74. get { return doubleRoomCount; }
  75. set { doubleRoomCount = value; }
  76. }
  77. float suiteRoomPrice;
  78. /// <summary>
  79. /// 套房价格
  80. /// </summary>
  81. public float SuiteRoomPrice
  82. {
  83. get { return suiteRoomPrice; }
  84. set { suiteRoomPrice = value; }
  85. }
  86. int suiteRoomCount;
  87. /// <summary>
  88. /// 套房数
  89. /// </summary>
  90. public int SuiteRoomCount
  91. {
  92. get { return suiteRoomCount; }
  93. set { suiteRoomCount = value; }
  94. }
  95. float otherRoomPrice;
  96. /// <summary>
  97. /// 其他房型价格
  98. /// </summary>
  99. public float OtherRoomPrice
  100. {
  101. get { return otherRoomPrice; }
  102. set { otherRoomPrice = value; }
  103. }
  104. int otherRoomCount;
  105. /// <summary>
  106. /// 其他房型数
  107. /// </summary>
  108. public int OtherRoomCount
  109. {
  110. get { return otherRoomCount; }
  111. set { otherRoomCount = value; }
  112. }
  113. float commission;
  114. /// <summary>
  115. /// 佣金
  116. /// </summary>
  117. public float Commission
  118. {
  119. get { return commission; }
  120. set { commission = value; }
  121. }
  122. float budget;
  123. /// <summary>
  124. /// 预算
  125. /// </summary>
  126. public float Budget
  127. {
  128. get { return budget; }
  129. set { budget = value; }
  130. }
  131. float payMoney;
  132. /// <summary>
  133. /// 付款金额 - RMB
  134. /// </summary>
  135. public float PayMoney
  136. {
  137. get { return payMoney; }
  138. set { payMoney = value; }
  139. }
  140. float spread;
  141. /// <summary>
  142. /// 差价
  143. /// </summary>
  144. public float Spread
  145. {
  146. get { return spread; }
  147. set { spread = value; }
  148. }
  149. float moneys;
  150. /// <summary>
  151. /// 费用
  152. /// </summary>
  153. public float Moneys
  154. {
  155. get { return moneys; }
  156. set { moneys = value; }
  157. }
  158. string dayRate;
  159. /// <summary>
  160. /// 当时汇率
  161. /// </summary>
  162. public string DayRate
  163. {
  164. get { return dayRate; }
  165. set { dayRate = value; }
  166. }
  167. string operatorDate;
  168. /// <summary>
  169. /// 时间
  170. /// </summary>
  171. public string OperatorDate
  172. {
  173. get { return operatorDate; }
  174. set { operatorDate = value; }
  175. }
  176. string checkInDate;
  177. /// <summary>
  178. /// 入住时间
  179. /// </summary>
  180. public string CheckInDate
  181. {
  182. get { return checkInDate; }
  183. set { checkInDate = value; }
  184. }
  185. string checkOutDate;
  186. /// <summary>
  187. /// 退房时间
  188. /// </summary>
  189. public string CheckOutDate
  190. {
  191. get { return checkOutDate; }
  192. set { checkOutDate = value; }
  193. }
  194. string isPay;
  195. /// <summary>
  196. /// 付款状态
  197. /// </summary>
  198. public string IsPay
  199. {
  200. get { return isPay; }
  201. set
  202. {
  203. if (value != null && value != "" && value == "0")
  204. isPay = "未付款";
  205. else if (value != null && value != "" && value == "1")
  206. isPay = "已付款";
  207. else
  208. isPay = "未付款";
  209. }
  210. }
  211. string payee;
  212. /// <summary>
  213. /// 费用标识
  214. /// </summary>
  215. public string Payee
  216. {
  217. get { return payee; }
  218. set { payee = value; }
  219. }
  220. string orbitalPrivateTransfer;
  221. /// <summary>
  222. /// 费用标识
  223. /// </summary>
  224. public string OrbitalPrivateTransfer
  225. {
  226. get { return orbitalPrivateTransfer; }
  227. set {
  228. if (value != null && value != "" && value == "0")
  229. orbitalPrivateTransfer = "公转";
  230. else if (value != null && value != "" && value == "1")
  231. orbitalPrivateTransfer = "私转";
  232. else
  233. orbitalPrivateTransfer = "未知";
  234. }
  235. }
  236. string payDid;
  237. /// <summary>
  238. /// 支付方式
  239. /// </summary>
  240. public string PayDid
  241. {
  242. get { return payDid; }
  243. set { payDid = value; }
  244. }
  245. string paydName;
  246. /// <summary>
  247. /// 支付方式(名称)
  248. /// </summary>
  249. public string PaydName
  250. {
  251. get { return paydName; }
  252. set { paydName = value; }
  253. }
  254. string operators;
  255. public string Operator
  256. {
  257. get { return operators; }
  258. set { operators = value;}
  259. }
  260. public float BreakfasePrice { get => breakfasePrice; set => breakfasePrice = value; }
  261. float breakfasePrice;
  262. public int IsMatchCreditCard { get; set; }
  263. /// <summary>
  264. /// 地税
  265. /// </summary>
  266. public decimal GovernmentRent { get; set; }
  267. /// <summary>
  268. /// 城市税
  269. /// </summary>
  270. public decimal CityTax { get; set; }
  271. /// <summary>
  272. /// 卡类型
  273. /// </summary>
  274. public string CarType { get; set; }
  275. }
  276. }