machine.java

来自「此源程序为我用struts+hibernate做的基础信息录入页面.包括对数据库」· Java 代码 · 共 92 行

JAVA
92
字号
package cl.test.dao;

/**
 * Machine generated by MyEclipse Persistence Tools
 */

public class Machine implements java.io.Serializable {

	// Fields

	private Long cid;
	private String name;
	private String manum;
	private Long posi;
	private Long val;
	private Long nums;

	// Constructors

	/** default constructor */
	public Machine() {
	}

	/** minimal constructor */
	public Machine(Long cid, String name, String manum) {
		this.cid = cid;
		this.name = name;
		this.manum = manum;
	}

	/** full constructor */
	public Machine(Long cid, String name, String manum, Long posi, Long val,
			Long nums) {
		this.cid = cid;
		this.name = name;
		this.manum = manum;
		this.posi = posi;
		this.val = val;
		this.nums = nums;
	}

	// Property accessors

	public Long getCid() {//自动编号
		return this.cid;
	}

	public void setCid(Long cid) {
		this.cid = cid;
	}

	public String getName() {//电场名称
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getManum() {//机组编号
		return this.manum;
	}

	public void setManum(String manum) {
		this.manum = manum;
	}

	public Long getPosi() {//额定负荷
		return this.posi;
	}

	public void setPosi(Long posi) {
		this.posi = posi;
	}

	public Long getVal() {//最大负荷
		return this.val;
	}

	public void setVal(Long val) {
		this.val = val;
	}

	public Long getNums() {//测点数据的额定参考数
		return this.nums;
	}

	public void setNums(Long nums) {
		this.nums = nums;
	}

}

⌨️ 快捷键说明

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