📄 announce.java
字号:
package tarena.entity;
import java.util.Date;
/**
* Announce entity.
*
* @author MyEclipse Persistence Tools
*/
public class Announce implements java.io.Serializable {
// Fields
private Integer id;
private String username;
private String atype;
private String title;
private String titlecolor;
private Date sendtime;
private String content;
// Constructors
/** default constructor */
public Announce() {
}
/** minimal constructor */
public Announce(String username, String title, Date sendtime, String content) {
this.username = username;
this.title = title;
this.sendtime = sendtime;
this.content = content;
}
/** full constructor */
public Announce(String username, String atype, String title,
String titlecolor, Date sendtime, String content) {
this.username = username;
this.atype = atype;
this.title = title;
this.titlecolor = titlecolor;
this.sendtime = sendtime;
this.content = content;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getUsername() {
return this.username;
}
public void setUsername(String username) {
this.username = username;
}
public String getAtype() {
return this.atype;
}
public void setAtype(String atype) {
this.atype = atype;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getTitlecolor() {
return this.titlecolor;
}
public void setTitlecolor(String titlecolor) {
this.titlecolor = titlecolor;
}
public Date getSendtime() {
return this.sendtime;
}
public void setSendtime(Date sendtime) {
this.sendtime = sendtime;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -