Работа над журналом для ст. мед сестер
This commit is contained in:
18
app/Models/ReportStatus.php
Normal file
18
app/Models/ReportStatus.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Spatie\Sluggable\Attributes\Sluggable;
|
||||
|
||||
/**
|
||||
* Статус отчета (1 - черновик; 2 - опубликован)
|
||||
*/
|
||||
#[Sluggable(from: 'name', to: 'code')]
|
||||
class ReportStatus extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'code'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user