<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Withdrawals extends Model 
{
	protected $guarded = [];
	const CREATED_AT = 'date';
	const UPDATED_AT = null;

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

	public function creator()
	{
		return $this->belongsTo(User::class, 'user_id');
	}
}
