package cn.iocoder.yudao.module.bpm.controller.admin.business.vo;

import cn.iocoder.yudao.module.bpm.enums.BpmBusinessTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Map;

/**
 * @Author: jinyd
 * @CreateTime: 2024/8/16  16:35
 * @Description: 管理后台 - 创建床位变更 Request VO
 * @Version: 4.0
 */
@Schema(description = "管理后台 - 创建床位变更 Request VO")
@Data
public class BpmBedChangeCreateReqVO {

    @Schema(description = "记录id", example = "12122")
    private Long id;

    @Schema(description = "老人id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "老人id不能为空")
    private Long elderlyId;

    @Schema(description = "床位id", example = "6489")
    private Long bed_id;

    @Schema(description = "原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private String reason;


    @Schema(description = "申请人的用户编号", example = "499")
    private Long userId;

    @Schema(description = "审批结果", example = "2")
    private Integer status;

    /**
     * * 关联 {@link BpmBusinessTypeEnum}
     */
    @Schema(description = "申请类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "4-床位变更")
    @NotNull(message = "申请类型不能为空")
    private Integer type;

    @Schema(description = "流程实例的编号", example = "11303")
    private String processInstanceId;

    @Schema(description = "发起人自选审批人 Map", example = "{taskKey1: [1, 2]}")
    private Map<String, List<Long>> startUserSelectAssignees;



}