📄 abstractorder.java
字号:
/*
* @(#)AbstractOrder.java 1.0 05/10/10
*
* Copyright 2005 HUST Hotel, Inc. All rights reserved.
*/
package net.husthotel.beans;
import java.util.Date;
/**
* 该类是从客户需要填写的订单属性和 订单本身的属性中 抽象出来的共同部分.代表基本订单类
* @author icerain
* @version 1.0, 05/10/10
*
*/
public class AbstractOrder {
private String name = null;
private String roomType = null;
private String bookNum = null; //定房间的数量
private String sex = null;
private String specialDesc = null;
private String telNum ;
private Date checkinDate = null;
private Date checkoutDate = null;
private Date bookDate = null;
public AbstractOrder() {
checkoutDate = new Date(); //默认值要在Mysql数据库中Date的范围内
checkinDate = new Date();
bookDate = new Date();
}
public Date getBookDate() {
return bookDate;
}
public void setBookDate(Date bookDate) {
this.bookDate = bookDate;
}
public String getBookNum() {
return bookNum;
}
public void setBookNum(String bookNum) {
this.bookNum = bookNum;
}
public Date getCheckinDate() {
return checkinDate;
}
public void setCheckinDate(Date checkinDate) {
this.checkinDate = checkinDate;
}
public Date getCheckoutDate() {
return checkoutDate;
}
public void setCheckoutDate(Date checkoutDate) {
this.checkoutDate = checkoutDate;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getRoomType() {
return roomType;
}
public void setRoomType(String roomType) {
this.roomType = roomType;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public String getSpecialDesc() {
return specialDesc;
}
public void setSpecialDesc(String specialDesc) {
this.specialDesc = specialDesc;
}
public String getTelNum() {
return telNum;
}
public void setTelNum(String telNum) {
this.telNum = telNum;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -