27 lines
430 B
PHP
Executable File
27 lines
430 B
PHP
Executable File
<?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();
|
|
}
|
|
}
|