派生自 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
package com.qxueyou.scc.exercise.model;
 
import java.io.Serializable;
import java.math.BigDecimal;
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 javax.persistence.Transient;
 
import org.hibernate.annotations.GenericGenerator;
import org.springframework.format.annotation.DateTimeFormat;
 
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.qxueyou.scc.base.model.ITrace;
 
/**
 * The persistent class for the exercise_complete_info database table.
 * 
 */
@Entity
@Table(name="exercise_complete_info")
@NamedQuery(name="ExerciseCompleteInfo.findAll", query="SELECT e FROM ExerciseCompleteInfo e")
public class ExerciseCompleteInfo implements Serializable,ITrace {
    private static final long serialVersionUID = 1L;
    
    /*
     * 0:²Ý¸å£¬Î´½»×÷Òµ  1£ºÒÑÌá½»×÷Òµ£¬´ýÅúÔÄ  2£ºÒÑÅúÔÄ  3£ºÐèÖØÐ´ ÖØÐ´ÍêºóÖØÐÂÌύ״̬±äΪ 1
     */
    public static final short STATUS_DRAFT = 0;
    
    public static final short STATUS_COMMIT = 1;
    
    public static final short STATUS_CHECKED = 2;
    
    public static final short STATUS_REDO = 3;
    
    
    /**
     * ×÷ÒµÊÇ·ñ¿ÉÔ¤ÀÀ
     */
    public static final short PREVIEW_STATUS_NO = 0;
    
    public static final short PREVIEW_STATUS_OK = 1;
 
    @Id
    @GeneratedValue(generator = "hibernate-uuid")
    @GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
    @Column(name="EXERCISE_COMPLETE_ID", unique=true,nullable=false, length=32)
    private String exerciseCompleteId;
    
    @Column(name="EXERCISE_INFO_ID")
    private String exerciseInfoId;
 
    @Column(name="TEACHER_ID")
    private String teacherId;
 
    @Column(name="TEACHER_NAME")
    private String teacherName;
 
    @Column(name="TEACHER_COMMENT")
    private String teacherComment;
    
    @Column(name="CLASS_ID")
    private String classId;
    
    //TODO:ÐèÒªÐÞ¸ÄÊý¾Ý¿âÊý¾ÝÀàÐÍ
    @Column(name="STUDENT_SCORE")
    private BigDecimal studentScore;
    
    @Column(name="COMPLETE_STATUS")
    private short completeStatus;
 
    @Column(name="STUDENT_ID")
    private String studentId;
    
    @Column(name="STUDENT_NO")
    private String studentNo;
    
    @Column(name="STUDENT_USER_ID")
    private String studentUserId;
    
    @Column(name="STUDENT_USER_NAME")
    private String studentUserName;
    
    @Column(name="TARGET_OBJECT_ID")
    private String targetObjectId;
    
    @Column(name = "CREATE_ID", length = 32)
    @JsonIgnore
    private String createId;
    
    @Column(name="CREATOR", nullable=false, length=100)
    @JsonIgnore
    private String creator;
    
    @Column(name="CREATE_TIME", nullable=false)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonIgnore
    private Date createTime;
    
    /**  ÐÞ¸ÄÈËID */
    @Column(name="UPDATE_ID", length=32)
    @JsonIgnore
    private String updateId;
 
    /**  ÐÞ¸Äʱ¼ä */
    @Column(name="UPDATE_TIME", nullable=false)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    
    @Column(name="SUBMIT_TIME", nullable=false)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date submitTime;
    
    /**  ÐÞ¸ÄÈË */
    @Column(name="UPDATOR", length=100)
    @JsonIgnore
    private String updator;
 
    /** É¾³ý±êÖ¾  */
    @Column(name="DELETE_FLAG", nullable=false)
    @JsonIgnore
    private boolean deleteFlag;
    
    @Column(name="FILE_ID")
    private String fileId;
    
    @Column(name="FILE_PATH")
    private String filePath;
    
    @Column(name="CLASS_NAME")
    private String className;
    
    @Column(name="UPLOAD_DESC")
    private String uploadDesc;
    
    @Transient
    private String exerciseName;
    
    @Transient
    private String remind;
    
    @Transient
    private short exerciseType;
    
    @Transient
    private short commitUploadType;
    
    
    @Transient
    private Double totalScore;
 
    @Transient
    private String content;
    
    @Transient
    private short transStatus;
    
    @Transient
    private String previewPath;
    
    @Transient
    private String orgiFileName;
    
