<?php
namespace App\Models;

use App\Core\Model;

class AutomationRule extends Model {
    protected static string $table = 'automation_rules';

    public static function getActiveRules(): array {
        return self::where('is_active', 1, 'id ASC');
    }
}
