package com.hotwj.platform.securityManagement.trainingOutlineCourse.domain.bo;

import com.hotwj.platform.securityManagement.trainingOutlineCourse.domain.HotTrainingOutlineCourse;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

/**
 * 培训大纲-课程大纲业务对象 hot_training_outline_course
 *
 * @author shihongwei
 * @date 2026-01-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotTrainingOutlineCourse.class, reverseConvertGenerate = false)
public class HotTrainingOutlineCourseBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 月度计划ID
     */
    @NotNull(message = "月度计划ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long monthOutlineId;

    /**
     * 排序
     */
    private Long sortNo;

    /**
     * 课程名称
     */
    @NotBlank(message = "课程名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String courseName;

    /**
     * 所属课程id
     */
    @NotBlank(message = "所属课程id不能为空", groups = {AddGroup.class, EditGroup.class})
    private String belongCourseId;

    /**
     * 课程描述
     */
    private String courseDesc;

    /**
     * 时长(分钟)
     */
    private Long durationMinute;

    /**
     * 备注
     */
    private String remark;

    /**
     * 0=正常, 1=已删除
     */
    private Long isDeleted;


}
