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

📄 appeal.java

📁 JAVA实现的酒店管理系统
💻 JAVA
字号:
package file1;

/*
 * 类功能描述:实现对客户投诉数据的封装,供数据库操作模块的调用
 * @Author:黄顺武
 * Create Time:2007-12-6
 */
import java.util.*;

public class Appeal {

	private int id = -1;
	private int appealerID = -1;// 投诉者ID
	private String appealContent = null;// 投诉内容
	private int appealToID = -1;// 投诉对象ID
	private String appealToState = "";// 表示投诉对象性质,0表示部门,1表示员工
	private String appealTime = null;;// 表示投诉时间
	private String processTime = null;// 表示投诉处理时间
	private int solutionState = -1;// 表示针对客户投诉的处理状态
	private int replyState = -1;// 表示对客户处理结果的反馈状态
	private HashMap properties = null;// 存储附属属性

	public Appeal() {

		properties = new HashMap();
	}

	public void setID(int ID) {
		this.id = ID;
	}

	public int getID() {
		return id;
	}

	public void setApplerID(int appealID) {
		this.appealerID = appealID;
	}

	public int getApplerID() {
		return this.appealerID;
	}

	public void setAppealContent(String appealContent) {
		this.appealContent = appealContent;
	}

	public String getAppealContent() {
		return this.appealContent;
	}

	public void setAppealToID(int appealToID) {
		this.appealToID = appealToID;
	}

	public int getAppealToID() {
		return this.appealToID;
	}

	public void setAppealToState(String appealToState) {
		this.appealToState = appealToState;
	}

	public String getAppealToState() {
		return this.appealToState;
	}

	public void setAppealTime(String appealTime) {
		this.appealTime = appealTime;
	}

	public String getAppealTime() {
		return this.appealTime;
	}

	public void setProcessTime(String processTime) {
		this.processTime = processTime;
	}

	public String getProcessTime() {
		return this.processTime;
	}

	public void setSolutionState(int solutionState) {
		this.solutionState = solutionState;
	}

	public int getSolutionState() {
		return this.solutionState;
	}

	public void setReplyState(int replyState) {
		this.replyState = replyState;
	}

	public int getReplyState() {
		return this.replyState;
	}

	public void addProperty(String propertyName, String propertyValue) {// 添加其他的属性,这在两个甚至多个表之间的连接查询时特别有用
		if (propertyName != null && !propertyName.trim().equals("")
				&& propertyValue != null && !propertyValue.trim().equals("")) {
			properties.put(propertyName, propertyValue);
		}
	}
}

⌨️ 快捷键说明

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