package com.zhongshu.card.client.openApi.params;

import com.zhongshu.card.client.type.LeaveStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class AddLeaveOpenApiParam {

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

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

    //场景id
    @Schema(name = "sceneId", description = "场景id")
    private String sceneId;

    //请假类型
    @Schema(name = "leaveType", description = "请假类型")
    private String leaveType;

    @Schema(name = "startTime", description = "开始时间")
    private Long startTime;

    @Schema(name = "endTime", description = "结束时间")
    private Long endTime;

    @Schema(name = "leaveReason", description = "请假原因")
    private String leaveReason;

    @Schema(name = "pic", description = "图片")
    private List<String> pic;

    @Schema(name = "approvalUser", description = "审批人uid")
    private String approvalUser;

    @Schema(name = "leaveStatus", description = "审核状态")
    private LeaveStatus leaveStatus;

    @Schema(name = "approvalTime", description = "审核时间")
    private Long approvalTime;

    @Schema(name = "approvalRemark", description = "审核意见")
    private String approvalRemark;

    @Schema(name = "leaveUser", description = "请假人uid")
    private String leaveUser;
}
