|
@@ -1,5 +1,6 @@
|
|
package com.yonge.cooleshow.biz.dal.entity;
|
|
package com.yonge.cooleshow.biz.dal.entity;
|
|
|
|
|
|
|
|
+import com.yonge.cooleshow.biz.dal.enums.AuthStatusEnum;
|
|
import com.yonge.cooleshow.biz.dal.valid.AddGroup;
|
|
import com.yonge.cooleshow.biz.dal.valid.AddGroup;
|
|
import com.yonge.cooleshow.biz.dal.valid.UpdateGroup;
|
|
import com.yonge.cooleshow.biz.dal.valid.UpdateGroup;
|
|
import com.yonge.cooleshow.common.entity.BaseEntity;
|
|
import com.yonge.cooleshow.common.entity.BaseEntity;
|
|
@@ -15,40 +16,45 @@ import javax.validation.constraints.NotNull;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 视频课基本信息表
|
|
* 视频课基本信息表
|
|
|
|
+ *
|
|
* @author yzp
|
|
* @author yzp
|
|
- * @date 2022-03-25 23:46:28
|
|
|
|
* @version v1.0
|
|
* @version v1.0
|
|
|
|
+ * @date 2022-03-25 23:46:28
|
|
**/
|
|
**/
|
|
@ApiModel(value = "video_lesson_group-视频课基本信息表")
|
|
@ApiModel(value = "video_lesson_group-视频课基本信息表")
|
|
public class VideoLessonGroup extends BaseEntity {
|
|
public class VideoLessonGroup extends BaseEntity {
|
|
|
|
|
|
@TableId(value = "id_", type = IdType.AUTO)
|
|
@TableId(value = "id_", type = IdType.AUTO)
|
|
@ApiModelProperty(value = "主键id")
|
|
@ApiModelProperty(value = "主键id")
|
|
- @NotNull(message = "组id不能为空;",groups = {UpdateGroup.class})
|
|
|
|
|
|
+ @NotNull(message = "组id不能为空;", groups = {UpdateGroup.class})
|
|
private Long id; //主键ID
|
|
private Long id; //主键ID
|
|
|
|
|
|
@TableField("lesson_name_")
|
|
@TableField("lesson_name_")
|
|
- @ApiModelProperty(value = "课程名称",required = true)
|
|
|
|
- @NotBlank(message = "课程名称不能为空;",groups = {AddGroup.class,UpdateGroup.class})
|
|
|
|
|
|
+ @ApiModelProperty(value = "课程名称", required = true)
|
|
|
|
+ @NotBlank(message = "课程名称不能为空;", groups = {AddGroup.class, UpdateGroup.class})
|
|
private String lessonName; //课程名称
|
|
private String lessonName; //课程名称
|
|
|
|
|
|
@TableField("lesson_subject_")
|
|
@TableField("lesson_subject_")
|
|
- @ApiModelProperty(value = "课程声部")
|
|
|
|
|
|
+ @ApiModelProperty(value = "课程声部id")
|
|
private String lessonSubject; //课程声部
|
|
private String lessonSubject; //课程声部
|
|
|
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
|
+ @ApiModelProperty(value = "声部名称")
|
|
|
|
+ private String lessonSubjectName;
|
|
|
|
+
|
|
@TableField("lesson_desc_")
|
|
@TableField("lesson_desc_")
|
|
- @ApiModelProperty(value = "课程介绍",required = true)
|
|
|
|
- @NotBlank(message = "课程介绍不能为空;",groups = {AddGroup.class,UpdateGroup.class})
|
|
|
|
|
|
+ @ApiModelProperty(value = "课程介绍", required = true)
|
|
|
|
+ @NotBlank(message = "课程介绍不能为空;", groups = {AddGroup.class, UpdateGroup.class})
|
|
private String lessonDesc; //课程介绍
|
|
private String lessonDesc; //课程介绍
|
|
|
|
|
|
@TableField("lesson_price_")
|
|
@TableField("lesson_price_")
|
|
- @ApiModelProperty(value = "课程价格",required = true)
|
|
|
|
- @NotNull(message = "课程价格不能为空;",groups = {AddGroup.class,UpdateGroup.class})
|
|
|
|
|
|
+ @ApiModelProperty(value = "课程价格", required = true)
|
|
|
|
+ @NotNull(message = "课程价格不能为空;", groups = {AddGroup.class, UpdateGroup.class})
|
|
private Integer lessonPrice; //课程价格
|
|
private Integer lessonPrice; //课程价格
|
|
|
|
|
|
@TableField("lesson_cover_url_")
|
|
@TableField("lesson_cover_url_")
|
|
- @ApiModelProperty(value = "课程封面图片URL",required = true)
|
|
|
|
- @NotBlank(message = "课程封面图片URL不能为空;",groups = {AddGroup.class,UpdateGroup.class})
|
|
|
|
|
|
+ @ApiModelProperty(value = "课程封面图片URL", required = true)
|
|
|
|
+ @NotBlank(message = "课程封面图片URL不能为空;", groups = {AddGroup.class, UpdateGroup.class})
|
|
private String lessonCoverUrl; //课程封面图片URL
|
|
private String lessonCoverUrl; //课程封面图片URL
|
|
|
|
|
|
@TableField("teacher_id_")
|
|
@TableField("teacher_id_")
|
|
@@ -76,8 +82,8 @@ public class VideoLessonGroup extends BaseEntity {
|
|
private Integer hotFlag; //是否热门课程
|
|
private Integer hotFlag; //是否热门课程
|
|
|
|
|
|
@TableField("audit_status_")
|
|
@TableField("audit_status_")
|
|
- @ApiModelProperty(value = "审核状态(0:待审核;1:通过;2:未通过)")
|
|
|
|
- private Integer auditStatus; //审核状态
|
|
|
|
|
|
+ @ApiModelProperty(value = "审核状态(DOING:待审核 PASS:通过 UNPASS:未通过)")
|
|
|
|
+ private AuthStatusEnum auditStatus; //审核状态
|
|
|
|
|
|
@TableField("create_time_")
|
|
@TableField("create_time_")
|
|
@ApiModelProperty(value = "创建时间")
|
|
@ApiModelProperty(value = "创建时间")
|
|
@@ -87,141 +93,147 @@ public class VideoLessonGroup extends BaseEntity {
|
|
@ApiModelProperty(value = "更新时间")
|
|
@ApiModelProperty(value = "更新时间")
|
|
private java.util.Date updateTime; //更新时间
|
|
private java.util.Date updateTime; //更新时间
|
|
|
|
|
|
- public VideoLessonGroup setId(Long id) {
|
|
|
|
- this.id = id;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Long getId() {
|
|
|
|
- return this.id;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setLessonName(String lessonName) {
|
|
|
|
- this.lessonName = lessonName;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getLessonName() {
|
|
|
|
- return this.lessonName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setLessonSubject(String lessonSubject) {
|
|
|
|
- this.lessonSubject = lessonSubject;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getLessonSubject() {
|
|
|
|
- return this.lessonSubject;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setLessonDesc(String lessonDesc) {
|
|
|
|
- this.lessonDesc = lessonDesc;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getLessonDesc() {
|
|
|
|
- return this.lessonDesc;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setLessonPrice(Integer lessonPrice) {
|
|
|
|
- this.lessonPrice = lessonPrice;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getLessonPrice() {
|
|
|
|
- return this.lessonPrice;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setLessonCoverUrl(String lessonCoverUrl) {
|
|
|
|
- this.lessonCoverUrl = lessonCoverUrl;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getLessonCoverUrl() {
|
|
|
|
- return this.lessonCoverUrl;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setTeacherId(Long teacherId) {
|
|
|
|
- this.teacherId = teacherId;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Long getTeacherId() {
|
|
|
|
- return this.teacherId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setLessonCount(Integer lessonCount) {
|
|
|
|
- this.lessonCount = lessonCount;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getLessonCount() {
|
|
|
|
- return this.lessonCount;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setSortNumber(Integer sortNumber) {
|
|
|
|
- this.sortNumber = sortNumber;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getSortNumber() {
|
|
|
|
- return this.sortNumber;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setLessonTag(String lessonTag) {
|
|
|
|
- this.lessonTag = lessonTag;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getLessonTag() {
|
|
|
|
- return this.lessonTag;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setTopFlag(Integer topFlag) {
|
|
|
|
- this.topFlag = topFlag;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getTopFlag() {
|
|
|
|
- return this.topFlag;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setHotFlag(Integer hotFlag) {
|
|
|
|
- this.hotFlag = hotFlag;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getHotFlag() {
|
|
|
|
- return this.hotFlag;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setAuditStatus(Integer auditStatus) {
|
|
|
|
- this.auditStatus = auditStatus;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getAuditStatus() {
|
|
|
|
- return this.auditStatus;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setCreateTime(java.util.Date createTime) {
|
|
|
|
- this.createTime = createTime;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public java.util.Date getCreateTime() {
|
|
|
|
- return this.createTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public VideoLessonGroup setUpdateTime(java.util.Date updateTime) {
|
|
|
|
- this.updateTime = updateTime;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public java.util.Date getUpdateTime() {
|
|
|
|
- return this.updateTime;
|
|
|
|
- }
|
|
|
|
|
|
+ public VideoLessonGroup setId(Long id) {
|
|
|
|
+ this.id = id;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
|
|
|
|
+ public String getLessonSubjectName() {
|
|
|
|
+ return lessonSubjectName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setLessonSubjectName(String lessonSubjectName) {
|
|
|
|
+ this.lessonSubjectName = lessonSubjectName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Long getId() {
|
|
|
|
+ return this.id;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public VideoLessonGroup setLessonName(String lessonName) {
|
|
|
|
+ this.lessonName = lessonName;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getLessonName() {
|
|
|
|
+ return this.lessonName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public VideoLessonGroup setLessonSubject(String lessonSubject) {
|
|
|
|
+ this.lessonSubject = lessonSubject;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getLessonSubject() {
|
|
|
|
+ return this.lessonSubject;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public VideoLessonGroup setLessonDesc(String lessonDesc) {
|
|
|
|
+ this.lessonDesc = lessonDesc;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getLessonDesc() {
|
|
|
|
+ return this.lessonDesc;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public VideoLessonGroup setLessonPrice(Integer lessonPrice) {
|
|
|
|
+ this.lessonPrice = lessonPrice;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Integer getLessonPrice() {
|
|
|
|
+ return this.lessonPrice;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public VideoLessonGroup setLessonCoverUrl(String lessonCoverUrl) {
|
|
|
|
+ this.lessonCoverUrl = lessonCoverUrl;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getLessonCoverUrl() {
|
|
|
|
+ return this.lessonCoverUrl;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public VideoLessonGroup setTeacherId(Long teacherId) {
|
|
|
|
+ this.teacherId = teacherId;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Long getTeacherId() {
|
|
|
|
+ return this.teacherId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public VideoLessonGroup setLessonCount(Integer lessonCount) {
|
|
|
|
+ this.lessonCount = lessonCount;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Integer getLessonCount() {
|
|
|
|
+ return this.lessonCount;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public VideoLessonGroup setSortNumber(Integer sortNumber) {
|
|
|
|
+ this.sortNumber = sortNumber;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Integer getSortNumber() {
|
|
|
|
+ return this.sortNumber;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public VideoLessonGroup setLessonTag(String lessonTag) {
|
|
|
|
+ this.lessonTag = lessonTag;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getLessonTag() {
|
|
|
|
+ return this.lessonTag;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public VideoLessonGroup setTopFlag(Integer topFlag) {
|
|
|
|
+ this.topFlag = topFlag;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Integer getTopFlag() {
|
|
|
|
+ return this.topFlag;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public VideoLessonGroup setHotFlag(Integer hotFlag) {
|
|
|
|
+ this.hotFlag = hotFlag;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Integer getHotFlag() {
|
|
|
|
+ return this.hotFlag;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public AuthStatusEnum getAuditStatus() {
|
|
|
|
+ return auditStatus;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setAuditStatus(AuthStatusEnum auditStatus) {
|
|
|
|
+ this.auditStatus = auditStatus;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public VideoLessonGroup setCreateTime(java.util.Date createTime) {
|
|
|
|
+ this.createTime = createTime;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.util.Date getCreateTime() {
|
|
|
|
+ return this.createTime;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public VideoLessonGroup setUpdateTime(java.util.Date updateTime) {
|
|
|
|
+ this.updateTime = updateTime;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public java.util.Date getUpdateTime() {
|
|
|
|
+ return this.updateTime;
|
|
|
|
+ }
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public String toString() {
|
|
public String toString() {
|