OrderVO.java 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. package com.example.hotel.vo;
  2. import java.util.Date;
  3. /**
  4. * @Author: chenyizong
  5. * @Date: 2020-02-29
  6. */
  7. public class OrderVO {
  8. private Integer id;
  9. private Integer userId;
  10. private Integer hotelId;
  11. private Date checkInDate;
  12. private Date checkOutDate;
  13. private String roomType;
  14. private Integer roomNum;
  15. private Integer peopleNum;
  16. private boolean haveChild;
  17. private Date createDate;
  18. private Double price;
  19. public Integer getId() {
  20. return id;
  21. }
  22. public void setId(Integer id) {
  23. this.id = id;
  24. }
  25. public Integer getUserId() {
  26. return userId;
  27. }
  28. public void setUserId(Integer userId) {
  29. this.userId = userId;
  30. }
  31. public Integer getHotelId() {
  32. return hotelId;
  33. }
  34. public void setHotelId(Integer hotelId) {
  35. this.hotelId = hotelId;
  36. }
  37. public Date getCheckInnDate() {
  38. return checkInDate;
  39. }
  40. public void setCheckInnDate(Date checkInnDate) {
  41. this.checkInDate = checkInnDate;
  42. }
  43. public Date getCheckOutDate() {
  44. return checkOutDate;
  45. }
  46. public void setCheckOutDate(Date checkOutDate) {
  47. this.checkOutDate = checkOutDate;
  48. }
  49. public String getRoomType() {
  50. return roomType;
  51. }
  52. public void setRoomType(String roomType) {
  53. this.roomType = roomType;
  54. }
  55. public Integer getRoomNum() {
  56. return roomNum;
  57. }
  58. public void setRoomNum(Integer roomNum) {
  59. this.roomNum = roomNum;
  60. }
  61. public Integer getPeopleNum() {
  62. return peopleNum;
  63. }
  64. public void setPeopleNum(Integer peopleNum) {
  65. this.peopleNum = peopleNum;
  66. }
  67. public boolean isHaveChild() {
  68. return haveChild;
  69. }
  70. public void setHaveChild(boolean haveChild) {
  71. this.haveChild = haveChild;
  72. }
  73. public Date getCreateDate() {
  74. return createDate;
  75. }
  76. public void setCreateDate(Date createDate) {
  77. this.createDate = createDate;
  78. }
  79. public Double getPrice() {
  80. return price;
  81. }
  82. public void setPrice(Double price) {
  83. this.price = price;
  84. }
  85. }