Booking.java 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  1. package com.happy.Model;
  2. import com.happy.Until.DateUtil;
  3. import java.util.List;
  4. /**
  5. * 订单实体类
  6. */
  7. public class Booking {
  8. private Integer id;
  9. private String orderNum; // 订单号
  10. private String orderStatus; // 状态,1待支付,2已支付,3待入住,4已入住,5已消费,6支付超时,7已取消,8已退单,9已退款,10退款中
  11. private String orderName; // 状态名称,1待支付,2已支付,3待入住,4已入住,5已消费,6支付超时,7已取消,8已退单,9已退款,10退款中
  12. private String userIdnumber; // 住客身份号
  13. private String userName;//住客姓名
  14. private String userPhone;// 住客手机号
  15. private String hotelId;// 民宿id
  16. private Integer hotelManagerId;//所属商户Id
  17. private String hotelName;// 民宿名称
  18. private String hotelHposition; // 民宿位置
  19. private String hotelHpositionWens; // 民宿经纬度
  20. private String hotelPhone; // 民宿联系电话
  21. private String hotelPerson; // 民宿联系人
  22. private String hotelTownship; // 民宿所属乡镇
  23. private String hotelTownshipName; // 民宿所属乡镇
  24. private String hotelConfig; // 民宿配置
  25. private List hotelConfigList; // 民宿配置列表
  26. private String hotelType; // 民宿类型(舒适形、舒适型、包吃住型、普通型)
  27. private String hotelIsCanorder; // 是否可取消订单 (1是 2否)
  28. private String hotelIsOrder; // 是否自动接单 接单设置(1自动接单 2手动接单)
  29. private String hotelIsCheckout; // 是否自动退房(1是 2否)
  30. private String houseId; // 房型id
  31. private String houseName; // 户型名称
  32. private String houseConfig; //房间配置
  33. private List houseConfigList; //房间配置列表
  34. private double houseUnitPrice; // 房间单价
  35. private double houseTotalPrice; // 总价
  36. private int houseOrderNumber; // 订房数量
  37. private String houseAreas; // 房型面积
  38. private String houseRemake; // 房型备注
  39. private String orderStartTime; // 订房开始时间
  40. private String orderEndTime; // 订房结束时间
  41. private String orderLiveTime;// 订房入住时间合计
  42. private String orderRemake; // 订房备注
  43. private String createTime; // 订单创建时间
  44. private String createUserid; //订单创建人id
  45. private String updateTime; // 订单更新时间
  46. private String payTime; // 实际支付时间
  47. private double payAccount; // 实际支付金额
  48. private String payWay; // 支付方式:默认使用微信支付
  49. private String refundWay; // 退款方式
  50. private double refundAmount; // 退款金额
  51. private String refundTime; // 退款时间
  52. private String checkOutTime; // 离店时间
  53. private String remake; // 备注信息
  54. private int status_del; // 是否假删除:0删除,1正常
  55. private String liveTime;//入住时间
  56. private String lockTime; // 锁定时间
  57. private Integer hstatus;//酒店营业状态(1 营业 2.休息)
  58. private Integer hotelStatus;//酒店状态(0删除 1正常,2冻结)
  59. private List<FileInfo> houseFileInfoList; // 房型详细图
  60. public Integer getId() {
  61. return id;
  62. }
  63. public void setId(Integer id) {
  64. this.id = id;
  65. }
  66. public String getOrderNum() {
  67. return orderNum;
  68. }
  69. public void setOrderNum(String orderNum) {
  70. this.orderNum = orderNum;
  71. }
  72. public String getOrderStatus() {
  73. return orderStatus;
  74. }
  75. public void setOrderStatus(String orderStatus) {
  76. this.orderStatus = orderStatus;
  77. }
  78. public String getOrderName() {
  79. return orderName;
  80. }
  81. public void setOrderName(String orderName) {
  82. this.orderName = orderName;
  83. }
  84. public String getUserIdnumber() {
  85. return userIdnumber;
  86. }
  87. public void setUserIdnumber(String userIdnumber) {
  88. this.userIdnumber = userIdnumber;
  89. }
  90. public String getUserName() {
  91. return userName;
  92. }
  93. public void setUserName(String userName) {
  94. this.userName = userName;
  95. }
  96. public String getUserPhone() {
  97. return userPhone;
  98. }
  99. public void setUserPhone(String userPhone) {
  100. this.userPhone = userPhone;
  101. }
  102. public String getHotelId() {
  103. return hotelId;
  104. }
  105. public void setHotelId(String hotelId) {
  106. this.hotelId = hotelId;
  107. }
  108. public String getHotelName() {
  109. return hotelName;
  110. }
  111. public void setHotelName(String hotelName) {
  112. this.hotelName = hotelName;
  113. }
  114. public String getHotelHposition() {
  115. return hotelHposition;
  116. }
  117. public void setHotelHposition(String hotelHposition) {
  118. this.hotelHposition = hotelHposition;
  119. }
  120. public String getHotelHpositionWens() {
  121. return hotelHpositionWens;
  122. }
  123. public void setHotelHpositionWens(String hotelHpositionWens) {
  124. this.hotelHpositionWens = hotelHpositionWens;
  125. }
  126. public String getHotelPhone() {
  127. return hotelPhone;
  128. }
  129. public void setHotelPhone(String hotelPhone) {
  130. this.hotelPhone = hotelPhone;
  131. }
  132. public String getHotelPerson() {
  133. return hotelPerson;
  134. }
  135. public void setHotelPerson(String hotelPerson) {
  136. this.hotelPerson = hotelPerson;
  137. }
  138. public String getHotelTownship() {
  139. return hotelTownship;
  140. }
  141. public void setHotelTownship(String hotelTownship) {
  142. this.hotelTownship = hotelTownship;
  143. }
  144. public String getHotelTownshipName() {
  145. return hotelTownshipName;
  146. }
  147. public void setHotelTownshipName(String hotelTownshipName) {
  148. this.hotelTownshipName = hotelTownshipName;
  149. }
  150. public String getHotelConfig() {
  151. return hotelConfig;
  152. }
  153. public void setHotelConfig(String hotelConfig) {
  154. this.hotelConfig = hotelConfig;
  155. }
  156. public String getHotelType() {
  157. return hotelType;
  158. }
  159. public void setHotelType(String hotelType) {
  160. this.hotelType = hotelType;
  161. }
  162. public String getHotelIsCanorder() {
  163. return hotelIsCanorder;
  164. }
  165. public void setHotelIsCanorder(String hotelIsCanorder) {
  166. this.hotelIsCanorder = hotelIsCanorder;
  167. }
  168. public String getHouseId() {
  169. return houseId;
  170. }
  171. public void setHouseId(String houseId) {
  172. this.houseId = houseId;
  173. }
  174. public String getHouseName() {
  175. return houseName;
  176. }
  177. public void setHouseName(String houseName) {
  178. this.houseName = houseName;
  179. }
  180. public String getHouseConfig() {
  181. return houseConfig;
  182. }
  183. public void setHouseConfig(String houseConfig) {
  184. this.houseConfig = houseConfig;
  185. }
  186. public double getHouseUnitPrice() {
  187. return houseUnitPrice;
  188. }
  189. public void setHouseUnitPrice(double houseUnitPrice) {
  190. this.houseUnitPrice = houseUnitPrice;
  191. }
  192. public double getHouseTotalPrice() {
  193. return houseTotalPrice;
  194. }
  195. public void setHouseTotalPrice(double houseTotalPrice) {
  196. this.houseTotalPrice = houseTotalPrice;
  197. }
  198. public int getHouseOrderNumber() {
  199. return houseOrderNumber;
  200. }
  201. public void setHouseOrderNumber(int houseOrderNumber) {
  202. this.houseOrderNumber = houseOrderNumber;
  203. }
  204. public String getHouseAreas() {
  205. return houseAreas;
  206. }
  207. public void setHouseAreas(String houseAreas) {
  208. this.houseAreas = houseAreas;
  209. }
  210. public String getHouseRemake() {
  211. return houseRemake;
  212. }
  213. public void setHouseRemake(String houseRemake) {
  214. this.houseRemake = houseRemake;
  215. }
  216. public String getOrderStartTime() {
  217. return DateUtil.convertDateTimeMysql(orderStartTime);
  218. }
  219. public void setOrderStartTime(String orderStartTime) {
  220. this.orderStartTime = orderStartTime;
  221. }
  222. public String getOrderEndTime() {
  223. return DateUtil.convertDateTimeMysql(orderEndTime);
  224. }
  225. public void setOrderEndTime(String orderEndTime) {
  226. this.orderEndTime = orderEndTime;
  227. }
  228. public String getOrderLiveTime() {
  229. return orderLiveTime;
  230. }
  231. public void setOrderLiveTime(String orderLiveTime) {
  232. this.orderLiveTime = orderLiveTime;
  233. }
  234. public String getOrderRemake() {
  235. return orderRemake;
  236. }
  237. public void setOrderRemake(String orderRemake) {
  238. this.orderRemake = orderRemake;
  239. }
  240. public String getCreateTime() {
  241. return DateUtil.convertDateTimeMysql(createTime);
  242. }
  243. public void setCreateTime(String createTime) {
  244. this.createTime = createTime;
  245. }
  246. public String getCreateUserid() {
  247. return createUserid;
  248. }
  249. public void setCreateUserid(String createUserid) {
  250. this.createUserid = createUserid;
  251. }
  252. public String getUpdateTime() {
  253. return DateUtil.convertDateTimeMysql(updateTime);
  254. }
  255. public void setUpdateTime(String updateTime) {
  256. this.updateTime = updateTime;
  257. }
  258. public String getPayTime() {
  259. return DateUtil.convertDateTimeMysql(payTime);
  260. }
  261. public void setPayTime(String payTime) {
  262. this.payTime = payTime;
  263. }
  264. public double getPayAccount() {
  265. return payAccount;
  266. }
  267. public void setPayAccount(double payAccount) {
  268. this.payAccount = payAccount;
  269. }
  270. public String getPayWay() {
  271. return payWay;
  272. }
  273. public void setPayWay(String payWay) {
  274. this.payWay = payWay;
  275. }
  276. public String getRefundWay() {
  277. return refundWay;
  278. }
  279. public void setRefundWay(String refundWay) {
  280. this.refundWay = refundWay;
  281. }
  282. public double getRefundAmount() {
  283. return refundAmount;
  284. }
  285. public void setRefundAmount(double refundAmount) {
  286. this.refundAmount = refundAmount;
  287. }
  288. public String getRefundTime() {
  289. return DateUtil.convertDateTimeMysql(refundTime);
  290. }
  291. public void setRefundTime(String refundTime) {
  292. this.refundTime = refundTime;
  293. }
  294. public String getCheckOutTime() {
  295. return DateUtil.convertDateTimeMysql(checkOutTime);
  296. }
  297. public void setCheckOutTime(String checkOutTime) {
  298. this.checkOutTime = checkOutTime;
  299. }
  300. public String getRemake() {
  301. return remake;
  302. }
  303. public void setRemake(String remake) {
  304. this.remake = remake;
  305. }
  306. public Integer getHotelManagerId() {
  307. return hotelManagerId;
  308. }
  309. public void setHotelManagerId(Integer hotelManagerId) {
  310. this.hotelManagerId = hotelManagerId;
  311. }
  312. public String getLockTime() {
  313. return lockTime;
  314. }
  315. public void setLockTime(String lockTime) {
  316. this.lockTime = lockTime;
  317. }
  318. public List getHotelConfigList() {
  319. return hotelConfigList;
  320. }
  321. public void setHotelConfigList(List hotelConfigList) {
  322. this.hotelConfigList = hotelConfigList;
  323. }
  324. public List getHouseConfigList() {
  325. return houseConfigList;
  326. }
  327. public void setHouseConfigList(List houseConfigList) {
  328. this.houseConfigList = houseConfigList;
  329. }
  330. public String getHotelIsOrder() {
  331. return hotelIsOrder;
  332. }
  333. public void setHotelIsOrder(String hotelIsOrder) {
  334. this.hotelIsOrder = hotelIsOrder;
  335. }
  336. public String getHotelIsCheckout() {
  337. return hotelIsCheckout;
  338. }
  339. public void setHotelIsCheckout(String hotelIsCheckout) {
  340. this.hotelIsCheckout = hotelIsCheckout;
  341. }
  342. public String getLiveTime() {
  343. return liveTime;
  344. }
  345. public void setLiveTime(String liveTime) {
  346. this.liveTime = liveTime;
  347. }
  348. public List<FileInfo> getHouseFileInfoList() {
  349. return houseFileInfoList;
  350. }
  351. public void setHouseFileInfoList(List<FileInfo> houseFileInfoList) {
  352. this.houseFileInfoList = houseFileInfoList;
  353. }
  354. public int getStatus_del() {
  355. return status_del;
  356. }
  357. public void setStatus_del(int status_del) {
  358. this.status_del = status_del;
  359. }
  360. public Integer getHstatus() {
  361. return hstatus;
  362. }
  363. public void setHstatus(Integer hstatus) {
  364. this.hstatus = hstatus;
  365. }
  366. public Integer getHotelStatus() {
  367. return hotelStatus;
  368. }
  369. public void setHotelStatus(Integer hotelStatus) {
  370. this.hotelStatus = hotelStatus;
  371. }
  372. }