芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/app/Models/TaskboardColumn.php
hasMany(Task::class, 'board_column_id')->orderBy('column_priority'); } public function membertasks(): HasMany { return $this->hasMany(Task::class, 'board_column_id')->where('user_id', user()->id)->orderBy('column_priority'); } public function userSetting(): HasOne { return $this->hasOne(UserTaskboardSetting::class, 'board_column_id')->where('user_id', user()->id); } public static function completeColumn() { return TaskboardColumn::where('slug', 'completed')->first(); } }