Map.java
1.42 KB
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
package core.repository;
import javax.persistence.*;
import java.io.Serializable;
/**
* Created by Guillaume on 09/05/2017.
*/
@Entity
@Table(name = "MAP")
public class Map implements Serializable{
@Id @GeneratedValue
private int id;
private Double x_topLeft, y_topLeft;
private Byte[] content;
private Double x_bottomRight, y_bottomRight;
public Map() {
}
public Integer getId () {
return id;
}
public void setId (final Integer id) {
this.id = id;
}
public Double getX_topLeft () {
return x_topLeft;
}
public void setX_topLeft (final Double x_topLeft) {
this.x_topLeft = x_topLeft;
}
public Double getY_topLeft () {
return y_topLeft;
}
public void setY_topLeft (final Double y_topLeft) {
this.y_topLeft = y_topLeft;
}
public Byte[] getContent () {
return content;
}
public void setContent (final Byte[] content) {
this.content = content;
}
public Double getX_bottomRight () {
return x_bottomRight;
}
public void setX_bottomRight (final Double x_bottomRight) {
this.x_bottomRight = x_bottomRight;
}
public Double getY_bottomRight () {
return y_bottomRight;
}
public void setY_bottomRight (final Double y_bottomRight) {
this.y_bottomRight = y_bottomRight;
}
}