派生自 projectDept/qhighschool

胡仁荣
2022-10-31 fe7381d6e8ec1f427408de0297ac7f41533202f6
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
package com.qxueyou.scc.exercise.model;
 
import java.io.Serializable;
import java.util.Date;
 
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 org.hibernate.annotations.GenericGenerator;
import org.springframework.format.annotation.DateTimeFormat;
 
 
/**
 * app¶Ë×öÌâ´ð°¸Ìá½»Êý¾Ý¸ñʽ
 * The persistent class for the exercise_data_submit_log database table.
 * 
 */
@Entity
@Table(name="exercise_data_submit_log")
@NamedQuery(name="ExerciseDataSubmitLog.findAll", query="SELECT e FROM ExerciseDataSubmitLog e")
public class ExerciseDataSubmitLog implements Serializable {
    private static final long serialVersionUID = 1L;
 
    @Id
    @GeneratedValue(generator = "hibernate-uuid")
    @GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
    @Column(name="EXERCISE_DATA_LOG_ID", unique=true, nullable=false, length=32)
    private String exerciseDataLogId;
 
    @Column(name="EXERCISE_BUSSINESS_ID", length=32)
    private String exerciseBussinessId;
 
    @Column(name="data")
    private String data;
 
    @Column(name="TYPE")
    private short type;
    
 
    /** ÈÕÖ¾ÀàÐÍ(1,Ìá½»×öÌâ´ð°¸£¨´íÌâ¡¢ÊղسýÍ⣩; 2,Ìá½»×öÌâ´ð°¸£¨´íÌâ¡¢ÊÕ²Ø); */
    
    public final static short TYPE_SUBMIT_ANSWER = 1;
    
    public final static short TYPE_SUBMIT_EXTEND_ANSWER = 2;
    
    @Column(name="STATUS")
    private int status;
    
    public final static int STATUS_SUCCESS = 0;
    
    public final static int STATUS_FAILED = 1;
    
    @Column(name="URL")
    private String url;
    
    @Column(name="UPDATE_ID", length=32)
    private String updateId;
 
    @Column(name="UPDATE_TIME", nullable=false)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
 
    @Column(name="UPDATOR", length=100)
    private String updator;
 
    public String getExerciseDataLogId() {
        return exerciseDataLogId;
    }
 
    public void setExerciseDataLogId(String exerciseDataLogId) {
        this.exerciseDataLogId = exerciseDataLogId;
    }
    
    public String getData() {
        return data;
    }
 
    public void setData(String data) {
        this.data = data;
    }
 
    public String getUpdateId() {
        return updateId;
    }
 
    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
 
    public String getUpdator() {
        return updator;
    }
 
    public void setUpdator(String updator) {
        this.updator = updator;
    }
 
    public String getExerciseBussinessId() {
        return exerciseBussinessId;
    }
 
    public void setExerciseBussinessId(String exerciseBussinessId) {
        this.exerciseBussinessId = exerciseBussinessId;
    }
 
    public short getType() {
        return type;
    }
 
    public void setType(short type) {
        this.type = type;
    }
 
    public int getStatus() {
        return status;
    }
 
    public void setStatus(int status) {
        this.status = status;
    }
 
    public String getUrl() {
        return url;
    }
 
    public void setUrl(String url) {
        this.url = url;
    }
    
}