TbxXrVideo.java
3.61 KB
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
package cn.bxe.updatevideo.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.lang.reflect.Type;
import java.util.Objects;
/**
* <p>
* 小睿章节模块视频
* </p>
*
* @author ting
* @since 2023-01-17
*/
public class TbxXrVideo extends Model<TbxXrVideo> implements Serializable{
private static final long serialVersionUID = 1L;
@TableId(type = IdType.ASSIGN_ID)
private Long id;
/**
* 视频id
*/
private Integer videoId;
/**
* 类目id
*/
private Integer chapterId;
/**
* 模块ID
*/
private Integer moduleId;
/**
* 视频名
*/
private String videoName;
/**
* 视频链接
*/
private String url;
/**
* 视频时长
*/
private String timeDuration;
/**
* 记录状态@10,正常|30,删除状态
*/
private Integer status;
/**
* 创建时间
*/
private Long createTime;
/**
* 视频封面链接
*/
private String coverUrl;
public TbxXrVideo() {
}
public Integer getVideoId() {
return videoId;
}
public void setVideoId(Integer videoId) {
this.videoId = videoId;
}
public Integer getChapterId() {
return chapterId;
}
public void setChapterId(Integer chapterId) {
this.chapterId = chapterId;
}
public Integer getModuleId() {
return moduleId;
}
public void setModuleId(Integer moduleId) {
this.moduleId = moduleId;
}
public String getVideoName() {
return videoName;
}
public void setVideoName(String videoName) {
this.videoName = videoName;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getTimeDuration() {
return timeDuration;
}
public void setTimeDuration(String timeDuration) {
this.timeDuration = timeDuration;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Long getCreateTime() {
return createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public String getCoverUrl() {
return coverUrl;
}
public void setCoverUrl(String coverUrl) {
this.coverUrl = coverUrl;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
TbxXrVideo that = (TbxXrVideo) o;
return Objects.equals(videoId, that.videoId) && Objects.equals(chapterId, that.chapterId) && Objects.equals(moduleId, that.moduleId);
}
@Override
public int hashCode() {
return Objects.hash(videoId, chapterId, moduleId);
}
@Override
public String toString() {
return "TbxXrVideo{" +
"videoId=" + videoId +
", chapterId=" + chapterId +
", moduleId=" + moduleId +
", videoName='" + videoName + '\'' +
", url='" + url + '\'' +
", timeDuration='" + timeDuration + '\'' +
", status=" + status +
", createTime=" + createTime +
", coverUrl='" + coverUrl + '\'' +
'}';
}
}