package com.yuchen.saas.parking.charge.api.dto.alarm;

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

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

@Data
@ApiModel(value="告警信息处理", description="告警信息处理")
public class WarningHandleDTO {

    @ApiModelProperty(name = "id", value = "告警id数组")
    @NotNull(message = "id不能为空")
    private List<Long> id;

    @ApiModelProperty("处理人姓名")
    private String handlerName;
    @ApiModelProperty("处理时间")
    private String handlerTime;
    @ApiModelProperty("处理备注")
    @NotNull(message = "处理备注不能为空")
    private String handlerRemark;
    @ApiModelProperty("处理附件，多张图片 英文逗号隔开")
    @Size(max=1000,message = "图片数量超过限制")
    private String handlerImgUrl;

    @ApiModelProperty(name = "handleStatus", value = "处理结果（1:无需处理 2：已解决 3：未解决 4：已提工单）")
    @NotNull(message = "处理结果不能为空")
    private Integer handleStatus;
}
