<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class AcademyNew extends Model
{
protected $fillable = ['id', 'academy_user_id', 'type_new', 'init_date', 'end_date', 'reason', 'file', 'receiver'];
function academy_user()
{
return $this->belongsTo(AcademyUser::class)->withTrashed();
}
}