<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class GmailSellSetting extends Model
{
    protected $fillable = [
        'password',
        'recovery_email',
        'require_recovery',
        'limit',
        'price',
        'admin_price',
        'stats_reset_at',
        'status',
        'upline_commissions',
    ];

    protected $casts = [
        'require_recovery'   => 'boolean',
        'status'             => 'boolean',
        'price'              => 'float',
        'admin_price'        => 'float',
        'stats_reset_at'     => 'datetime',
        'upline_commissions' => 'array',
    ];
}
