. */ namespace SP\Domain\User\Models; use SP\Domain\Common\Models\ItemWithIdAndNameModel; use SP\Domain\Common\Models\Model; /** * Class UserGroup */ class UserGroup extends Model implements ItemWithIdAndNameModel { public const TABLE = 'UserGroup'; protected ?int $id = null; protected ?string $name = null; protected ?string $description = null; protected ?array $users = null; public function getId(): ?int { return $this->id; } public function getName(): ?string { return $this->name; } public function getDescription(): ?string { return $this->description; } public function getUsers(): ?array { return $this->users; } }