package com.moral.api.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import java.time.LocalDateTime;
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author moral
|
* @since 2021-07-01
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
public class MonitorPoint extends Model<MonitorPoint> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 序号
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 站点名
|
*/
|
private String name;
|
|
/**
|
* 经度
|
*/
|
private Double longitude;
|
|
/**
|
* 纬度
|
*/
|
private Double latitude;
|
|
/**
|
* 省编码
|
*/
|
private Integer provinceCode;
|
|
/**
|
* 地级市编码
|
*/
|
private Integer cityCode;
|
|
/**
|
* 县/区/县级市
|
*/
|
private Integer areaCode;
|
|
/**
|
* 具体地址
|
*/
|
private String address;
|
|
/**
|
* 组织id
|
*/
|
private Integer organizationId;
|
|
/**
|
* 创建时间
|
*/
|
private Date createTime;
|
|
/**
|
* 更新时间
|
*/
|
private Date updateTime;
|
|
/**
|
* 是否已删除
|
*/
|
private String isDelete;
|
|
/**
|
* 描述
|
*/
|
@TableField(value = "`desc`")
|
private String desc;
|
|
/*
|
* 站点设备
|
* */
|
@TableField(exist = false)
|
private List<Device> devices;
|
|
|
|
|
}
|