package com.multictrl.modules.business.dto.remote.control;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 探照灯—左右角度微调
 *
 * @author Sdy
 * @since 1.0.0 2026/5/21
 */
@Data
@Schema(name = "探照灯—左右角度微调")
public class LightFineTuningSet {

    @NotNull(message = "灯不能为空")
    @Schema(description = "灯{0:左灯 1:右灯}")
    private Integer position;

    @NotNull(message = "值不能为空")
    @Max(value = 3, message = "最大值为+3")
    @Min(value = -3, message = "最小值为-3")
    @Schema(description = "值（{ max: +3, min: -3}）")
    private Integer value;

    @NotNull(message = "是否保存不能为空")
    @Schema(description = "是否保存")
    private Boolean saved;
}
