<?php

namespace App\Models;

use App\Helpers\FilterHelper;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class TopTraderDemo extends Model
{
    use HasFactory, SoftDeletes;

    protected $table = 'top_traders_demos';
    protected $guarded = [];
    protected $appends = [];
    protected $casts = [];

    public function trader()
    {
        return $this->belongsTo(TopTrader::class, $this->trader_id);
    }
}