    public String getOrgiFileName() {
        return orgiFileName;
    }
 
    public void setOrgiFileName(String orgiFileName) {
        this.orgiFileName = orgiFileName;
    }
 
    public short getTransStatus() {
        return transStatus;
    }
 
    public void setTransStatus(short transStatus) {
        this.transStatus = transStatus;
    }
 
    public String getPreviewPath() {
        return previewPath;
    }
 
    public void setPreviewPath(String previewPath) {
        this.previewPath = previewPath;
    }
 
    public short getCommitUploadType() {
        return commitUploadType;
    }
 
    public void setCommitUploadType(short commitUploadType) {
        this.commitUploadType = commitUploadType;
    }
 
    public String getClassId(){
        return classId;
    }
 
    public void setClassId(String classId) {
        this.classId = classId;
    }
 
    public ExerciseCompleteInfo() {
    }
    
    public String getStudentNo() {
        return studentNo;
    }
 
    public void setStudentNo(String studentNo) {
        this.studentNo = studentNo;
    }
 
    public String getClassName() {
        return className;
    }
 
 
    public void setClassName(String className) {
        this.className = className;
    }
 
    public String getExerciseCompleteId() {
        return this.exerciseCompleteId;
    }
 
    public void setExerciseCompleteId(String exerciseCompleteId) {
        this.exerciseCompleteId = exerciseCompleteId;
    }
 
    public String getTargetObjectId() {
        return this.targetObjectId;
    }
 
    public void setTargetObjectId(String targetObjectId) {
        this.targetObjectId = targetObjectId;
    }
 
    public String getTeacherId() {
        return teacherId;
    }
 
    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }
 
    public String getTeacherName() {
        return teacherName;
    }
 
    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }
 
    public String getTeacherComment() {
        return teacherComment;
    }
 
    public void setTeacherComment(String teacherComment) {
        this.teacherComment = teacherComment;
    }
 
    public short getCompleteStatus() {
        return completeStatus;
    }
 
    public void setCompleteStatus(short completeStatus) {
        this.completeStatus = completeStatus;
    }
 
    public String getStudentId() {
        return studentId;
    }
 
    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }
 
    public String getCreateId() {
        return createId;
    }
 
    public void setCreateId(String createId) {
        this.createId = createId;
    }
 
    public String getCreator() {
        return creator;
    }
 
    public void setCreator(String creator) {
        this.creator = creator;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    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 boolean getDeleteFlag() {
        return deleteFlag;
    }
 
    public void setDeleteFlag(boolean deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
 
    public String getStudentUserId() {
        return studentUserId;
    }
 
    public void setStudentUserId(String studentUserId) {
        this.studentUserId = studentUserId;
    }
 
    public String getStudentUserName() {
        return studentUserName;
    }
 
    public void setStudentUserName(String studentUserName) {
        this.studentUserName = studentUserName;
    }
 
    public Date getSubmitTime() {
        return submitTime;
    }
 
    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }
 
    public String getFilePath() {
        return filePath;
    }
 
    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
 
    public String getExerciseInfoId() {
        return exerciseInfoId;
    }
 
    public void setExerciseInfoId(String exerciseInfoId) {
        this.exerciseInfoId = exerciseInfoId;
    }
 
    public String getFileId() {
        return fileId;
    }
 
    public void setFileId(String fileId) {
        this.fileId = fileId;
    }
 
    public String getExerciseName() {
        return exerciseName;
    }
 
    public void setExerciseName(String exerciseName) {
        this.exerciseName = exerciseName;
    }
 
    public BigDecimal getStudentScore() {
        return studentScore;
    }
 
    public void setStudentScore(BigDecimal studentScore) {
        this.studentScore = studentScore;
    }
 
    public String getUploadDesc() {
        return uploadDesc;
    }
 
    public void setUploadDesc(String uploadDesc) {
        this.uploadDesc = uploadDesc;
    }
 
    public short getExerciseType() {
        return exerciseType;
    }
 
    public void setExerciseType(short exerciseType) {
        this.exerciseType = exerciseType;
    }
 
    public String getRemind() {
        return remind;
    }
 
    public void setRemind(String remind) {
        this.remind = remind;
    }
 
    public String getContent() {
        return content;
    }
 
    public void setContent(String content) {
        this.content = content;
    }
 
    public Double getTotalScore() {
        return totalScore;
    }
 
    public void setTotalScore(Double totalScore) {
        this.totalScore = totalScore;
    }
}