ContentDetailBean.java
1.89 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
package com.wd.foundation.bean.request;
/**
* Time:2023/5/19
* Author:ypf
* Description:新闻内容详情请求Bean
*/
public class ContentDetailBean {
private String contentId;
private int contentType;
private String relId;
private String relType;
private String contentRelId;
public ContentDetailBean(String contentId) {
this.contentId = contentId;
}
public ContentDetailBean(String contentId, int contentType) {
this.contentId = contentId;
this.contentType = contentType;
}
public ContentDetailBean(String contentId, int contentType, String contentRelId, String relType) {
this.contentId = contentId;
this.contentType = contentType;
this.relId = contentRelId;
this.contentRelId = contentRelId;
this.relType = relType;
}
public ContentDetailBean(String contentId, String contentRelId, int relType) {
this.contentId = contentId;
this.relId = contentRelId;
this.contentRelId = contentRelId;
this.relType = relType+"";
}
public String getContentId() {
return contentId;
}
public void setContentId(String contentId) {
this.contentId = contentId;
}
public int getContentType() {
return contentType;
}
public void setContentType(int contentType) {
this.contentType = contentType;
}
public String getRelId() {
return relId;
}
public void setRelId(String relId) {
this.relId = relId;
this.contentRelId = relId;
}
public String getRelType() {
return relType;
}
public void setRelType(String relType) {
this.relType = relType;
}
public String getContentRelId() {
return contentRelId;
}
public void setContentRelId(String contentRelId) {
this.contentRelId = contentRelId;
this.relId = contentRelId;
}
}