派生自 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
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
package com.qxueyou.scc.school.model;
// Generated 2018-3-22 21:54:48 by Hibernate Tools 5.2.8.Final
 
import java.util.Date;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
 
import org.hibernate.annotations.GenericGenerator;
import org.springframework.format.annotation.DateTimeFormat;
 
import com.fasterxml.jackson.annotation.JsonIgnore;
 
/**
 * HandoutConverTask generated by hbm2java
 */
@Entity
@Table(name = "handout_conver_task")
public class HandoutConverTask implements java.io.Serializable {
    private static final long serialVersionUID = -8930342549317530970L;
    private String taskId;
    private String handoutId;
    private String handoutUrl;
    private Integer status;
    private boolean deleteFlag;
    private Date createTime;
    private Date updateTime;
    /*
     * 草稿
     */
    public static final Integer STATUS_DRAFT = 0;
 
    /*
     * 转码中
     */
    public static final Integer STATUS_TRANSFORMING = 1;
 
    /*
     * 已发布
     */
    public static final Integer STATUS_PUBLISHED = 2;
 
    /*
     * 已下架
     */
    public static final Integer STATUS_TAKEOFF = 3;
 
    /*
     * 转码失败
     */
    public static final Integer STATUS_TRANSFAILED = 4;
 
    /*
     * 排队中
     */
    public static final Integer STATUS_LINEUP = 5;
 
    public HandoutConverTask() {
    }
 
    public HandoutConverTask(String taskId, String handoutId, Date createTime, Date updateTime) {
        this.taskId = taskId;
        this.handoutId = handoutId;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
 
    public HandoutConverTask(String taskId, String handoutId, String handoutUrl, Integer status, boolean deleteFlag,
            Date createTime, Date updateTime) {
        this.taskId = taskId;
        this.handoutId = handoutId;
        this.handoutUrl = handoutUrl;
        this.status = status;
        this.deleteFlag = deleteFlag;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
 
    @Id
    @GeneratedValue(generator = "hibernate-uuid")
    @GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
    @Column(name = "task_id", unique = true, nullable = false, length = 36)
    public String getTaskId() {
        return this.taskId;
    }
 
    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }
 
    @Column(name = "handout_id", nullable = false, length = 36)
    public String getHandoutId() {
        return this.handoutId;
    }
 
    public void setHandoutId(String handoutId) {
        this.handoutId = handoutId;
    }
 
    @Column(name = "handout_url")
    public String getHandoutUrl() {
        return this.handoutUrl;
    }
 
    public void setHandoutUrl(String handoutUrl) {
        this.handoutUrl = handoutUrl;
    }
 
    @Column(name = "status")
    public Integer getStatus() {
        return this.status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
    }
 
    @Column(name = "delete_flag")
    public boolean getDeleteFlag() {
        return this.deleteFlag;
    }
 
    public void setDeleteFlag(boolean deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
 
    @Column(name = "create_time", nullable = false, length = 19)
    @Temporal(TemporalType.TIMESTAMP)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonIgnore
    public Date getCreateTime() {
        return this.createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    @Column(name = "update_time", nullable = false, length = 19)
    @Temporal(TemporalType.TIMESTAMP)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonIgnore
    public Date getUpdateTime() {
        return this.updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
 
}