|
@@ -18,6 +18,102 @@ public class StudentHomePage implements Serializable {
|
|
|
private List<Live> liveList;
|
|
|
@ApiModelProperty(value = "视频课")
|
|
|
private List<Video> videoList;
|
|
|
+ @ApiModelProperty(value = "最近课程")
|
|
|
+ private RecentCourses recentCourses;
|
|
|
+
|
|
|
+ public static class RecentCourses{
|
|
|
+ @ApiModelProperty(value = "老师id")
|
|
|
+ private Long teacherId;
|
|
|
+ @ApiModelProperty(value = "老师姓名")
|
|
|
+ private String teacherName;
|
|
|
+ @ApiModelProperty(value = "老师头像")
|
|
|
+ private String avatar;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "课程id")
|
|
|
+ private Long courseId;
|
|
|
+ @ApiModelProperty(value = "课程组id")
|
|
|
+ private Long courseGroupId;
|
|
|
+ @ApiModelProperty(value = "课程组名称")
|
|
|
+ private String courseGroupName;
|
|
|
+ @ApiModelProperty(value = "课程类型(PRACTICE陪练课 LIVE直播课)")
|
|
|
+ private String courseType;
|
|
|
+ @ApiModelProperty(value = "课程状态(NOT_START未开始 ING进行中 )")
|
|
|
+ private String status;
|
|
|
+ @ApiModelProperty(value = "开课时间")
|
|
|
+ private Date courseStartTime;
|
|
|
+
|
|
|
+ public Long getTeacherId() {
|
|
|
+ return teacherId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTeacherId(Long teacherId) {
|
|
|
+ this.teacherId = teacherId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getTeacherName() {
|
|
|
+ return teacherName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTeacherName(String teacherName) {
|
|
|
+ this.teacherName = teacherName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getAvatar() {
|
|
|
+ return avatar;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAvatar(String avatar) {
|
|
|
+ this.avatar = avatar;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getCourseId() {
|
|
|
+ return courseId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCourseId(Long courseId) {
|
|
|
+ this.courseId = courseId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getCourseGroupId() {
|
|
|
+ return courseGroupId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCourseGroupId(Long courseGroupId) {
|
|
|
+ this.courseGroupId = courseGroupId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCourseGroupName() {
|
|
|
+ return courseGroupName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCourseGroupName(String courseGroupName) {
|
|
|
+ this.courseGroupName = courseGroupName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCourseType() {
|
|
|
+ return courseType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCourseType(String courseType) {
|
|
|
+ this.courseType = courseType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getStatus() {
|
|
|
+ return status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStatus(String status) {
|
|
|
+ this.status = status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getCourseStartTime() {
|
|
|
+ return courseStartTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCourseStartTime(Date courseStartTime) {
|
|
|
+ this.courseStartTime = courseStartTime;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
public static class Live {
|
|
|
@ApiModelProperty(value = "老师id")
|
|
@@ -262,5 +358,13 @@ public class StudentHomePage implements Serializable {
|
|
|
public void setVideoList(List<Video> videoList) {
|
|
|
this.videoList = videoList;
|
|
|
}
|
|
|
+
|
|
|
+ public RecentCourses getRecentCourses() {
|
|
|
+ return recentCourses;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRecentCourses(RecentCourses recentCourses) {
|
|
|
+ this.recentCourses = recentCourses;
|
|
|
+ }
|
|
|
}
|
|
|
|