book.java
来自「Spring+acegi+ext2.0+mysql 开发 acegi做权限控制」· Java 代码 · 共 82 行
JAVA
82 行
package com.mypro.hibernate.bean;
import java.util.Date;
/**
* Book entity.
*
* @author MyEclipse Persistence Tools
*/
public class Book implements java.io.Serializable {
// Fields
private Integer id;
private String name;
private Integer author;
private Integer sort;
private Date bookdate;
// Constructors
/** default constructor */
public Book() {
}
/** minimal constructor */
public Book(String name) {
this.name = name;
}
/** full constructor */
public Book(String name, Integer author, Integer sort, Date bookdate) {
this.name = name;
this.author = author;
this.sort = sort;
this.bookdate = bookdate;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Integer getAuthor() {
return this.author;
}
public void setAuthor(Integer author) {
this.author = author;
}
public Integer getSort() {
return this.sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public Date getBookdate() {
return this.bookdate;
}
public void setBookdate(Date bookdate) {
this.bookdate = bookdate;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?