package com.fizz.business.form;

import com.fizz.business.constants.enums.DeviceEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 位置调整form
 *
 * @author chenhao
 * @date 2023/04/27
 */
@Getter
@Setter
public class AdjustPosForm implements Serializable {
    @NotNull(message = "目标位置不存在")
    @Schema(description = "目标位置")
    private DeviceEnum targetPos;
    @NotNull(message = "当前位置不存在")
    @Schema(description = "当前位置")
    private DeviceEnum currentPos;
}
