<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class InSetting extends Model
{
    protected $table = 'in_settings';

    protected $fillable = [
        'account_password',
        'per_account_price',
        'daily_limit_per_user',
        'submission_enabled',
        'upline_commissions',
    ];

    protected $casts = [
        'per_account_price' => 'float',
        'daily_limit_per_user' => 'integer',
        'submission_enabled' => 'boolean',
        'upline_commissions' => 'array',
    ];
}
