package com.zcloud.zcGbsServicer.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
public class AlarmRecordAddCmd extends Command {

    @ApiModelProperty("报警人用户ID")
    private Long alarmUserId;

    @NotBlank
    @ApiModelProperty("报警人")
    private String reporter;

    @ApiModelProperty("报警人电话")
    private String alarmPhone;

    @ApiModelProperty("所属单位ID")
    private Long corpinfoId;

    @NotBlank
    @ApiModelProperty("火警位置")
    private String location;

    @NotBlank
    @ApiModelProperty("所属单位")
    private String unit;

    @ApiModelProperty("定位地址")
    private String locationAddress;

    @NotNull
    @ApiModelProperty("经度")
    private Double lng;

    @NotNull
    @ApiModelProperty("纬度")
    private Double lat;

    @ApiModelProperty("接报方式，1:电话接报，2:APP报警；不传默认1")
    private Integer alarmMode;
}
