<?php

namespace App\Core\License\Models;

use CodeIgniter\Model;

class LicenseModel extends Model
{
    protected $table = 'core_license';
    protected $primaryKey = 'id';
    protected $returnType = 'array';
    protected $useTimestamps = true;
    protected $allowedFields = [
        'license_key',
        'product',
        'plan',
        'status',
        'domain',
        'expires_at',
        'max_users',
        'max_modules',
        'max_ai_requests_month',
    ];
}
