Chaos-Events und Voranmeldungen
This commit is contained in:
15
app/Models/PreApplications.php
Normal file
15
app/Models/PreApplications.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PreApplications extends Model
|
||||
{
|
||||
protected $table = 'pre_applications';
|
||||
|
||||
public function event(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
{
|
||||
return $this->belongsTo('App\Models\ChaosEvents','event_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user