FileReference::setFocusPointY()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
/**
4
 * File metadata.
5
 */
6
7
namespace HDNET\Focuspoint\Domain\Model;
8
9
use HDNET\Autoloader\Annotation\DatabaseField;
10
use HDNET\Autoloader\Annotation\DatabaseTable;
11
12
/**
13
 * File metadata.
14
 *
15
 * @DatabaseTable("sys_file_reference")
16
 */
17
class FileReference extends AbstractModel
18
{
19
    /**
20
     * Focus point Y.
21
     *
22
     * @var int
23
     * @DatabaseField(sql="int(11) null")
24
     */
25
    protected $focusPointY;
26
27
    /**
28
     * Focus point X.
29
     *
30
     * @var int
31
     * @DatabaseField(sql="int(11) null")
32
     */
33
    protected $focusPointX;
34
35
    /**
36
     * Get Y.
37
     *
38
     * @return int
39
     */
40
    public function getFocusPointY()
41
    {
42
        return $this->focusPointY;
43
    }
44
45
    /**
46
     * Set Y.
47
     *
48
     * @param int $focusPointY
49
     */
50
    public function setFocusPointY($focusPointY)
51
    {
52
        $this->focusPointY = $focusPointY;
53
    }
54
55
    /**
56
     * Get X.
57
     *
58
     * @return int
59
     */
60
    public function getFocusPointX()
61
    {
62
        return $this->focusPointX;
63
    }
64
65
    /**
66
     * Set X.
67
     *
68
     * @param int $focusPointX
69
     */
70
    public function setFocusPointX($focusPointX)
71
    {
72
        $this->focusPointX = $focusPointX;
73
    }
74
}
75