Files
2025-10-17 10:22:41 +02:00

32 lines
570 B
PHP

<?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',
];
}