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

import com.hotwj.platform.securityManagement.trainingOutline.domain.HotTrainingOutline;
import io.github.linpeilie.annotations.AutoMapper;
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
 *
 * @author shihongwei
 * @date 2026-01-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotTrainingOutline.class, reverseConvertGenerate = false)
public class HotTrainingOutlineBo extends BaseEntity {

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

    /**
     * 年度
     */
    @NotNull(message = "年度不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long outlineYear;

    /**
     * 培训类型组合，逗号分隔存储
     */
    private String outlineTypes;

    /**
     * 是否启用 0=否,1=是
     */
    private Long isEnabled;

    /**
     * 月度培训计划ID组合，逗号分隔存储
     */
    private String monthPlanIds;

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

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


}
