package com.terra.coal.entity; import com.baomidou.mybatisplus.annotation.FieldStrategy; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; /** * Coal2000Entity * @author WWW */ @Data @AllArgsConstructor @TableName("public.coal2000") @EqualsAndHashCode(callSuper = false) public class Coal2000Entity implements Serializable { private static final long serialVersionUID = 5660360983928368364L; private Integer gid; private Double top; private Double bottom; private Double clong; private Double width; private Double height; private String ctype; private Double density; private Double gangue; private Double volume; @TableField(value = "ST_AsText(geom)", updateStrategy = FieldStrategy.NEVER, insertStrategy = FieldStrategy.NEVER) private String geom; public Coal2000Entity() { } public Integer getGid() { return gid; } public void setGid(Integer gid) { this.gid = gid; } public Double getTop() { return top; } public void setTop(Double top) { this.top = top; } public Double getBottom() { return bottom; } public void setBottom(Double bottom) { this.bottom = bottom; } public Double getClong() { return clong; } public void setClong(Double clong) { this.clong = clong; } public Double getWidth() { return width; } public void setWidth(Double width) { this.width = width; } public Double getHeight() { return height; } public void setHeight(Double height) { this.height = height; } public String getCtype() { return ctype; } public void setCtype(String ctype) { this.ctype = ctype; } public Double getDensity() { return density; } public void setDensity(Double density) { this.density = density; } public Double getGangue() { return gangue; } public void setGangue(Double gangue) { this.gangue = gangue; } public Double getVolume() { return volume; } public void setVolume(Double volume) { this.volume = volume; } public String getGeom() { return geom; } public void setGeom(String geom) { this.geom = geom; } }