<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class KnownLanguage extends Model
{
    protected $fillable = ['language_id', 'user_id'];

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

    public function language()
    {
        return $this->belongsTo(Language::class);
    }
}
