<?php
require_once __DIR__ . '/BaseModel.php';

class AdPackage extends BaseModel {
    protected $table = 'ad_packages';

    public function paginatePackages($page = 1, $perPage = 10) {
        return $this->paginate($page, $perPage, [], 'price ASC');
    }
}
