¶Ô±ÈÐÂÎļþ |
| | |
| | | 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; |
| | | } |
| | | } |