Работа над журналом для ст. мед сестер
This commit is contained in:
19
app/Models/ReportPatientStatus.php
Normal file
19
app/Models/ReportPatientStatus.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user