Files
onboard/app/Models/ReportPatientStatus.php

20 lines
386 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Spatie\Sluggable\Attributes\Sluggable;
/**
* Статус пациента (состоит, поступил, умер, выписан, переведен)
*/
#[Sluggable(from: 'name', to: 'code')]
class ReportPatientStatus extends Model
{
protected $fillable = [
'name',
'code'
];
}