<?php

namespace App\Models;

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

class Identifier extends Model
{
    use HasFactory;

    protected $fillable = [
        'use',
        'type',
        'system',
        'value',
        'period_start',
        'period_end',
        'assigner',
    ];

    public function identifiable()
    {
        return $this->morphTo();
    }
}
