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

import com.hotwj.platform.securityManagement.trainingOutlineMonth.domain.HotTrainingOutlineMonth;
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_month
 *
 * @author shihongwei
 * @date 2026-01-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotTrainingOutlineMonth.class, reverseConvertGenerate = false)
public class HotTrainingOutlineMonthBo extends BaseEntity {

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

    /**
     * 培训大纲ID
     */
    @NotNull(message = "培训大纲ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long outlineId;

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

    /**
     * 月份，格式YYYY-MM
     */
    @NotBlank(message = "月份，格式YYYY-MM不能为空", groups = {AddGroup.class, EditGroup.class})
    private String planMonth;

    /**
     * 主题
     */
    private String topic;

    /**
     * 课程大纲id集合，逗号分隔存储
     */
    private String outlineIds;

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

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


}
