|
|
@@ -0,0 +1,101 @@
|
|
|
+package com.example.hotel.po;
|
|
|
+
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @Author: chenyizong
|
|
|
+ * @Date: 2020-02-29
|
|
|
+ */
|
|
|
+public class Order {
|
|
|
+ private Integer id;
|
|
|
+ private Integer userId;
|
|
|
+ private Integer hotelId;
|
|
|
+ private Date checkInnDate;
|
|
|
+ private Date checkOutDate;
|
|
|
+ private String roomType;
|
|
|
+ private Integer roomNum;
|
|
|
+ private Integer peopleNum;
|
|
|
+ private boolean haveChild;
|
|
|
+ private Date createDate;
|
|
|
+
|
|
|
+ public Integer getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Integer id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getUserId() {
|
|
|
+ return userId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUserId(Integer userId) {
|
|
|
+ this.userId = userId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getHotelId() {
|
|
|
+ return hotelId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setHotelId(Integer hotelId) {
|
|
|
+ this.hotelId = hotelId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getCheckInnDate() {
|
|
|
+ return checkInnDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCheckInnDate(Date checkInnDate) {
|
|
|
+ this.checkInnDate = checkInnDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getCheckOutDate() {
|
|
|
+ return checkOutDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCheckOutDate(Date checkOutDate) {
|
|
|
+ this.checkOutDate = checkOutDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getRoomType() {
|
|
|
+ return roomType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRoomType(String roomType) {
|
|
|
+ this.roomType = roomType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getRoomNum() {
|
|
|
+ return roomNum;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRoomNum(Integer roomNum) {
|
|
|
+ this.roomNum = roomNum;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getPeopleNum() {
|
|
|
+ return peopleNum;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPeopleNum(Integer peopleNum) {
|
|
|
+ this.peopleNum = peopleNum;
|
|
|
+ }
|
|
|
+
|
|
|
+ public boolean isHaveChild() {
|
|
|
+ return haveChild;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setHaveChild(boolean haveChild) {
|
|
|
+ this.haveChild = haveChild;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getCreateDate() {
|
|
|
+ return createDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreateDate(Date createDate) {
|
|
|
+ this.createDate = createDate;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|