燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2024-12-02 453e3471e94b91169beec1e258a06a132d927011
src/main/java/com/yssh/entity/SuYuan3d.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,131 @@
package com.yssh.entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.yssh.utils.CalculateUtils;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel(value = "3d数据",description = "3d数据")
public class SuYuan3d implements Serializable{
   /**
    * @Fields field:field:{todo}(用一句话描述这个变量表示什么)
    */
   private static final long serialVersionUID = 5955771070977977633L;
   @ApiModelProperty(value = "主键")
   private String id;
   @JsonIgnore
   private Integer x;
   @JsonIgnore
   private Integer y;
   @ApiModelProperty(value = "经度")
   private double lon;
   @ApiModelProperty(value = "纬度")
   private double lat;
    private double height0 = 0.0;
    private double height10 = 0.0;
    private double height20 = 0.0;
    private double height30 = 0.0;
    private double height40 = 0.0;
    private double height50 = 0.0;
    private double height60 = 0.0;
    private double height70 = 0.0;
    private double height80 = 0.0;
    private double height90 = 0.0;
    public String getId() {
      return id;
   }
   public void setId(String id) {
      this.id = id;
   }
   public Integer getX() {
      return x;
   }
   public void setX(Integer x) {
      this.x = x;
   }
   public Integer getY() {
      return y;
   }
   public void setY(Integer y) {
      this.y = y;
   }
   public double getLon() {
      return CalculateUtils.getLon(x, y);
   }
   public double getLat() {
      return CalculateUtils.getLat(x, y);
   }
   public double getHeight0() {
      return height0;
   }
   public void setHeight0(double height0) {
      this.height0 = height0;
   }
   public double getHeight10() {
      return height10;
   }
   public void setHeight10(double height10) {
      this.height10 = height10;
   }
   public double getHeight20() {
      return height20;
   }
   public void setHeight20(double height20) {
      this.height20 = height20;
   }
   public double getHeight30() {
      return height30;
   }
   public void setHeight30(double height30) {
      this.height30 = height30;
   }
   public double getHeight40() {
      return height40;
   }
   public void setHeight40(double height40) {
      this.height40 = height40;
   }
   public double getHeight50() {
      return height50;
   }
   public void setHeight50(double height50) {
      this.height50 = height50;
   }
   public double getHeight60() {
      return height60;
   }
   public void setHeight60(double height60) {
      this.height60 = height60;
   }
   public double getHeight70() {
      return height70;
   }
   public void setHeight70(double height70) {
      this.height70 = height70;
   }
   public double getHeight80() {
      return height80;
   }
   public void setHeight80(double height80) {
      this.height80 = height80;
   }
   public double getHeight90() {
      return height90;
   }
   public void setHeight90(double height90) {
      this.height90 = height90;
   }
}