package com.njcn.rdms.module.project.controller.admin.overtime.vo;

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

import java.util.List;

@Schema(description = "管理后台 - 加班申请批量审批 Request VO")
@Data
public class OvertimeApplicationBatchActionReqVO {

    @Schema(description = "加班申请编号列表", requiredMode = Schema.RequiredMode.REQUIRED, example = "[1,2,3]")
    @NotEmpty(message = "加班申请编号列表不能为空")
    private List<Long> ids;

    @Schema(description = "审批意见。是否必填以状态机配置为准；当前退回必填",
            example = "已确认，同意加班")
    @Size(max = 1000, message = "审批意见长度不能超过 1000 个字符")
    private String reason;

}
