love.java

来自「struts+hibernate做的一个程序」· Java 代码 · 共 58 行

JAVA
58
字号
package com.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Love generated by MyEclipse Persistence Tools
 */

public class Love implements java.io.Serializable {

	// Fields

	private Integer lid;

	private String lname;

	private Set emploves = new HashSet(0);

	// Constructors

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

	/** full constructor */
	public Love(String lname, Set emploves) {
		this.lname = lname;
		this.emploves = emploves;
	}

	// Property accessors

	public Integer getLid() {
		return this.lid;
	}

	public void setLid(Integer lid) {
		this.lid = lid;
	}

	public String getLname() {
		return this.lname;
	}

	public void setLname(String lname) {
		this.lname = lname;
	}

	public Set getEmploves() {
		return this.emploves;
	}

	public void setEmploves(Set emploves) {
		this.emploves = emploves;
	}

}

⌨️ 快捷键说明

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