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

📄 book.java

📁 用struts hibernate 开发的论坛源码! 开发平台:eclipese 3.1.2 web服务器: tomcat 5 数据库: mysql5.0
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -