package com.ltgk.boat.domain.dto;


import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 修改渔船报警状态请求参数
 *
 * @author Qi ChengBin
 * @date 2025/05/15
 */
@Data
public class BoatAlarmUpdateAcceptStateReq {

    @JsonProperty(value = "id", required = true)
    @NotBlank(message = "报警id不能为空")
    @ApiModelProperty(value = "报警id", required = true)
    private String id;

    @JsonProperty(value = "acceptState", required = true)
    @NotNull(message = "处理状态不能为空")
    @ApiModelProperty(value = "处理状态 受理状态(0为待受理，1为处理中，2为已处理，3为标记结束,4忽略)", required = true)
    private Integer acceptState;
}
