Работа над журналом для ст. мед сестер
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Spatie\Sluggable\Attributes\Sluggable;
|
||||
|
||||
#[Sluggable(from: 'name', to: 'code')]
|
||||
class MetrikaItem extends Model
|
||||
{
|
||||
protected $primaryKey = 'metrika_item_id';
|
||||
@@ -16,5 +18,6 @@ class MetrikaItem extends Model
|
||||
'description',
|
||||
'data_type',
|
||||
'is_active',
|
||||
'code'
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user