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

📄 subject.java

📁 java项目 通用的在线考试系统 可用于毕业论文 jsp+struts+hibernate+oracle9i Eclipse+tomcat开发 高质量代码 导入数据库即可用
💻 JAVA
字号:
package com.xdf.exams.bean;

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


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

public class Subject  implements java.io.Serializable {


    // Fields    

     private Long subjectid;
     private String name;
     private Long time;
     private int state;
     private String intro;
     private String sdate;
     private Set results = new HashSet(0);
     private Set questions = new HashSet(0);
     private Integer totalnum = 0;
     private Integer totalscore = 0;


    // Constructors

    public Integer getTotalnum() {
		return totalnum;
	}

	public void setTotalnum(Integer totalnum) {
		this.totalnum = totalnum;
	}

	public Integer getTotalscore() {
		return totalscore;
	}

	public void setTotalscore(Integer totalscore) {
		this.totalscore = totalscore;
	}

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

	/** minimal constructor */
    public Subject(String name, Long time, int state, String intro, String sdate) {
        this.name = name;
        this.time = time;
        this.state = state;
        this.intro = intro;
        this.sdate = sdate;
    }
    
    /** full constructor */
    public Subject(String name, Long time, int state, String intro, String sdate, Set results, Set questions) {
        this.name = name;
        this.time = time;
        this.state = state;
        this.intro = intro;
        this.sdate = sdate;
        this.results = results;
        this.questions = questions;
    }

   
    // Property accessors

    public Long getSubjectid() {
        return this.subjectid;
    }
    
    public void setSubjectid(Long subjectid) {
        this.subjectid = subjectid;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Long getTime() {
        return this.time;
    }
    
    public void setTime(Long time) {
        this.time = time;
    }

    public int getState() {
        return this.state;
    }
    
    public void setState(int state) {
        this.state = state;
    }

    public String getIntro() {
        return this.intro;
    }
    
    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getSdate() {
        return this.sdate;
    }
    
    public void setSdate(String sdate) {
        this.sdate = sdate;
    }

    public Set getResults() {
        return this.results;
    }
    
    public void setResults(Set results) {
        this.results = results;
    }

    public Set getQuestions() {
        return this.questions;
    }
    
    public void setQuestions(Set questions) {
        this.questions = questions;
    }
   








}

⌨️ 快捷键说明

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