package cn.iocoder.yudao.module.knowledge.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;


/**
 * 培训教材表
 *
 * @author admin
 * @since 1.0.0 2024-04-22
 */

@Data
@TableName("t_train_material")
@Schema(description = "培训教材类")
public class TTrainMaterial extends BaseDO {

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

    @Schema(description = "排序", example = "1")
    private Integer orders;

    @Schema(description = "课件id", example = "1")
    private Long coursewareId;

    @Schema(description = "培训编码", example = "dsdssKDSDFDS0DSC2")
    private String teachCode;

    @Schema(description = "培训id", example = "1")
    private Long trainId;

}
