Booking.java 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  1. package com.happy.Model;
  2. import java.util.Date;
  3. /**
  4. * 订单实体类
  5. */
  6. public class Booking {
  7. private int id;
  8. private String orderNum; // 订单号
  9. private String orderStatus; // 状态,1待支付,2已支付,3待入住,4已入住,5已消费,6支付超时,7已取消,8已退单,9已退款
  10. private String userIdnumber; // 住客身份号
  11. private String userName;//住客姓名
  12. private String userPhone;// 住客手机号
  13. private String hotelId;// 民宿id
  14. private String hotelName;// 民宿名称
  15. private String hotelHposition; // 民宿位置
  16. private String hotelHpositionWens; // 民宿经纬度
  17. private String hotelPhone; // 民宿联系电话
  18. private String hotelPerson; // 民宿联系人
  19. private String hotelManagerId; // 所属商家id
  20. private String hotelTownship; // 民宿所属乡镇
  21. private String hotelConfig; // 民宿配置
  22. private String hotelType; // 民宿类型
  23. private String hotelIsCanorder; // 是否可取消订单
  24. private String houseId; // 房型id
  25. private String houseName; // 户型名称
  26. private String houseConfig; //房间配置
  27. private double houseUnitPrice; // 房间单价
  28. private double houseTotalPrice; // 总价
  29. private int houseOrderNumber; // 订房数量
  30. private String houseAreas; // 房型面积
  31. private String houseRemake; // 房型备注
  32. private Date orderStartTime; // 订房开始时间
  33. private Date orderEndTime; // 订房结束时间
  34. private String orderLiveTime;// 订房入住时间合计
  35. private String orderRemake; // 订房备注
  36. private Date createTime; // 订单创建时间
  37. private String createUserid; //订单创建人id
  38. private Date updateTime; // 订单更新时间
  39. private Date payTime; // 实际支付时间
  40. private double payAccount; // 实际支付金额
  41. private String payWay; // 支付方式:默认使用微信支付
  42. private String refundWay; // 退款方式
  43. private double refundAmount; // 退款金额
  44. private Date refundTime; // 退款时间
  45. private Date checkOutTime; // 离店时间
  46. private String remake; // 备注信息
  47. public int getId() {
  48. return id;
  49. }
  50. public void setId(int id) {
  51. this.id = id;
  52. }
  53. public String getOrderNum() {
  54. return orderNum;
  55. }
  56. public void setOrderNum(String orderNum) {
  57. this.orderNum = orderNum;
  58. }
  59. public String getOrderStatus() {
  60. return orderStatus;
  61. }
  62. public void setOrderStatus(String orderStatus) {
  63. this.orderStatus = orderStatus;
  64. }
  65. public String getUserIdnumber() {
  66. return userIdnumber;
  67. }
  68. public void setUserIdnumber(String userIdnumber) {
  69. this.userIdnumber = userIdnumber;
  70. }
  71. public String getUserName() {
  72. return userName;
  73. }
  74. public void setUserName(String userName) {
  75. this.userName = userName;
  76. }
  77. public String getUserPhone() {
  78. return userPhone;
  79. }
  80. public void setUserPhone(String userPhone) {
  81. this.userPhone = userPhone;
  82. }
  83. public String getHotelId() {
  84. return hotelId;
  85. }
  86. public void setHotelId(String hotelId) {
  87. this.hotelId = hotelId;
  88. }
  89. public String getHotelName() {
  90. return hotelName;
  91. }
  92. public void setHotelName(String hotelName) {
  93. this.hotelName = hotelName;
  94. }
  95. public String getHotelHposition() {
  96. return hotelHposition;
  97. }
  98. public void setHotelHposition(String hotelHposition) {
  99. this.hotelHposition = hotelHposition;
  100. }
  101. public String getHotelHpositionWens() {
  102. return hotelHpositionWens;
  103. }
  104. public void setHotelHpositionWens(String hotelHpositionWens) {
  105. this.hotelHpositionWens = hotelHpositionWens;
  106. }
  107. public String getHotelPhone() {
  108. return hotelPhone;
  109. }
  110. public void setHotelPhone(String hotelPhone) {
  111. this.hotelPhone = hotelPhone;
  112. }
  113. public String getHotelPerson() {
  114. return hotelPerson;
  115. }
  116. public void setHotelPerson(String hotelPerson) {
  117. this.hotelPerson = hotelPerson;
  118. }
  119. public String getHotelTownship() {
  120. return hotelTownship;
  121. }
  122. public void setHotelTownship(String hotelTownship) {
  123. this.hotelTownship = hotelTownship;
  124. }
  125. public String getHotelConfig() {
  126. return hotelConfig;
  127. }
  128. public void setHotelConfig(String hotelConfig) {
  129. this.hotelConfig = hotelConfig;
  130. }
  131. public String getHotelType() {
  132. return hotelType;
  133. }
  134. public void setHotelType(String hotelType) {
  135. this.hotelType = hotelType;
  136. }
  137. public String getHotelIsCanorder() {
  138. return hotelIsCanorder;
  139. }
  140. public void setHotelIsCanorder(String hotelIsCanorder) {
  141. this.hotelIsCanorder = hotelIsCanorder;
  142. }
  143. public String getHouseId() {
  144. return houseId;
  145. }
  146. public void setHouseId(String houseId) {
  147. this.houseId = houseId;
  148. }
  149. public String getHouseName() {
  150. return houseName;
  151. }
  152. public void setHouseName(String houseName) {
  153. this.houseName = houseName;
  154. }
  155. public String getHouseConfig() {
  156. return houseConfig;
  157. }
  158. public void setHouseConfig(String houseConfig) {
  159. this.houseConfig = houseConfig;
  160. }
  161. public double getHouseUnitPrice() {
  162. return houseUnitPrice;
  163. }
  164. public void setHouseUnitPrice(double houseUnitPrice) {
  165. this.houseUnitPrice = houseUnitPrice;
  166. }
  167. public double getHouseTotalPrice() {
  168. return houseTotalPrice;
  169. }
  170. public void setHouseTotalPrice(double houseTotalPrice) {
  171. this.houseTotalPrice = houseTotalPrice;
  172. }
  173. public int getHouseOrderNumber() {
  174. return houseOrderNumber;
  175. }
  176. public void setHouseOrderNumber(int houseOrderNumber) {
  177. this.houseOrderNumber = houseOrderNumber;
  178. }
  179. public String getHouseAreas() {
  180. return houseAreas;
  181. }
  182. public void setHouseAreas(String houseAreas) {
  183. this.houseAreas = houseAreas;
  184. }
  185. public String getHouseRemake() {
  186. return houseRemake;
  187. }
  188. public void setHouseRemake(String houseRemake) {
  189. this.houseRemake = houseRemake;
  190. }
  191. public Date getOrderStartTime() {
  192. return orderStartTime;
  193. }
  194. public void setOrderStartTime(Date orderStartTime) {
  195. this.orderStartTime = orderStartTime;
  196. }
  197. public Date getOrderEndTime() {
  198. return orderEndTime;
  199. }
  200. public void setOrderEndTime(Date orderEndTime) {
  201. this.orderEndTime = orderEndTime;
  202. }
  203. public String getOrderLiveTime() {
  204. return orderLiveTime;
  205. }
  206. public void setOrderLiveTime(String orderLiveTime) {
  207. this.orderLiveTime = orderLiveTime;
  208. }
  209. public String getOrderRemake() {
  210. return orderRemake;
  211. }
  212. public void setOrderRemake(String orderRemake) {
  213. this.orderRemake = orderRemake;
  214. }
  215. public Date getCreateTime() {
  216. return createTime;
  217. }
  218. public void setCreateTime(Date createTime) {
  219. this.createTime = createTime;
  220. }
  221. public String getCreateUserid() {
  222. return createUserid;
  223. }
  224. public void setCreateUserid(String createUserid) {
  225. this.createUserid = createUserid;
  226. }
  227. public Date getUpdateTime() {
  228. return updateTime;
  229. }
  230. public void setUpdateTime(Date updateTime) {
  231. this.updateTime = updateTime;
  232. }
  233. public Date getPayTime() {
  234. return payTime;
  235. }
  236. public void setPayTime(Date payTime) {
  237. this.payTime = payTime;
  238. }
  239. public double getPayAccount() {
  240. return payAccount;
  241. }
  242. public void setPayAccount(double payAccount) {
  243. this.payAccount = payAccount;
  244. }
  245. public String getPayWay() {
  246. return payWay;
  247. }
  248. public void setPayWay(String payWay) {
  249. this.payWay = payWay;
  250. }
  251. public String getRefundWay() {
  252. return refundWay;
  253. }
  254. public void setRefundWay(String refundWay) {
  255. this.refundWay = refundWay;
  256. }
  257. public double getRefundAmount() {
  258. return refundAmount;
  259. }
  260. public void setRefundAmount(double refundAmount) {
  261. this.refundAmount = refundAmount;
  262. }
  263. public Date getRefundTime() {
  264. return refundTime;
  265. }
  266. public void setRefundTime(Date refundTime) {
  267. this.refundTime = refundTime;
  268. }
  269. public Date getCheckOutTime() {
  270. return checkOutTime;
  271. }
  272. public void setCheckOutTime(Date checkOutTime) {
  273. this.checkOutTime = checkOutTime;
  274. }
  275. public String getRemake() {
  276. return remake;
  277. }
  278. public void setRemake(String remake) {
  279. this.remake = remake;
  280. }
  281. public String getHotelManagerId() {
  282. return hotelManagerId;
  283. }
  284. public void setHotelManagerId(String hotelManagerId) {
  285. this.hotelManagerId = hotelManagerId;
  286. }
  287. }