首页 > 代码库 > Don't care for details
Don't care for details
1 package com.zero.lab1.main; 2 3 public class Seat { 4 5 private Integer seatNum; 6 7 private Boolean avaliable; 8 9 public Seat(Integer seatNum, Boolean avaliable) {10 super();11 this.seatNum = seatNum;12 this.avaliable = avaliable;13 }14 15 public Seat() {16 super();17 }18 19 public Integer getSeatNum() {20 return seatNum;21 }22 23 public void setSeatNum(Integer seatNum) {24 this.seatNum = seatNum;25 }26 27 public Boolean getAvaliable() {28 return avaliable;29 }30 31 public void setAvaliable(Boolean avaliable) {32 this.avaliable = avaliable;33 }34 35 @Override36 public String toString() {37 return "Seat [seatNum=" + seatNum + ", avaliable=" + avaliable + "]";38 }39 40 }
Don't care for details
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。