<?php
namespace PortalPeopleStatis\modules\SatisfyManager\models;

class Package
{
    public int $id;
    public string $name;
    public string $version;
    public string $repoUrl;

    public function __construct(array $data = [])
    {
        $this->id = $data['id'] ?? 0;
        $this->name = $data['name'] ?? '';
        $this->version = $data['version'] ?? '';
        $this->repoUrl = $data['repo_url'] ?? '';
    }
}
