📄 roomtype.java
字号:
package vo;
// 包间种类
public class RoomType {
// 包间类型
private String roomType;
// 包间价格
private double roomPrice;
// 包间支付方式
private String chargePlan;
// 包间最大容量数
private double roomCapacity;
// 构造包间类型信息
public RoomType(String roomType,double roomPrice, String chargePlan,
int roomCapacity2) {
super();
this.roomType = roomType;
this.roomPrice = roomPrice;
this.chargePlan = chargePlan;
this.roomCapacity = roomCapacity;
}
// 获得包间支付方式
public String getChargePlan() {
return chargePlan;
}
// 支付方式
public void setChargePlan(String chargePlan) {
this.chargePlan = chargePlan;
}
// 获得包间最大容量数
public double getRoomCapacity() {
return roomCapacity;
}
// 包间最大容量数
public void setRoomCapacity(double roomCapacity) {
this.roomCapacity = roomCapacity;
}
// 获得包间类型
public String getRoomType() {
return roomType;
}
// 包间类型
public void setRoomType(String roomType) {
this.roomType = roomType;
}
// 获得包间价格
public double getRoomPrice() {
return roomPrice;
}
// 包间价格
public void setRoomPrice(double roomPrice) {
this.roomPrice = roomPrice;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -