Booking.java 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  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 List<HouseNumber> houseNumbers;//可分配房间号
  57. private String lockTime; // 锁定时间
  58. private Integer hstatus;//酒店营业状态(1 营业 2.休息)
  59. private Integer hotelStatus;//酒店状态(0删除 1正常,2冻结)
  60. private List<FileInfo> houseFileInfoList; // 房型详细图
  61. public Integer getId() {
  62. return id;
  63. }
  64. public void setId(Integer id) {
  65. this.id = id;
  66. }
  67. public String getOrderNum() {
  68. return orderNum;
  69. }
  70. public void setOrderNum(String orderNum) {
  71. this.orderNum = orderNum;
  72. }
  73. public String getOrderStatus() {
  74. return orderStatus;
  75. }
  76. public void setOrderStatus(String orderStatus) {
  77. this.orderStatus = orderStatus;
  78. }
  79. public String getOrderName() {
  80. return orderName;
  81. }
  82. public void setOrderName(String orderName) {
  83. this.orderName = orderName;
  84. }
  85. public String getUserIdnumber() {
  86. return userIdnumber;
  87. }
  88. public void setUserIdnumber(String userIdnumber) {
  89. this.userIdnumber = userIdnumber;
  90. }
  91. public String getUserName() {
  92. return userName;
  93. }
  94. public void setUserName(String userName) {
  95. this.userName = userName;
  96. }
  97. public String getUserPhone() {
  98. return userPhone;
  99. }
  100. public void setUserPhone(String userPhone) {
  101. this.userPhone = userPhone;
  102. }
  103. public String getHotelId() {
  104. return hotelId;
  105. }
  106. public void setHotelId(String hotelId) {
  107. this.hotelId = hotelId;
  108. }
  109. public String getHotelName() {
  110. return hotelName;
  111. }
  112. public void setHotelName(String hotelName) {
  113. this.hotelName = hotelName;
  114. }
  115. public String getHotelHposition() {
  116. return hotelHposition;
  117. }
  118. public void setHotelHposition(String hotelHposition) {
  119. this.hotelHposition = hotelHposition;
  120. }
  121. public String getHotelHpositionWens() {
  122. return hotelHpositionWens;
  123. }
  124. public void setHotelHpositionWens(String hotelHpositionWens) {
  125. this.hotelHpositionWens = hotelHpositionWens;
  126. }
  127. public String getHotelPhone() {
  128. return hotelPhone;
  129. }
  130. public void setHotelPhone(String hotelPhone) {
  131. this.hotelPhone = hotelPhone;
  132. }
  133. public String getHotelPerson() {
  134. return hotelPerson;
  135. }
  136. public void setHotelPerson(String hotelPerson) {
  137. this.hotelPerson = hotelPerson;
  138. }
  139. public String getHotelTownship() {
  140. return hotelTownship;
  141. }
  142. public void setHotelTownship(String hotelTownship) {
  143. this.hotelTownship = hotelTownship;
  144. }
  145. public String getHotelTownshipName() {
  146. return hotelTownshipName;
  147. }
  148. public void setHotelTownshipName(String hotelTownshipName) {
  149. this.hotelTownshipName = hotelTownshipName;
  150. }
  151. public String getHotelConfig() {
  152. return hotelConfig;
  153. }
  154. public void setHotelConfig(String hotelConfig) {
  155. this.hotelConfig = hotelConfig;
  156. }
  157. public String getHotelType() {
  158. return hotelType;
  159. }
  160. public void setHotelType(String hotelType) {
  161. this.hotelType = hotelType;
  162. }
  163. public String getHotelIsCanorder() {
  164. return hotelIsCanorder;
  165. }
  166. public void setHotelIsCanorder(String hotelIsCanorder) {
  167. this.hotelIsCanorder = hotelIsCanorder;
  168. }
  169. public String getHouseId() {
  170. return houseId;
  171. }
  172. public void setHouseId(String houseId) {
  173. this.houseId = houseId;
  174. }
  175. public String getHouseName() {
  176. return houseName;
  177. }
  178. public void setHouseName(String houseName) {
  179. this.houseName = houseName;
  180. }
  181. public String getHouseConfig() {
  182. return houseConfig;
  183. }
  184. public void setHouseConfig(String houseConfig) {
  185. this.houseConfig = houseConfig;
  186. }
  187. public double getHouseUnitPrice() {
  188. return houseUnitPrice;
  189. }
  190. public void setHouseUnitPrice(double houseUnitPrice) {
  191. this.houseUnitPrice = houseUnitPrice;
  192. }
  193. public double getHouseTotalPrice() {
  194. return houseTotalPrice;
  195. }
  196. public void setHouseTotalPrice(double houseTotalPrice) {
  197. this.houseTotalPrice = houseTotalPrice;
  198. }
  199. public int getHouseOrderNumber() {
  200. return houseOrderNumber;
  201. }
  202. public void setHouseOrderNumber(int houseOrderNumber) {
  203. this.houseOrderNumber = houseOrderNumber;
  204. }
  205. public String getHouseAreas() {
  206. return houseAreas;
  207. }
  208. public void setHouseAreas(String houseAreas) {
  209. this.houseAreas = houseAreas;
  210. }
  211. public String getHouseRemake() {
  212. return houseRemake;
  213. }
  214. public void setHouseRemake(String houseRemake) {
  215. this.houseRemake = houseRemake;
  216. }
  217. public String getOrderStartTime() {
  218. return DateUtil.convertDateTimeMysql(orderStartTime);
  219. }
  220. public void setOrderStartTime(String orderStartTime) {
  221. this.orderStartTime = orderStartTime;
  222. }
  223. public String getOrderEndTime() {
  224. return DateUtil.convertDateTimeMysql(orderEndTime);
  225. }
  226. public void setOrderEndTime(String orderEndTime) {
  227. this.orderEndTime = orderEndTime;
  228. }
  229. public String getOrderLiveTime() {
  230. return orderLiveTime;
  231. }
  232. public void setOrderLiveTime(String orderLiveTime) {
  233. this.orderLiveTime = orderLiveTime;
  234. }
  235. public String getOrderRemake() {
  236. return orderRemake;
  237. }
  238. public void setOrderRemake(String orderRemake) {
  239. this.orderRemake = orderRemake;
  240. }
  241. public String getCreateTime() {
  242. return DateUtil.convertDateTimeMysql(createTime);
  243. }
  244. public void setCreateTime(String createTime) {
  245. this.createTime = createTime;
  246. }
  247. public String getCreateUserid() {
  248. return createUserid;
  249. }
  250. public void setCreateUserid(String createUserid) {
  251. this.createUserid = createUserid;
  252. }
  253. public String getUpdateTime() {
  254. return DateUtil.convertDateTimeMysql(updateTime);
  255. }
  256. public void setUpdateTime(String updateTime) {
  257. this.updateTime = updateTime;
  258. }
  259. public String getPayTime() {
  260. return DateUtil.convertDateTimeMysql(payTime);
  261. }
  262. public void setPayTime(String payTime) {
  263. this.payTime = payTime;
  264. }
  265. public double getPayAccount() {
  266. return payAccount;
  267. }
  268. public void setPayAccount(double payAccount) {
  269. this.payAccount = payAccount;
  270. }
  271. public String getPayWay() {
  272. return payWay;
  273. }
  274. public void setPayWay(String payWay) {
  275. this.payWay = payWay;
  276. }
  277. public String getRefundWay() {
  278. return refundWay;
  279. }
  280. public void setRefundWay(String refundWay) {
  281. this.refundWay = refundWay;
  282. }
  283. public double getRefundAmount() {
  284. return refundAmount;
  285. }
  286. public void setRefundAmount(double refundAmount) {
  287. this.refundAmount = refundAmount;
  288. }
  289. public String getRefundTime() {
  290. return DateUtil.convertDateTimeMysql(refundTime);
  291. }
  292. public void setRefundTime(String refundTime) {
  293. this.refundTime = refundTime;
  294. }
  295. public String getCheckOutTime() {
  296. return DateUtil.convertDateTimeMysql(checkOutTime);
  297. }
  298. public void setCheckOutTime(String checkOutTime) {
  299. this.checkOutTime = checkOutTime;
  300. }
  301. public String getRemake() {
  302. return remake;
  303. }
  304. public void setRemake(String remake) {
  305. this.remake = remake;
  306. }
  307. public Integer getHotelManagerId() {
  308. return hotelManagerId;
  309. }
  310. public void setHotelManagerId(Integer hotelManagerId) {
  311. this.hotelManagerId = hotelManagerId;
  312. }
  313. public String getLockTime() {
  314. return lockTime;
  315. }
  316. public void setLockTime(String lockTime) {
  317. this.lockTime = lockTime;
  318. }
  319. public List getHotelConfigList() {
  320. return hotelConfigList;
  321. }
  322. public void setHotelConfigList(List hotelConfigList) {
  323. this.hotelConfigList = hotelConfigList;
  324. }
  325. public List getHouseConfigList() {
  326. return houseConfigList;
  327. }
  328. public void setHouseConfigList(List houseConfigList) {
  329. this.houseConfigList = houseConfigList;
  330. }
  331. public String getHotelIsOrder() {
  332. return hotelIsOrder;
  333. }
  334. public void setHotelIsOrder(String hotelIsOrder) {
  335. this.hotelIsOrder = hotelIsOrder;
  336. }
  337. public String getHotelIsCheckout() {
  338. return hotelIsCheckout;
  339. }
  340. public void setHotelIsCheckout(String hotelIsCheckout) {
  341. this.hotelIsCheckout = hotelIsCheckout;
  342. }
  343. public String getLiveTime() {
  344. return liveTime;
  345. }
  346. public void setLiveTime(String liveTime) {
  347. this.liveTime = liveTime;
  348. }
  349. public List<FileInfo> getHouseFileInfoList() {
  350. return houseFileInfoList;
  351. }
  352. public void setHouseFileInfoList(List<FileInfo> houseFileInfoList) {
  353. this.houseFileInfoList = houseFileInfoList;
  354. }
  355. public int getStatus_del() {
  356. return status_del;
  357. }
  358. public void setStatus_del(int status_del) {
  359. this.status_del = status_del;
  360. }
  361. public List<HouseNumber> getHouseNumbers() {
  362. return houseNumbers;
  363. }
  364. public void setHouseNumbers(List<HouseNumber> houseNumbers) {
  365. this.houseNumbers = houseNumbers;
  366. }
  367. public Integer getHstatus() {
  368. return hstatus;
  369. }
  370. public void setHstatus(Integer hstatus) {
  371. this.hstatus = hstatus;
  372. }
  373. public Integer getHotelStatus() {
  374. return hotelStatus;
  375. }
  376. public void setHotelStatus(Integer hotelStatus) {
  377. this.hotelStatus = hotelStatus;
  378. }
  379. }