first commit

This commit is contained in:
f4ilji
2024-09-19 16:06:49 +05:00
commit b686638a39
1664 changed files with 428174 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Spatie\Tags\HasTags;
class Event extends Model
{
use HasFactory, HasTags;
protected $guarded = false;
protected $casts = [
'content' => 'array',
];
public function category() : BelongsTo
{
return $this->belongsTo(EventCategory::class);
}
}