<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Traits\GlobalModelEvents;

class Grant extends Model
{
    use HasFactory, GlobalModelEvents;

    protected $fillable = [
        'user_id', 'name', 'grant_type', 'reason', 'location', 'referrals', 'categories', 'deserve', 'investment_id', 'promote', 'status', 'channels', 'social_networks', 'email', 'contact',
    ];

    public function user()
    {
        return $this->belongsTo(User::class);
    }
}
