One Hat Cyber Team
Your IP :
3.22.248.193
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:
TaskLabel.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Relations\BelongsTo; /** * App\Models\TaskLabel * * @property int $id * @property int $label_id * @property int $task_id * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at * @property-read mixed $icon * @property-read \App\Models\TaskLabelList $label * @method static \Illuminate\Database\Eloquent\Builder|TaskLabel newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|TaskLabel newQuery() * @method static \Illuminate\Database\Eloquent\Builder|TaskLabel query() * @method static \Illuminate\Database\Eloquent\Builder|TaskLabel whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|TaskLabel whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|TaskLabel whereLabelId($value) * @method static \Illuminate\Database\Eloquent\Builder|TaskLabel whereTaskId($value) * @method static \Illuminate\Database\Eloquent\Builder|TaskLabel whereUpdatedAt($value) * @mixin \Eloquent */ class TaskLabel extends BaseModel { protected $guarded = ['id']; public function label(): BelongsTo { return $this->belongsTo(TaskLabelList::class, 'label_id'); } }
Simpan