<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class LeadRule extends Model
{
    protected $guarded = [];

    protected $casts = [
        'is_active' => 'boolean',
    ];

    public const FIELDS = ['company', 'offer_name', 'offer_id', 'user_id', 'country', 'trx', 'points', 'payout'];
    public const OPERATORS = ['equals', 'contains', 'greater_than', 'greater_than_or_equal', 'less_than', 'less_than_or_equal'];
    public const ACTIONS = ['approve', 'hold', 'reject'];
}
