| 1 | <?php |
||
| 19 | class VersionResourceModel implements ResourceModelInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Major version number. |
||
| 23 | * |
||
| 24 | * @SA\Type("integer") |
||
| 25 | * @SA\SerializedName("major") |
||
| 26 | * |
||
| 27 | * @var int|null |
||
| 28 | */ |
||
| 29 | protected $major; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Minor version number. |
||
| 33 | * |
||
| 34 | * @SA\Type("integer") |
||
| 35 | * @SA\SerializedName("minor") |
||
| 36 | * |
||
| 37 | * @var int|null |
||
| 38 | */ |
||
| 39 | protected $minor; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return int|null |
||
| 43 | */ |
||
| 44 | 1 | public function getMajor() |
|
| 48 | |||
| 49 | /** |
||
| 50 | * @param int|null $major |
||
| 51 | * |
||
| 52 | * @return $this |
||
| 53 | */ |
||
| 54 | 1 | public function setMajor($major) |
|
| 60 | |||
| 61 | /** |
||
| 62 | * @return int|null |
||
| 63 | */ |
||
| 64 | 1 | public function getMinor() |
|
| 68 | |||
| 69 | /** |
||
| 70 | * @param int|null $minor |
||
| 71 | * |
||
| 72 | * @return $this |
||
| 73 | */ |
||
| 74 | 1 | public function setMinor($minor) |
|
| 80 | } |
||
| 81 |