📄 news.java
字号:
package com.gd.po;
import java.util.Date;
/**
* News generated by MyEclipse Persistence Tools
*/
public class News implements java.io.Serializable {
// Fields
private long id;
private String head;
private String content;
private Date issuedate;
private String issueuser;
private long newstype;
// Constructors
/** default constructor */
public News() {
}
/** full constructor */
public News(String head, String content, Date issuedate, String issueuser,
long newstype) {
this.head = head;
this.content = content;
this.issuedate = issuedate;
this.issueuser = issueuser;
this.newstype = newstype;
}
// Property accessors
public long getId() {
return this.id;
}
public void setId(long id) {
this.id = id;
}
public String getHead() {
return this.head;
}
public void setHead(String head) {
this.head = head;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public Date getIssuedate() {
return this.issuedate;
}
public void setIssuedate(Date issuedate) {
this.issuedate = issuedate;
}
public String getIssueuser() {
return this.issueuser;
}
public void setIssueuser(String issueuser) {
this.issueuser = issueuser;
}
public long getNewstype() {
return this.newstype;
}
public void setNewstype(long newstype) {
this.newstype = newstype;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -