RoomVO.java 923 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package com.example.hotel.vo;
  2. import com.example.hotel.enums.RoomType;
  3. public class RoomVO {
  4. private Integer id;
  5. private String roomType;
  6. private Double price;
  7. private Integer curNum;
  8. private Integer total;
  9. public Integer getId() {
  10. return id;
  11. }
  12. public void setId(Integer id) {
  13. this.id = id;
  14. }
  15. public String getRoomType() {
  16. return roomType;
  17. }
  18. public void setRoomType(String roomType) {
  19. this.roomType = roomType;
  20. }
  21. public Double getPrice() {
  22. return price;
  23. }
  24. public void setPrice(Double price) {
  25. this.price = price;
  26. }
  27. public Integer getCurNum() {
  28. return curNum;
  29. }
  30. public void setCurNum(Integer curNum) {
  31. this.curNum = curNum;
  32. }
  33. public Integer getTotal() {
  34. return total;
  35. }
  36. public void setTotal(Integer total) {
  37. this.total = total;
  38. }
  39. }