2022-09-08 21:35:33 -04:00
|
|
|
<?php
|
|
|
|
namespace ProVM\Alias;
|
|
|
|
|
2022-09-09 15:55:45 -04:00
|
|
|
use ProVM\Concept\Model\Repository;
|
2022-09-08 21:35:33 -04:00
|
|
|
use ProVM\Concept\Model as ModelInterface;
|
|
|
|
|
|
|
|
abstract class Model implements ModelInterface
|
|
|
|
{
|
|
|
|
protected int $id;
|
|
|
|
public function setId(int $id): ModelInterface
|
|
|
|
{
|
|
|
|
$this->id = $id;
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
public function getId(): int
|
|
|
|
{
|
|
|
|
return $this->id;
|
|
|
|
}
|
|
|
|
}
|