燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2024-11-01 99042da077ad98e38340f96cb03ffcf4d249ab87
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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.ToString;
 
@ToString
@ApiModel(value="溯源2d对象", description="溯源2d对象")
public class SuYuan2d implements Serializable {
 
    private static final long serialVersionUID = -4652224366972823014L;
    @ApiModelProperty(value = "主键")
    private String id;
    @JsonIgnore
    private Integer x;
    @JsonIgnore
    private Integer y;
    @ApiModelProperty(value = "经度")
    private double lon;
    @ApiModelProperty(value = "纬度")
    private double lat;
    @ApiModelProperty(value = "数值")
    private double value;
    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 getValue() {
        return value;
    }
    public void setValue(double value) {
        this.value = value;
    }
 
    public void setLon(double lon) {
        this.lon = lon;
    }
 
    public void setLat(double lat) {
        this.lat = lat;
    }
}