Booking.java 11 KB

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