⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 engageroominfo.java

📁 Athena酒店小组_Athena酒店管理系统
💻 JAVA
字号:
/*
 * EngageRoomInfo.java
 *
 * Created on 2007年6月4日, 下午10:07
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package lambert;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类 EngageRoomInfo
 * 
 * @author Virlene Cheng
 */

public class EngageRoomInfo implements Serializable
{


	private String engageBillNum;

	
	private String account;


	private String roomNum;


	private String houseType;



	private Date startTime;


	private Date endTime;

	
	private String remark;
    
    /** Creates a new instance of EngageRoomInfo */
    public EngageRoomInfo()
    {
    }

	/**
	 * 使用指定的值创建 EngageRoomInfo 的新实例。
	 * @param engageBillNum,EngageRoomInfo 的 engageBillNum
	 */
	public EngageRoomInfo(String engageBillNum)
	{
		this.engageBillNum = engageBillNum;
	}

	/**
	 * 使用指定的值创建 EngageRoomInfo 的新实例。
	 * @param engageBillNum,EngageRoomInfo 的 engageBillNum
	 * @param account,EngageRoomInfo 的 account
	 * @param roomNum,EngageRoomInfo 的 roomNum
	 */
	public EngageRoomInfo(String engageBillNum, String account, String roomNum)
	{
		this.engageBillNum = engageBillNum;
		this.account = account;
		this.roomNum = roomNum;
	}

	/**
	 * 获取此 EngageRoomInfo 的 engageBillNum。
	 * @return engageBillNum
	 */
	public String getEngageBillNum()
	{
		return this.engageBillNum;
	}

	/**
	 * 将此 EngageRoomInfo 的 engageBillNum 设置为指定的值。
	 * @param engageBillNum,新建 engageBillNum
	 */
	public void setEngageBillNum(String engageBillNum)
	{
		this.engageBillNum = engageBillNum;
	}

	/**
	 * 获取此 EngageRoomInfo 的 account。
	 * @return account
	 */
	public String getAccount()
	{
		return this.account;
	}

	/**
	 * 将此 EngageRoomInfo 的 account 设置为指定的值。
	 * @param account,新建 account
	 */
	public void setAccount(String account)
	{
		this.account = account;
	}

	/**
	 * 获取此 EngageRoomInfo 的 roomNum。
	 * @return roomNum
	 */
	public String getRoomNum()
	{
		return this.roomNum;
	}

	/**
	 * 将此 EngageRoomInfo 的 roomNum 设置为指定的值。
	 * @param roomNum,新建 roomNum
	 */
	public void setRoomNum(String roomNum)
	{
		this.roomNum = roomNum;
	}

	/**
	 * 获取此 EngageRoomInfo 的 houseType。
	 * @return houseType
	 */
	public String getHouseType()
	{
		return this.houseType;
	}

	/**
	 * 将此 EngageRoomInfo 的 houseType 设置为指定的值。
	 * @param houseType,新建 houseType
	 */
	public void setHouseType(String houseType)
	{
		this.houseType = houseType;
	}

	/**
	 * 获取此 EngageRoomInfo 的 startTime。
	 * @return startTime
	 */
	public Date getStartTime()
	{
		return this.startTime;
	}

	/**
	 * 将此 EngageRoomInfo 的 startTime 设置为指定的值。
	 * @param startTime,新建 startTime
	 */
	public void setStartTime(Date startTime)
	{
		this.startTime = startTime;
	}

	/**
	 * 获取此 EngageRoomInfo 的 endTime。
	 * @return endTime
	 */
	public Date getEndTime()
	{
		return this.endTime;
	}

	/**
	 * 将此 EngageRoomInfo 的 endTime 设置为指定的值。
	 * @param endTime,新建 endTime
	 */
	public void setEndTime(Date endTime)
	{
		this.endTime = endTime;
	}

	/**
	 * 获取此 EngageRoomInfo 的 remark。
	 * @return remark
	 */
	public String getRemark()
	{
		return this.remark;
	}

	/**
	 * 将此 EngageRoomInfo 的 remark 设置为指定的值。
	 * @param remark,新建 remark
	 */
	public void setRemark(String remark)
	{
		this.remark = remark;
	}

	/**
	 * 返回对象的散列代码值。该实现根据此对象
	 * 中 id 字段计算散列代码值。
	 * @return 此对象的散列代码值。
	 */
	@Override
	public int hashCode()
	{
		int hash = 0;
		hash += (this.engageBillNum != null ? this.engageBillNum.hashCode() : 0);
		return hash;
	}

	/**
	 * 确定其他对象是否等于此 EngageRoomInfo。当且仅当
	 * 参数不为 null 且该参数是具有与此对象相同 id 字段值的 EngageRoomInfo 对象时,
	 * 结果才为 <code>true</code>。
	 * @param 对象,要比较的引用对象
	 * 如果此对象与参数相同,则 @return <code>true</code>;
	 * 否则为 <code>false</code>。
	 */
	@Override
	public boolean equals(Object object)
	{
		// TODO: Warning - this method won't work in the case the id fields are not set
		if (!(object instanceof EngageRoomInfo)) {
			return false;
		}
		EngageRoomInfo other = (EngageRoomInfo)object;
		if (this.engageBillNum != other.engageBillNum && (this.engageBillNum == null || !this.engageBillNum.equals(other.engageBillNum))) return false;
		return true;
	}

	/**
	 * 返回对象的字符串表示法。该实现根据 id 字段
	 * 构造此表示法。
	 * @return 对象的字符串表示法。
	 */
	@Override
	public String toString()
	{
		return "temp.EngageRoomInfo[engageBillNum=" + engageBillNum + "]";
	}
    
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -