theme.java

来自「j2ee项目应用 使用struts hibernate构建的轻量级j2ee项目」· Java 代码 · 共 97 行

JAVA
97
字号
package com.emis.model.vote.hibernate;

import java.util.HashSet;
import java.util.Set;


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

public class Theme  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String name;
     private String content;
     private String remarks;
     private Set choices = new HashSet(0);


    // Constructors

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

	/** minimal constructor */
    public Theme(Integer id, String name, String content, String remarks) {
        this.id = id;
        this.name = name;
        this.content = content;
        this.remarks = remarks;
    }
    
    /** full constructor */
    public Theme(Integer id, String name, String content, String remarks, Set choices) {
        this.id = id;
        this.name = name;
        this.content = content;
        this.remarks = remarks;
        this.choices = choices;
    }

   
    // Property accessors

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

    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 getRemarks() {
        return this.remarks;
    }
    
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Set getChoices() {
        return this.choices;
    }
    
    public void setChoices(Set choices) {
        this.choices = choices;
    }
   








}

⌨️ 快捷键说明

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