Fixes mit chtgpt

This commit is contained in:
Nils Bonorden committed 2025-10-17 10:00:01 +02:00
1 parent fcae679714
commit 3db040e243
4 files changed
+112 -13

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Bewerbung extends Model
{
use HasFactory;
protected $table = 'bewerbungen';
protected $fillable = [
'name','text','pic_path','bedingungen_path','active','time',
'start_at','end_at'
];
protected $casts = [
'active' => 'boolean',
'time' => 'boolean',
'start_at' => 'datetime',
'end_at' => 'datetime',
];
}