TbxXrModule.java
3.07 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
package cn.bxe.updatevideo.model;
import java.io.Serializable;
import java.util.Objects;
/**
* <p>
* 小睿书籍章节类目可用类目模块
* </p>
*
* @author ting
* @since 2023-01-17
*/
public class TbxXrModule implements Serializable {
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
TbxXrModule that = (TbxXrModule) o;
return Objects.equals(chapterId, that.chapterId) && Objects.equals(moduleId, that.moduleId) && Objects.equals(textbookId, that.textbookId);
}
@Override
public int hashCode() {
return Objects.hash(chapterId, moduleId, textbookId);
}
private static final long serialVersionUID = 1L;
/**
* 类目id
*/
private Integer chapterId;
/**
* 模块ID
*/
private Integer moduleId;
/**
* 书籍ID
*/
private Integer textbookId;
/**
* 分类名
*/
private String categoryName;
/**
* 分类详情
*/
private String categoryDesc;
/**
* 模块列表json
*/
private String moduleList;
/**
* 记录状态@10,正常|30,删除状态
*/
private Integer status;
/**
* 创建时间
*/
private Long createTime;
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 Integer getTextbookId() {
return textbookId;
}
public void setTextbookId(Integer textbookId) {
this.textbookId = textbookId;
}
public String getCategoryName() {
return categoryName;
}
public void setCategoryName(String categoryName) {
this.categoryName = categoryName;
}
public String getCategoryDesc() {
return categoryDesc;
}
public void setCategoryDesc(String categoryDesc) {
this.categoryDesc = categoryDesc;
}
public String getModuleList() {
return moduleList;
}
public void setModuleList(String moduleList) {
this.moduleList = moduleList;
}
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;
}
@Override
public String toString() {
return "TbxXrModule{" +
"chapterId=" + chapterId +
", moduleId=" + moduleId +
", textbookId=" + textbookId +
", categoryName='" + categoryName + '\'' +
", categoryDesc='" + categoryDesc + '\'' +
", moduleList='" + moduleList + '\'' +
", status=" + status +
", createTime=" + createTime +
'}';
}
}