Update Formularium
This commit is contained in:
26
app/Models/Identifier.php
Normal file
26
app/Models/Identifier.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user