📄 article.java
字号:
package com.emis.model.bbs.hibernate;
import java.util.HashSet;
import java.util.Set;
import com.emis.model.hr.hibernate.Employee;
/**
* Article generated by MyEclipse - Hibernate Tools
*/
public class Article implements java.io.Serializable {
// Fields
private Integer id;
private Topic topic;
private Employee employee;
private String name;
private String content;
private String presstime;
private String remarks;
private Set articleresponses = new HashSet(0);
// Constructors
/** default constructor */
public Article() {
}
/** minimal constructor */
public Article(Integer id, Topic topic, Employee employee, String name, String content, String presstime, String remarks) {
this.id = id;
this.topic = topic;
this.employee = employee;
this.name = name;
this.content = content;
this.presstime = presstime;
this.remarks = remarks;
}
/** full constructor */
public Article(Integer id, Topic topic, Employee employee, String name, String content, String presstime, String remarks, Set articleresponses) {
this.id = id;
this.topic = topic;
this.employee = employee;
this.name = name;
this.content = content;
this.presstime = presstime;
this.remarks = remarks;
this.articleresponses = articleresponses;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Topic getTopic() {
return this.topic;
}
public void setTopic(Topic topic) {
this.topic = topic;
}
public Employee getEmployee() {
return this.employee;
}
public void setEmployee(Employee employee) {
this.employee = employee;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getPresstime() {
return this.presstime;
}
public void setPresstime(String presstime) {
this.presstime = presstime;
}
public String getRemarks() {
return this.remarks;
}
public void setRemarks(String remarks) {
this.remarks = remarks;
}
public Set getArticleresponses() {
return this.articleresponses;
}
public void setArticleresponses(Set articleresponses) {
this.articleresponses = articleresponses;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -