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