芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/app/Models/ProjectTemplateTask.php
belongsTo(ProjectTemplate::class); } public function users(): HasMany { return $this->hasMany(ProjectTemplateTaskUser::class, 'project_template_task_id'); } public function usersMany(): BelongsToMany { return $this->belongsToMany(User::class, 'project_template_task_users'); } public function subtasks(): HasMany { return $this->hasMany(ProjectTemplateSubTask::class); } public function category(): BelongsTo { return $this->belongsTo(TaskCategory::class, 'project_template_task_category_id'); } }