| 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.io.Serializable; | 
| import java.util.Date; | 
|   | 
| import lombok.Data; | 
| import lombok.EqualsAndHashCode; | 
|   | 
| /** | 
|  * <p> | 
|  *  | 
|  * </p> | 
|  * | 
|  * @author moral | 
|  * @since 2021-09-10 | 
|  */ | 
| @Data | 
| @EqualsAndHashCode(callSuper = false) | 
| public class GovMonitorPoint extends Model<GovMonitorPoint> { | 
|   | 
|     private static final long serialVersionUID = 1L; | 
|   | 
|     /** | 
|      * id | 
|      */ | 
|     @TableId(value = "id", type = IdType.AUTO) | 
|     private Integer id; | 
|   | 
|     /** | 
|      * 政府站点code | 
|      */ | 
|     private String guid; | 
|   | 
|     /** | 
|      * 名称 | 
|      */ | 
|     private String name; | 
|   | 
|     /** | 
|      * 经度 | 
|      */ | 
|     private Double longitude; | 
|   | 
|     /** | 
|      * 纬度 | 
|      */ | 
|     private Double latitude; | 
|   | 
|     /** | 
|      * 省编码 | 
|      */ | 
|     private Integer provinceCode; | 
|   | 
|     /** | 
|      * 市编码 | 
|      */ | 
|     private Integer cityCode; | 
|   | 
|     /** | 
|      * 县/区编码 | 
|      */ | 
|     private Integer areaCode; | 
|   | 
|     /** | 
|      * 政府站点类型:国控、省控、县控 | 
|      */ | 
|     private String stationLevel; | 
|   | 
|     /** | 
|      * 创建时间 | 
|      */ | 
|     private Date createTime; | 
|   | 
|     /** | 
|      * 更新时间 | 
|      */ | 
|     private Date updateTime; | 
|   | 
|     /** | 
|      * 是否删除 | 
|      */ | 
|     private String isDelete; | 
|   | 
|     /** | 
|      * 备注 | 
|      */ | 
|     @TableField(value = "`desc`") | 
|     private String desc; | 
|   | 
|   | 
|     @Override | 
|     protected Serializable pkVal() { | 
|         return this.id; | 
|     } | 
|   | 
| } |