|
@@ -9,129 +9,144 @@ import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.util.Date;
|
|
|
+
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
+import javax.validation.constraints.NotBlank;
|
|
|
+import javax.validation.constraints.NotNull;
|
|
|
+
|
|
|
/**
|
|
|
* 课程点评
|
|
|
*/
|
|
|
@TableName("course_schedule_replied")
|
|
|
@ApiModel(value = "CourseScheduleReplied对象", description = "课程点评")
|
|
|
public class CourseScheduleReplied implements Serializable {
|
|
|
- private static final long serialVersionUID = 1L;
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
@ApiModelProperty("主键 ")
|
|
|
@TableId(value = "id_", type = IdType.AUTO)
|
|
|
private Long id;
|
|
|
+
|
|
|
@ApiModelProperty("学生id ")
|
|
|
- @TableField(value = "student_id_")
|
|
|
+ @TableField(value = "student_id_")
|
|
|
+ @NotNull(message = "学生id不能为空")
|
|
|
private Long studentId;
|
|
|
+
|
|
|
@ApiModelProperty("课程编号 ")
|
|
|
- @TableField(value = "course_schedule_id_")
|
|
|
+ @TableField(value = "course_schedule_id_")
|
|
|
+ @NotNull(message = "课程编号不能为空")
|
|
|
private Long courseScheduleId;
|
|
|
+
|
|
|
@ApiModelProperty("课程组类型PRACTICE、LIVE; ")
|
|
|
- @TableField(value = "course_group_type_")
|
|
|
+ @TableField(value = "course_group_type_")
|
|
|
private String courseGroupType;
|
|
|
+
|
|
|
@ApiModelProperty("课程组编号; ")
|
|
|
- @TableField(value = "course_group_id_")
|
|
|
+ @TableField(value = "course_group_id_")
|
|
|
+ @NotBlank(message = "课程组编号不能为空")
|
|
|
private String courseGroupId;
|
|
|
+
|
|
|
@ApiModelProperty("学员评分 ")
|
|
|
- @TableField(value = "score_")
|
|
|
+ @TableField(value = "score_")
|
|
|
private Integer score;
|
|
|
+
|
|
|
@ApiModelProperty("学员课后评价 ")
|
|
|
- @TableField(value = "student_replied_")
|
|
|
+ @TableField(value = "student_replied_")
|
|
|
private String studentReplied;
|
|
|
+
|
|
|
@ApiModelProperty("老师课后评价 ")
|
|
|
- @TableField(value = "teacher_replied_")
|
|
|
+ @TableField(value = "teacher_replied_")
|
|
|
private String teacherReplied;
|
|
|
+
|
|
|
@ApiModelProperty("创建时间 ")
|
|
|
- @TableField(value = "create_time_")
|
|
|
+ @TableField(value = "create_time_")
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
private Date createTime;
|
|
|
+
|
|
|
@ApiModelProperty("修改时间 ")
|
|
|
- @TableField(value = "update_time_")
|
|
|
+ @TableField(value = "update_time_")
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
private Date updateTime;
|
|
|
|
|
|
- public Long getId() {
|
|
|
+ public Long getId() {
|
|
|
return id;
|
|
|
}
|
|
|
|
|
|
public void setId(Long id) {
|
|
|
this.id = id;
|
|
|
}
|
|
|
-
|
|
|
- public Long getStudentId() {
|
|
|
+
|
|
|
+ public Long getStudentId() {
|
|
|
return studentId;
|
|
|
}
|
|
|
|
|
|
public void setStudentId(Long studentId) {
|
|
|
this.studentId = studentId;
|
|
|
}
|
|
|
-
|
|
|
- public Long getCourseScheduleId() {
|
|
|
+
|
|
|
+ public Long getCourseScheduleId() {
|
|
|
return courseScheduleId;
|
|
|
}
|
|
|
|
|
|
public void setCourseScheduleId(Long courseScheduleId) {
|
|
|
this.courseScheduleId = courseScheduleId;
|
|
|
}
|
|
|
-
|
|
|
- public String getCourseGroupType() {
|
|
|
+
|
|
|
+ public String getCourseGroupType() {
|
|
|
return courseGroupType;
|
|
|
}
|
|
|
|
|
|
public void setCourseGroupType(String courseGroupType) {
|
|
|
this.courseGroupType = courseGroupType;
|
|
|
}
|
|
|
-
|
|
|
- public String getCourseGroupId() {
|
|
|
+
|
|
|
+ public String getCourseGroupId() {
|
|
|
return courseGroupId;
|
|
|
}
|
|
|
|
|
|
public void setCourseGroupId(String courseGroupId) {
|
|
|
this.courseGroupId = courseGroupId;
|
|
|
}
|
|
|
-
|
|
|
- public Integer getScore() {
|
|
|
+
|
|
|
+ public Integer getScore() {
|
|
|
return score;
|
|
|
}
|
|
|
|
|
|
public void setScore(Integer score) {
|
|
|
this.score = score;
|
|
|
}
|
|
|
-
|
|
|
- public String getStudentReplied() {
|
|
|
+
|
|
|
+ public String getStudentReplied() {
|
|
|
return studentReplied;
|
|
|
}
|
|
|
|
|
|
public void setStudentReplied(String studentReplied) {
|
|
|
this.studentReplied = studentReplied;
|
|
|
}
|
|
|
-
|
|
|
- public String getTeacherReplied() {
|
|
|
+
|
|
|
+ public String getTeacherReplied() {
|
|
|
return teacherReplied;
|
|
|
}
|
|
|
|
|
|
public void setTeacherReplied(String teacherReplied) {
|
|
|
this.teacherReplied = teacherReplied;
|
|
|
}
|
|
|
-
|
|
|
- public Date getCreateTime() {
|
|
|
+
|
|
|
+ public Date getCreateTime() {
|
|
|
return createTime;
|
|
|
}
|
|
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
|
this.createTime = createTime;
|
|
|
}
|
|
|
-
|
|
|
- public Date getUpdateTime() {
|
|
|
+
|
|
|
+ public Date getUpdateTime() {
|
|
|
return updateTime;
|
|
|
}
|
|
|
|
|
|
public void setUpdateTime(Date updateTime) {
|
|
|
this.updateTime = updateTime;
|
|
|
}
|
|
|
-
|
|
|
}
|