One Hat Cyber Team
Your IP :
3.139.83.202
Server IP :
192.145.235.60
Server :
Linux ngx365.inmotionhosting.com 5.14.0-427.33.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 30 09:45:56 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
centos12
/
public_html
/
centosuit
/
app
/
Models
/
Edit File:
TaskCommentEmoji.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Relations\BelongsTo; use App\Scopes\ActiveScope; /** * App\Models\TaskCommentEmoji * * @property int $id * @property int|null $user_id * @property int|null $comment_id * @property string|null $emoji_name * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at * @property-read \App\Models\TaskComment|null $taskComment * @property-read \App\Models\User|null $user * @method static \Illuminate\Database\Eloquent\Builder|TaskCommentEmoji newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|TaskCommentEmoji newQuery() * @method static \Illuminate\Database\Eloquent\Builder|TaskCommentEmoji query() * @method static \Illuminate\Database\Eloquent\Builder|TaskCommentEmoji whereCommentId($value) * @method static \Illuminate\Database\Eloquent\Builder|TaskCommentEmoji whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|TaskCommentEmoji whereEmojiName($value) * @method static \Illuminate\Database\Eloquent\Builder|TaskCommentEmoji whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|TaskCommentEmoji whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|TaskCommentEmoji whereUserId($value) * @mixin \Eloquent */ class TaskCommentEmoji extends BaseModel { public function taskComment(): BelongsTo { return $this->belongsTo(TaskComment::class); } public function user(): BelongsTo { return $this->belongsTo(User::class, 'user_id')->withoutGlobalScope(ActiveScope::class); } }
Simpan