From c9190af38fd6fd9e71ca7db2b343e3a79f24ff5c Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 23 十一月 2022 16:23:44 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/entity/bd/DlgAgnpEntity.java | 34 ++++++---------------------------- 1 files changed, 6 insertions(+), 28 deletions(-) diff --git a/src/main/java/com/lf/server/entity/bd/DlgAgnpEntity.java b/src/main/java/com/lf/server/entity/bd/DlgAgnpEntity.java index 37f05d6..c0dc2a2 100644 --- a/src/main/java/com/lf/server/entity/bd/DlgAgnpEntity.java +++ b/src/main/java/com/lf/server/entity/bd/DlgAgnpEntity.java @@ -1,9 +1,8 @@ package com.lf.server.entity.bd; -import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; +import com.lf.server.entity.all.BaseGeoEntity; import lombok.*; import java.io.Serializable; @@ -11,17 +10,15 @@ import java.sql.Timestamp; /** - * DlgAgnp + * Dlgagnp * @author WWW */ @Data @AllArgsConstructor @TableName("bd.dlg_agnp") -public class DlgAgnpEntity implements Serializable { - private static final long serialVersionUID = 44921918793079408L; - - @TableId(type = IdType.AUTO) - private Integer gid; +@EqualsAndHashCode(callSuper = false) +public class DlgagnpEntity extends BaseGeoEntity implements Serializable { + private static final long serialVersionUID = 128652141489392224L; private Long objectid; @@ -38,18 +35,7 @@ private String bsm; - @TableField(select = false) - private String geom; - - public DlgAgnpEntity() { - } - - public Integer getGid() { - return gid; - } - - public void setGid(Integer gid) { - this.gid = gid; + public DlgagnpEntity() { } public Long getObjectid() { @@ -106,13 +92,5 @@ public void setBsm(String bsm) { this.bsm = bsm; - } - - public String getGeom() { - return geom; - } - - public void setGeom(String geom) { - this.geom = geom; } } -- Gitblit v1.9.3