芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/app/Models/ProjectNote.php
$mentionNote * @property-read int|null $mention_note_count * @property-read \Illuminate\Database\Eloquent\Collection
$mentionUser * @property-read int|null $mention_user_count * @property-read \Illuminate\Database\Eloquent\Collection
$mentionNote * @property-read \Illuminate\Database\Eloquent\Collection
$mentionUser * @mixin \Eloquent */ class ProjectNote extends BaseModel { public function members(): HasMany { return $this->hasMany(ProjectUserNote::class, 'project_note_id'); } public function project(): BelongsTo { return $this->belongsTo(Project::class, 'project_id'); } public function noteUsers(): BelongsToMany { return $this->belongsToMany(User::class, 'project_user_notes'); } public function mentionUser(): BelongsToMany { return $this->belongsToMany(User::class, 'mention_users')->withoutGlobalScope(ActiveScope::class)->using(MentionUser::class); } public function mentionNote(): HasMany { return $this->hasMany(MentionUser::class, 'project_note_id'); } }