book.java

来自「用struts hibernate 开发的论坛源码! 开发平台:eclipes」· Java 代码 · 共 87 行

JAVA
87
字号
package org.lzpeng.pojo;

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

/**
 * Books generated by MyEclipse Persistence Tools
 */

public class Book extends org.lzpeng.pojo.PrimaryEntity implements
		java.io.Serializable {


	private static final long serialVersionUID = 3904071979238933528L;

	private Integer id;

	private User user;

	private String title;

	private String remark;

	private Set lendRecords = new HashSet(0);

	// Constructors

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

	/** minimal constructor */
	public Book(String title) {
		this.title = title;
	}

	/** full constructor */
	public Book(User user, String title, String remark, Set lendRecords) {
		this.user = user;
		this.title = title;
		this.remark = remark;
		this.lendRecords = lendRecords;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set getlendRecords() {
		return this.lendRecords;
	}

	public void setlendRecords(Set lendRecords) {
		this.lendRecords = lendRecords;
	}

}

⌨️ 快捷键说明

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