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

📄 goodnotequal.java

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

/*
 * Description:货品损益记录的封装类,实现对货品损益记录的操作的面向对象性
 * @Author:黄顺武
 * Create Time:2007-12-19
 */
import java.util.*;

public class GoodNotEqual {

	private int id = -1;// 货品损益记录的id
	private int good_id = -1;// 损益货品的id
	private String check_time = "";// 损益情况的核查时间
	private int not_equal_number = -1;// 损益的货品的数量
	private String not_equal_state = "";// 损益情况状态,即增加还是减少
	private String not_equal_reason = "";// 损益原因
	private HashMap properties=new HashMap();//存储其它的货品损益记录的附属属性

	public GoodNotEqual() {

	}

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

	public int getID() {
		return id;
	}

	public void setGood_ID(int good_id) {
		this.good_id = good_id;
	}

	public int getGood_ID() {
		return good_id;
	}

	public void setCheck_Time(String check_time) {
		if (check_time != null) {
			this.check_time = check_time;
		}
	}

	public String getCheck_Time() {
		return check_time;
	}

	public void setNot_Equal_Number(int not_equal_number) {
		this.not_equal_number = not_equal_number;
	}

	public int getNot_Equal_Number() {
		return not_equal_number;
	}

	public void setNot_Equal_State(String not_equal_state) {
		if (not_equal_state != null) {
			this.not_equal_state = not_equal_state;
		}
	}

	public String getNot_Equal_State() {
		return not_equal_state;
	}

	public void setNot_Equal_Reason(String not_equal_reason) {
		if (not_equal_reason != null) {
			this.not_equal_reason = not_equal_reason;
		}
	}

	public String getNot_Equal_Reason() {
		return not_equal_reason;
	}
	public void setProperty(String name,Object value){
		properties.put(name, value);
	}
	public Object getProperty(String name){
		return properties.get(name);
	}
}

⌨️ 快捷键说明

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