package com.zhongzheng.modules.course.vo;

import com.zhongzheng.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.util.List;


/**
 * 课程目录结构视图对象 mall_package
 *
 * @author hjl
 * @date 2021-10-12
 */
@Data
@ApiModel("课程目录结构视图对象")
public class CourseMenuVo {
	private static final long serialVersionUID = 1L;

	/** $pkColumn.columnComment */
	@ApiModelProperty("$pkColumn.columnComment")
	private Long id;

	/** 课程ID */
	@Excel(name = "课程ID")
	@ApiModelProperty("课程ID")
	private Long courseId;
	/** 目录id */
	@Excel(name = "目录id")
	@ApiModelProperty("目录id")
	private Long menuId;
	/** 1模块 2章 3节 */
	@Excel(name = "1模块 2章 3节")
	@ApiModelProperty("1模块 2章 3节")
	private Integer type;
	/** 父id ,type为1时父id才是0 */
	@Excel(name = "父id ,type为1时父id才是0")
	@ApiModelProperty("父id ,type为1时父id才是0")
	private Long parentId;
	/** 状态 1正常 0关闭 */
	@Excel(name = "状态 1正常 0关闭")
	@ApiModelProperty("状态 1正常 0关闭")
	private Integer status;
	@ApiModelProperty("目录名称")
	private String menuName;
	/** 节时长(分钟) */
	@Excel(name = "节时长(分钟)")
	@ApiModelProperty("节时长(分钟)")
	private Long durationTime;
	private Integer sort;

	/** 章模块关系 */
	@Excel(name = "章模块关系")
	@ApiModelProperty("章模块关系")
	private List<CourseModuleChapterVo> courseModuleChapterVos;

	@Excel(name = "章下面的节")
	@ApiModelProperty("章下面的节")
	private List<CourseChapterSectionVo> courseChapterSectionList;

}
