⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 articleresponse.java

📁 J2EE电子商务系统开发从入门到精通---基于Struts和Hibernate技术实现
💻 JAVA
字号:
package model.bbs.hibernate;

import java.io.Serializable;
import model.hr.hibernate.Employee;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class Articleresponse implements Serializable {

    /** identifier field */
    private Integer id;

    /** persistent field */
    private String content;

    /** persistent field */
    private String presstime;

    /** persistent field */
    private model.bbs.hibernate.Article article;

    /** persistent field */
    private Employee employee;

    /** full constructor */
    public Articleresponse(String content, String presstime, model.bbs.hibernate.Article article, Employee employee) {
        this.content = content;
        this.presstime = presstime;
        this.article = article;
        this.employee = employee;
    }

    /** default constructor */
    public Articleresponse() {
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    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 model.bbs.hibernate.Article getArticle() {
        return this.article;
    }

    public void setArticle(model.bbs.hibernate.Article article) {
        this.article = article;
    }

    public Employee getEmployee() {
        return this.employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("id", getId())
            .toString();
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -