mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-19 12:10:16 +00:00
first copies from portal
This commit is contained in:
15
app/Models/RenderedEvent.php
Normal file
15
app/Models/RenderedEvent.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class RenderedEvent extends Model
|
||||
{
|
||||
protected $guarded = [];
|
||||
|
||||
public function event()
|
||||
{
|
||||
return $this->belongsTo(Event::class, 'event_id', 'event_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user