Result.java
资源名称:exams.rar [点击查看]
上传用户:nbxinmin
上传日期:2021-10-09
资源大小:46k
文件大小:2k
源码类别:
Internet/IE编程
开发平台:
Java
- package com.xdf.exams.bean;
- import java.util.Date;
- import java.util.HashSet;
- import java.util.Set;
- /**
- * Result generated by MyEclipse - Hibernate Tools
- */
- public class Result implements java.io.Serializable {
- // Fields
- private Long resultid;
- private Student student;
- private Subject subject;
- private int score;
- private Date starttime;
- private Date endtime;
- private Set examrecords = new HashSet(0);
- // Constructors
- /** default constructor */
- public Result() {
- }
- /** minimal constructor */
- public Result(Student student, Subject subject, int score, Date starttime, Date endtime) {
- this.student = student;
- this.subject = subject;
- this.score = score;
- this.starttime = starttime;
- this.endtime = endtime;
- }
- /** full constructor */
- public Result(Student student, Subject subject, int score, Date starttime, Date endtime, Set examrecords) {
- this.student = student;
- this.subject = subject;
- this.score = score;
- this.starttime = starttime;
- this.endtime = endtime;
- this.examrecords = examrecords;
- }
- // Property accessors
- public Long getResultid() {
- return this.resultid;
- }
- public void setResultid(Long resultid) {
- this.resultid = resultid;
- }
- public Student getStudent() {
- return this.student;
- }
- public void setStudent(Student student) {
- this.student = student;
- }
- public Subject getSubject() {
- return this.subject;
- }
- public void setSubject(Subject subject) {
- this.subject = subject;
- }
- public int getScore() {
- return this.score;
- }
- public void setScore(int score) {
- this.score = score;
- }
- public Date getStarttime() {
- return this.starttime;
- }
- public void setStarttime(Date starttime) {
- this.starttime = starttime;
- }
- public Date getEndtime() {
- return this.endtime;
- }
- public void setEndtime(Date endtime) {
- this.endtime = endtime;
- }
- public Set getExamrecords() {
- return this.examrecords;
- }
- public void setExamrecords(Set examrecords) {
- this.examrecords = examrecords;
- }
- }