1: <?php
2: /**
3: * LeadCommerce\Shopware\SDK\Entity
4: *
5: * Copyright 2016 LeadCommerce
6: *
7: * @author Alexander Mahrt <amahrt@leadcommerce.de>
8: * @copyright 2016 LeadCommerce <amahrt@leadcommerce.de>
9: */
10: namespace LeadCommerce\Shopware\SDK\Entity;
11:
12: /**
13: * Class DocumentType
14: */
15: class DocumentType extends Base
16: {
17: /**
18: * @var int
19: */
20: protected $id;
21: /**
22: * @var string
23: */
24: protected $name;
25: /**
26: * @var string
27: */
28: protected $template;
29: /**
30: * @var string
31: */
32: protected $numbers;
33: /**
34: * @var int
35: */
36: protected $left;
37: /**
38: * @var int
39: */
40: protected $right;
41: /**
42: * @var int
43: */
44: protected $top;
45: /**
46: * @var int
47: */
48: protected $bottom;
49: /**
50: * @var int
51: */
52: protected $pageBreak;
53:
54: /**
55: * @return int
56: */
57: public function getId()
58: {
59: return $this->id;
60: }
61:
62: /**
63: * @param int $id
64: *
65: * @return DocumentType
66: */
67: public function setId($id)
68: {
69: $this->id = $id;
70:
71: return $this;
72: }
73:
74: /**
75: * @return string
76: */
77: public function getName()
78: {
79: return $this->name;
80: }
81:
82: /**
83: * @param string $name
84: *
85: * @return DocumentType
86: */
87: public function setName($name)
88: {
89: $this->name = $name;
90:
91: return $this;
92: }
93:
94: /**
95: * @return string
96: */
97: public function getTemplate()
98: {
99: return $this->template;
100: }
101:
102: /**
103: * @param string $template
104: *
105: * @return DocumentType
106: */
107: public function setTemplate($template)
108: {
109: $this->template = $template;
110:
111: return $this;
112: }
113:
114: /**
115: * @return string
116: */
117: public function getNumbers()
118: {
119: return $this->numbers;
120: }
121:
122: /**
123: * @param string $numbers
124: *
125: * @return DocumentType
126: */
127: public function setNumbers($numbers)
128: {
129: $this->numbers = $numbers;
130:
131: return $this;
132: }
133:
134: /**
135: * @return int
136: */
137: public function getLeft()
138: {
139: return $this->left;
140: }
141:
142: /**
143: * @param int $left
144: *
145: * @return DocumentType
146: */
147: public function setLeft($left)
148: {
149: $this->left = $left;
150:
151: return $this;
152: }
153:
154: /**
155: * @return int
156: */
157: public function getRight()
158: {
159: return $this->right;
160: }
161:
162: /**
163: * @param int $right
164: *
165: * @return DocumentType
166: */
167: public function setRight($right)
168: {
169: $this->right = $right;
170:
171: return $this;
172: }
173:
174: /**
175: * @return int
176: */
177: public function getTop()
178: {
179: return $this->top;
180: }
181:
182: /**
183: * @param int $top
184: *
185: * @return DocumentType
186: */
187: public function setTop($top)
188: {
189: $this->top = $top;
190:
191: return $this;
192: }
193:
194: /**
195: * @return int
196: */
197: public function getBottom()
198: {
199: return $this->bottom;
200: }
201:
202: /**
203: * @param int $bottom
204: *
205: * @return DocumentType
206: */
207: public function setBottom($bottom)
208: {
209: $this->bottom = $bottom;
210:
211: return $this;
212: }
213:
214: /**
215: * @return int
216: */
217: public function getPageBreak()
218: {
219: return $this->pageBreak;
220: }
221:
222: /**
223: * @param int $pageBreak
224: *
225: * @return DocumentType
226: */
227: public function setPageBreak($pageBreak)
228: {
229: $this->pageBreak = $pageBreak;
230:
231: return $this;
232: }
233: }
234: