map.php
1.58 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php
// src/map.php
/**
* @Entity @Table(name="map")
**/
Class map
{
/** @Id @Column(type="integer") @GeneratedValue **/
protected $id;
/** @Column(type="string") **/
protected $description;
/** @Column(type="integer") **/
protected $px_width;
/** @Column(type="integer") **/
protected $px_height;
/** @Column(type="float") **/
protected $n_width;
/** @Column(type="float") **/
protected $n_height;
/** @Column(type="binary") **/
protected $content;
public function getId()
{
return $this->id;
}
public function getDescription()
{
return $this->description;
}
public function getContent()
{
return $this->content;
}
public function getPx_width()
{
return $this->px_width;
}
public function setPx_width($px_width)
{
$this->px_width = $px_width;
}
public function setDescription($desc)
{
$this->description = $desc;
}
public function getPx_height()
{
return $this->px_height;
}
public function setPx_height($px_height)
{
$this->px_height = $px_height;
}
public function getN_height()
{
return $this->n_height;
}
public function setN_height($n_height)
{
$this->n_height = $n_height;
}
public function getN_width()
{
return $this->n_width;
}
public function setN_width($n_width)
{
$this->n_width = $n_width;
}
public function setContent($content)
{
$this->content = $content;
}
}