Migrations, Seeders, Models, Resources for User, Client, Project, Team, Mastertask, Subtask, Timeblock, Timesheet, Attachment

This commit is contained in:
StudioTem committed 2023-01-24 17:38:24 +01:00
1 parent 30ae7dab84
commit 8d88c0c4e6
35 files changed
+910 -14

No files matched your search

+10
View File
@@ -37,4 +37,14 @@ class User extends Authenticatable
return $this->belongsToMany(Team::class);
}
public function timesheets()
{
return $this->hasMany(Timesheet::class);
}
public function subtasks()
{
return $this->hasMany(SubTask::class);
}
}