Public Access
32 lines
570 B
PHP
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',
|
|
];
|
|
}
|