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

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

/**
 * 培训审核批量审核业务对象
 *
 * @author shihongwei
 * @date 2026-04-27
 */
@Data
@Schema(description = "培训审核批量审核业务对象")
public class HotTrainingAuditBatchBo {

    /**
     * 公司ID
     */
    @NotNull(message = "公司ID不能为空")
    private Long companyId;

    /**
     * 培训ID
     */
    @NotNull(message = "培训ID不能为空")
    private Long trainingId;

    /**
     * 是否补学
     */
    private Long isMakeUp;

    /**
     * 审核人签字图片url
     */
    @NotBlank(message = "审核人签字图片url不能为空")
    private String signImgUrl;

    /**
     * 批量审核明细
     */
    @Valid
    @NotEmpty(message = "审核明细不能为空")
    private List<HotTrainingAuditBo> auditItems;
}
