package com.yuchen.saas.park.api.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author: baichaojie
 * @CreateTime: 2024/10/31 15:18
 * @Description: 呼梯请求
 * @Version: 1.0
 */
@Data
public class ThirdCallElevatorRequest {
    /**
     * 电梯id
     */
    @NotNull(message = "电梯id不能为空")
    @ApiModelProperty(name = "id", value = "id")
    private Long id;

    /**
     * 目标楼层
     */
    @NotNull(message = "目标楼层  不能为空")
    @ApiModelProperty(name = "desDoor", value = "desDoor")
    private Integer desDoor;

    @NotNull(message = "电梯门,0前门,1后门 不能为空")
    @ApiModelProperty(name = "carDoor", value = "carDoor")
    private Integer carDoor;
}