📄 abstractnewst.java
字号:
package po.news;
import java.util.Date;
/**
* AbstractNewst generated by MyEclipse - Hibernate Tools
*/
public abstract class AbstractNewst implements java.io.Serializable {
// Fields
private Integer newsId;
private Integer columnId;
private String title;
private String content;
private Date time;
private String author;
// Constructors
/** default constructor */
public AbstractNewst() {
}
/** minimal constructor */
public AbstractNewst(Integer newsId) {
this.newsId = newsId;
}
/** full constructor */
public AbstractNewst(Integer newsId, Integer columnId, String title, String content, Date time, String author) {
this.newsId = newsId;
this.columnId = columnId;
this.title = title;
this.content = content;
this.time = time;
this.author = author;
}
// Property accessors
public Integer getNewsId() {
return this.newsId;
}
public void setNewsId(Integer newsId) {
this.newsId = newsId;
}
public Integer getColumnId() {
return this.columnId;
}
public void setColumnId(Integer columnId) {
this.columnId = columnId;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public Date getTime() {
return this.time;
}
public void setTime(Date time) {
this.time = time;
}
public String getAuthor() {
return this.author;
}
public void setAuthor(String author) {
this.author = author;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -