派生自 projectDept/qhighschool

EricsHu
2022-12-05 068fc7f2e81178e55fa191a13709af64b1a163f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package com.qxueyou.scc.school.model;
 
import java.io.Serializable;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Transient;
 
import org.hibernate.annotations.GenericGenerator;
 
 
/**
 * The persistent class for the sch_eva_record_re database table.
 * 
 */
@Entity
@Table(name="sch_eva_record_re")
@NamedQuery(name="SchEvaRecordRe.findAll", query="SELECT e FROM SchEvaRecordRe e")
public class SchEvaRecordRe implements Serializable {
    private static final long serialVersionUID = 1L;
 
    @Id
    @GeneratedValue(generator = "hibernate-uuid")
    @GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
    @Column(name="RELATION_ID", unique=true, nullable=false, length=32)
    private String relationId;
 
    @Column(name="EVALUATE_ID", length=32)
    private String evaluateId;
 
    @Column(name="EXERCISE_RECORD_ID", length=32)
    private String exerciseRecordId;
    
    //答题时所在班级
    @Column(name="CLASS_ID", length=32)
    private String classId;
    
    //答题时所在班级
    //@Formula("(select u.name from Org_Class u WHERE u.CLASS_ID=CLASS_ID and u.DELETE_FLAG = 0)")
    @Transient
    private String className;
 
    //答题时所在机构
    @Column(name="ORG_ID", length=32)
    private String orgId;
    
    public String getClassName() {
        return className;
    }
 
    public void setClassName(String className) {
        this.className = className;
    }
 
    public String getClassId() {
        return classId;
    }
 
    public void setClassId(String classId) {
        this.classId = classId;
    }
 
    public String getOrgId() {
        return orgId;
    }
 
    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }
 
    public String getRelationId() {
        return relationId;
    }
 
    public void setRelationId(String relationId) {
        this.relationId = relationId;
    }
 
    public String getEvaluateId() {
        return evaluateId;
    }
 
    public void setEvaluateId(String evaluateId) {
        this.evaluateId = evaluateId;
    }
 
    public String getExerciseRecordId() {
        return exerciseRecordId;
    }
 
    public void setExerciseRecordId(String exerciseRecordId) {
        this.exerciseRecordId = exerciseRecordId;
    }
}