<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class AkademisiDetails extends Model
{
    use HasFactory;
    protected $table = 'akademisi_details';
    public $timestamps = true;

    protected $fillable = [
        'user_id',
        'university_name',
        'foto',
        'description_akademisi',
        'faculty',
        'study_program',
        'expertise_field',
    ];

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