芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/app/Models/DiscussionReply.php
$mentionDiscussionReply * @property-read int|null $mention_discussion_reply_count * @property-read \Illuminate\Database\Eloquent\Collection
$mentionUser * @property-read int|null $mention_user_count * @property-read \Illuminate\Database\Eloquent\Collection
$mentionDiscussionReply * @property-read \Illuminate\Database\Eloquent\Collection
$mentionUser * @mixin \Eloquent */ class DiscussionReply extends BaseModel { use SoftDeletes, HasCompany; protected $guarded = ['id']; public function user(): BelongsTo { return $this->belongsTo(User::class); } public function discussion(): BelongsTo { return $this->belongsTo(Discussion::class); } public function files(): HasMany { return $this->hasMany(DiscussionFile::class, 'discussion_reply_id'); } public function mentionUser(): BelongsToMany { return $this->belongsToMany(User::class, 'mention_users')->withoutGlobalScope(ActiveScope::class)->using(MentionUser::class); } public function mentionDiscussionReply(): HasMany { return $this->hasMany(MentionUser::class, 'discussion_reply_id'); } }