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

import com.zhongshu.card.client.type.LeaveStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class ApprovalLeaveParam {

    @Schema(description = "数据id")
    @NotNull(message = "数据id不能为null")
    @NotEmpty(message = "数据id不能为空")
    private String id;

    @Schema(description = "是否通过，通过ture")
    private LeaveStatus leaveStatus;

    @Schema(description = "审核意见")
    private String remark;
}
