<?php

namespace App\Models;

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

class AccountTitle extends Model
{
    use HasFactory;

    protected $fillable = [
        'name',
        'value',
        'gender_id',
        'priority',
        'status',
        'code'
    ];

    public function gender(){
        return $this->belongsTo(Gender::class);
    }
}
