One Hat Cyber Team
Your IP :
3.16.69.29
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:
EmployeeSkill.php
<?php namespace App\Models; use App\Traits\HasCompany; use Illuminate\Database\Eloquent\Relations\BelongsTo; /** * App\Models\EmployeeSkill * * @property int $id * @property int $user_id * @property int $skill_id * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at * @property-read mixed $icon * @property-read \App\Models\Skill $skill * @property-read \App\Models\User $user * @method static \Illuminate\Database\Eloquent\Builder|EmployeeSkill newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|EmployeeSkill newQuery() * @method static \Illuminate\Database\Eloquent\Builder|EmployeeSkill query() * @method static \Illuminate\Database\Eloquent\Builder|EmployeeSkill whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|EmployeeSkill whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|EmployeeSkill whereSkillId($value) * @method static \Illuminate\Database\Eloquent\Builder|EmployeeSkill whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|EmployeeSkill whereUserId($value) * @property int|null $company_id * @property-read \App\Models\Company|null $company * @method static \Illuminate\Database\Eloquent\Builder|EmployeeSkill whereCompanyId($value) * @mixin \Eloquent */ class EmployeeSkill extends BaseModel { use HasCompany; protected $table = 'employee_skills'; public function skill(): BelongsTo { return $this->belongsTo(Skill::class); } public function user(): BelongsTo { return $this->belongsTo(User::class); } }
Simpan