refactor: move backend in apps/backend

This commit is contained in:
Giovanni committed 2026-10-03 18:35:36 +02:00
1 parent cf529278bd
commit e2b471312c
178 files changed
+210 -193

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
<?php
namespace apps\backend\app\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Event extends Model
{
use HasFactory;
protected $fillable = [
"name",
"description",
"event_photo_path",
'start',
'end',
];
public function tasks() {
return $this->hasMany(Task::class, 'events_id');
}
}