titles.java

来自「带分页显示的简单例子 Hibernate」· Java 代码 · 共 181 行

JAVA
181
字号
package fmq.model.bo;

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

/**
 * Titles generated by MyEclipse Persistence Tools
 */

public class Titles implements java.io.Serializable {

	// Fields

	private String titleId;

	private Publishers publishers;

	private String title;

	private String type;

	private Double price;

	private Double advance;

	private Integer royalty;

	private Integer ytdSales;

	private String notes;

	private Date pubdate;

	private Set royscheds = new HashSet(0);

	private Set saleses = new HashSet(0);

	private Set titleauthors = new HashSet(0);

	// Constructors

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

	/** minimal constructor */
	public Titles(String titleId, String title, String type, Date pubdate) {
		this.titleId = titleId;
		this.title = title;
		this.type = type;
		this.pubdate = pubdate;
	}

	/** full constructor */
	public Titles(String titleId, Publishers publishers, String title,
			String type, Double price, Double advance, Integer royalty,
			Integer ytdSales, String notes, Date pubdate, Set royscheds,
			Set saleses, Set titleauthors) {
		this.titleId = titleId;
		this.publishers = publishers;
		this.title = title;
		this.type = type;
		this.price = price;
		this.advance = advance;
		this.royalty = royalty;
		this.ytdSales = ytdSales;
		this.notes = notes;
		this.pubdate = pubdate;
		this.royscheds = royscheds;
		this.saleses = saleses;
		this.titleauthors = titleauthors;
	}

	// Property accessors

	public String getTitleId() {
		return this.titleId;
	}

	public void setTitleId(String titleId) {
		this.titleId = titleId;
	}

	public Publishers getPublishers() {
		return this.publishers;
	}

	public void setPublishers(Publishers publishers) {
		this.publishers = publishers;
	}

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

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

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getAdvance() {
		return this.advance;
	}

	public void setAdvance(Double advance) {
		this.advance = advance;
	}

	public Integer getRoyalty() {
		return this.royalty;
	}

	public void setRoyalty(Integer royalty) {
		this.royalty = royalty;
	}

	public Integer getYtdSales() {
		return this.ytdSales;
	}

	public void setYtdSales(Integer ytdSales) {
		this.ytdSales = ytdSales;
	}

	public String getNotes() {
		return this.notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public Date getPubdate() {
		return this.pubdate;
	}

	public void setPubdate(Date pubdate) {
		this.pubdate = pubdate;
	}

	public Set getRoyscheds() {
		return this.royscheds;
	}

	public void setRoyscheds(Set royscheds) {
		this.royscheds = royscheds;
	}

	public Set getSaleses() {
		return this.saleses;
	}

	public void setSaleses(Set saleses) {
		this.saleses = saleses;
	}

	public Set getTitleauthors() {
		return this.titleauthors;
	}

	public void setTitleauthors(Set titleauthors) {
		this.titleauthors = titleauthors;
	}

}

⌨️ 快捷键说明

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