Primer commit

This commit is contained in:
2026-08-03 18:01:15 +02:00
commit 99b9fed37f
121 changed files with 18222 additions and 0 deletions

19
app/Models/Subtask.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Subtask extends Model
{
protected $fillable = ['task_id', 'title', 'completed'];
protected $casts = [
'completed' => 'boolean',
];
public function task()
{
return $this->belongsTo(Task::class);
}
}