Booking.java 10 KB

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