This commit is contained in:
2026-05-14 19:00:55 +02:00
parent 85ad36880c
commit 7f95b8a2ef
64 changed files with 2179 additions and 26 deletions
+25
View File
@@ -0,0 +1,25 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Information extends Model
{
use HasFactory;
protected $table = 'information';
protected $fillable = [
'title',
'content',
'category',
'image_url',
'is_published',
];
protected $casts = [
'is_published' => 'boolean',
];
}