package com.zhongshu.card.client.model.attendance;

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

import java.util.List;

@Data
public class LeaveSettingParam {

    @Schema(description = "数据id")
    private String id;

    @Schema(description = "项目oid")
    private String projectId;

    @Schema(description = "场景id")
    @NotNull(message = "sceneId场景id不能为null")
    @NotEmpty(message = "sceneId场景id不能为空")
    private String sceneId;

    @Schema(description = "审批人角色")
    @NotNull(message = "approvalRoles审批人角色不能为null")
    @NotEmpty(message = "approvalRoles审批人角色不能为空")
    private List<String> approvalRoles;

    @Schema(description = "表单配置")
    private String form;
}
