/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.alarm.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import java.time.LocalDateTime; import com.baomidou.mybatisplus.annotation.TableField; import java.io.Serializable; import lombok.Data; import lombok.EqualsAndHashCode; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** * 实体类 * * @author BladeX * @since 2020-07-04 */ @Data @TableName("sys_alarm") @ApiModel(value = "Alarm对象", description = "Alarm对象") public class Alarm implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 接警类型 */ @ApiModelProperty(value = "接警类型") @TableField("alarmType") private String alarmType; /** * 接警人姓名 */ @ApiModelProperty(value = "接警人姓名") @TableField("alarmPeople") private String alarmPeople; /** * 接警时间 */ @ApiModelProperty(value = "接警时间") @TableField("alarmTime") private String alarmTime; /** * 报警人 */ @ApiModelProperty(value = "报警人") @TableField("galarmPeople") private String galarmPeople; /** * 性别(0:男1:女) */ @ApiModelProperty(value = "性别(0:男1:女)") private String sex; /** * 联系电话 */ @ApiModelProperty(value = "联系电话") @TableField("phoneNumber") private String phoneNumber; /** * 事发地址 */ @ApiModelProperty(value = "事发地址") private String place; /** * 报警内容 */ @ApiModelProperty(value = "报警内容") private String content; /** * 警情类别 */ @ApiModelProperty(value = "警情类别") @TableField("waringType") private String waringType; /** * 设备编号 */ @ApiModelProperty(value = "设备编号") @TableField("deviceNumber") private String deviceNumber; /** * AOI区域编码 */ @ApiModelProperty(value = "AOI区域编码") private String region; /** * 行政区编码 */ @ApiModelProperty(value = "行政区编码") private String addvcd; /** * 行政区编码 */ @ApiModelProperty(value = "接警人ID") @TableField("alarmId") private String alarmId; /** * 警情级别 */ @ApiModelProperty(value = "警情级别") private String level; /** * 空间坐标 */ @ApiModelProperty(value = "空间坐标") private String coordinate; /** * 经度 */ @ApiModelProperty(value = "经度") private String jd; /** * 纬度 */ @ApiModelProperty(value = "纬度") private String wd; /** * 是否生成警单(0:否 1:是) */ @ApiModelProperty(value = "是否生成警单(0:否 1:是)") private String jtype; private String rname; }