package com.zhongzheng.modules.course.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import java.util.Date;


/**
 * 课程大章编辑对象 course_chapter
 *
 * @author hjl
 * @date 2021-05-19
 */
@Data
@ApiModel("课程大章编辑对象")
public class CourseChapterEditBo {


    /** 章ID */
    @ApiModelProperty("章ID")
    private Long chapterId;

    /** 课程ID */
    @ApiModelProperty("课程ID")
    @Min(value = 1, message = "课程ID不能为空")
    private Long courseId;

    /** 名称 */
    @ApiModelProperty("名称")
    @NotBlank(message = "大章名称不能为空")
    private String name;

    /** $column.columnComment */
    @ApiModelProperty("$column.columnComment")
    private Long sort;

    /** 修改时间 */
    @ApiModelProperty("修改时间")
    private Long updateTime;

    /** 状态 1正常 0关闭 */
    @ApiModelProperty("状态 1正常 0关闭")
    private Integer status;
}
