CourseChapterDO.java 787 Bytes
package com.meishu.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.meishu.util.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 科目章节字典表
 * </p>
 *
 * @author Tuyp
 * @since 2021-05-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("course_chapter")
public class CourseChapterDO extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 科目id
     */
    private Long courseId;

    /**
     * 章节
     */
    private String chapter;

    /**
     * 排序
     */
    private Integer orderNo;


}