| 1 | <?php |
||
| 21 | class VersionResourceModel extends AbstractModel implements ResourceModelInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Major version number. |
||
| 25 | * |
||
| 26 | * @SA\Type("integer") |
||
| 27 | * @SA\SerializedName("major") |
||
| 28 | * |
||
| 29 | * @var int|null |
||
| 30 | */ |
||
| 31 | protected $major; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Minor version number. |
||
| 35 | * |
||
| 36 | * @SA\Type("integer") |
||
| 37 | * @SA\SerializedName("minor") |
||
| 38 | * |
||
| 39 | * @var int|null |
||
| 40 | */ |
||
| 41 | protected $minor; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return int|null |
||
| 45 | */ |
||
| 46 | 1 | public function getMajor() |
|
| 50 | |||
| 51 | /** |
||
| 52 | * @param int|null $major |
||
| 53 | * |
||
| 54 | * @return $this |
||
| 55 | */ |
||
| 56 | 1 | public function setMajor($major) |
|
| 62 | |||
| 63 | /** |
||
| 64 | * @return int|null |
||
| 65 | */ |
||
| 66 | 1 | public function getMinor() |
|
| 70 | |||
| 71 | /** |
||
| 72 | * @param int|null $minor |
||
| 73 | * |
||
| 74 | * @return $this |
||
| 75 | */ |
||
| 76 | 1 | public function setMinor($minor) |
|
| 82 | } |
||
| 83 |