content.java

来自「icome」· Java 代码 · 共 138 行

JAVA
138
字号
package com.icome.entity;

import java.util.Date;


/**
 * Content generated by MyEclipse - Hibernate Tools
 */

public class Content  implements java.io.Serializable {


    // Fields    

     private Integer cid;
     private Account accountByUid;
     private Account accountByWriter;
     private Project project;
     private String category;
     private Date cdt;
     private Integer rate;
     private String title;
     private String abstract_;
     private String text;


    // Constructors

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

    
    /** full constructor */
    public Content(Account accountByUid, Account accountByWriter, Project project, String category, Date cdt, Integer rate, String title, String abstract_, String text) {
        this.accountByUid = accountByUid;
        this.accountByWriter = accountByWriter;
        this.project = project;
        this.category = category;
        this.cdt = cdt;
        this.rate = rate;
        this.title = title;
        this.abstract_ = abstract_;
        this.text = text;
    }

   
    // Property accessors

    public Integer getCid() {
        return this.cid;
    }
    
   private void setCid(Integer cid) {
        this.cid = cid;
    }

    public Account getAccountByUid() {
        return this.accountByUid;
    }
    
    public void setAccountByUid(Account accountByUid) {
        this.accountByUid = accountByUid;
    }

    public Account getAccountByWriter() {
        return this.accountByWriter;
    }
    
    public void setAccountByWriter(Account accountByWriter) {
        this.accountByWriter = accountByWriter;
    }

    public Project getProject() {
        return this.project;
    }
    
    public void setProject(Project project) {
        this.project = project;
    }

    public String getCategory() {
        return this.category;
    }
    
    public void setCategory(String category) {
        this.category = category;
    }

    public Date getCdt() {
        return this.cdt;
    }
    
    public void setCdt(Date cdt) {
        this.cdt = cdt;
    }

    public Integer getRate() {
        return this.rate;
    }
    
    public void setRate(Integer rate) {
        this.rate = rate;
    }

    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }

    public String getAbstract_() {
        return this.abstract_;
    }
    
    public void setAbstract_(String abstract_) {
        this.abstract_ = abstract_;
    }

    public String getText() {
        return this.text;
    }
    
    public void setText(String text) {
        this.text = text;
    }
   








}

⌨️ 快捷键说明

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