~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to lib/Entity/Resolution.php

  • Committer: Dan Garner
  • Date: 2015-08-03 13:19:52 UTC
  • mto: This revision was merged to the branch mainline in revision 447.
  • Revision ID: git-v1:51aff4ced58edafab2631842d7de83086daa6e8d
Document Models with Swagger

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
use Xibo\Helper\Log;
26
26
use Xibo\Storage\PDOConnect;
27
27
 
 
28
/**
 
29
 * Class Resolution
 
30
 * @package Xibo\Entity
 
31
 *
 
32
 * @SWG\Definition()
 
33
 */
28
34
class Resolution implements \JsonSerializable
29
35
{
30
36
    use EntityTrait;
 
37
 
 
38
    /**
 
39
     * @SWG\Property(description="The ID of this Resolution")
 
40
     * @var int
 
41
     */
31
42
    public $resolutionId;
32
43
 
 
44
    /**
 
45
     * @SWG\Property(description="The resolution name")
 
46
     * @var string
 
47
     */
33
48
    public $resolution;
34
49
 
 
50
    /**
 
51
     * @SWG\Property(description="The display width of the resolution")
 
52
     * @var double
 
53
     */
35
54
    public $width;
 
55
 
 
56
    /**
 
57
     * @SWG\Property(description="The display height of the resolution")
 
58
     * @var double
 
59
     */
36
60
    public $height;
37
61
 
 
62
    /**
 
63
     * @SWG\Property(description="The designer width of the resolution")
 
64
     * @var double
 
65
     */
38
66
    public $designerWidth;
 
67
 
 
68
    /**
 
69
     * @SWG\Property(description="The designer height of the resolution")
 
70
     * @var double
 
71
     */
39
72
    public $designerHeight;
40
73
 
 
74
    /**
 
75
     * @SWG\Property(description="The layout schema version")
 
76
     * @var int
 
77
     */
41
78
    public $version = 2;
 
79
 
 
80
    /**
 
81
     * @SWG\Property(description="A flag indicating whether this resolution is enabled or not")
 
82
     * @var int
 
83
     */
42
84
    public $enabled = 1;
43
85
 
44
86
    public function getId()