added Orte-Table
This commit is contained in:
+4
-1
@@ -7,7 +7,10 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class Eintragung extends Model
|
||||
{
|
||||
protected $table = "eintragungen";
|
||||
protected $dates = ['kann_ab', 'kann_bis'];
|
||||
protected $dates = ['kann_ab', 'kann_bis', 'created_at', 'updated_at'];
|
||||
protected $casts = [
|
||||
'nicht_unbedingt' => 'boolean',
|
||||
];
|
||||
|
||||
public function veranstaltung(){
|
||||
return $this->belongsTo('App\Veranstaltung');
|
||||
|
||||
Reference in New Issue
Block a user