<?php

namespace App\Models\Backend;

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

class EditorialBoard extends Model
{
    use HasFactory;
    protected $fillable = [
        'category_id',
        'name',
        'qualifications',
        'designation',
        'department',
        'institution',
        'country',
        'email',
        'research_interest',
        'orcid_link',
        'research_gate_link',
        'google_scholar_link',
        'photo',
        'status'
    ];

    public function category()
    {
        return $this->belongsTo(EditorialCategory::class, 'category_id');
    }
}
