|
@@ -27,6 +27,8 @@ public class CmcStudy extends BaseEntity
|
27
|
27
|
@Excel(name = "学习资料标题")
|
28
|
28
|
private String title;
|
29
|
29
|
private CmcResource resource;
|
|
30
|
+ @Excel(name = "学习资料类型")
|
|
31
|
+ private String type;
|
30
|
32
|
|
31
|
33
|
/** 用户id */
|
32
|
34
|
private Long userId;
|
|
@@ -88,6 +90,24 @@ public class CmcStudy extends BaseEntity
|
88
|
90
|
{
|
89
|
91
|
return lastPoint;
|
90
|
92
|
}
|
|
93
|
+ public void setTitle(String title)
|
|
94
|
+ {
|
|
95
|
+ this.title = title;
|
|
96
|
+ }
|
|
97
|
+
|
|
98
|
+ public String getTitle()
|
|
99
|
+ {
|
|
100
|
+ return title;
|
|
101
|
+ }
|
|
102
|
+ public void setType(String type)
|
|
103
|
+ {
|
|
104
|
+ this.type = type;
|
|
105
|
+ }
|
|
106
|
+
|
|
107
|
+ public String getType()
|
|
108
|
+ {
|
|
109
|
+ return type;
|
|
110
|
+ }
|
91
|
111
|
public void setLastTime(Date lastTime)
|
92
|
112
|
{
|
93
|
113
|
this.lastTime = lastTime;
|
|
@@ -109,7 +129,6 @@ public class CmcStudy extends BaseEntity
|
109
|
129
|
public void setResource(CmcResource resource)
|
110
|
130
|
{
|
111
|
131
|
this.resource = resource;
|
112
|
|
- this.title = resource == null ? "" : resource.getTitle();
|
113
|
132
|
}
|
114
|
133
|
|
115
|
134
|
public CmcResource getResource()
|