<?php

namespace App\Models;

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

class Type_parente extends Model
{
    /** @use HasFactory<\Database\Factories\TypeParenteFactory> */
    use HasFactory;

    protected $fillable = [
        'designation',
        'code',
        'status',
    ];

    public function parente()
    {
        return $this->belongsTo(Parente::class);
    }
}