This commit is contained in:
2026-06-13 11:17:32 +03:30
parent acb69394cf
commit f8c96a420f
7 changed files with 206 additions and 6 deletions
+6
View File
@@ -11,6 +11,9 @@ class Category extends Model
protected $fillable = [
'name',
'active',
'show_in_filter',
'show_in_select',
'sort_order',
];
const CREATED_AT = 'created_at';
@@ -18,5 +21,8 @@ class Category extends Model
protected $casts = [
'active' => 'boolean',
'show_in_filter' => 'boolean',
'show_in_select' => 'boolean',
'sort_order' => 'integer',
];
}