One Hat Cyber Team
Your IP :
216.73.216.187
Server IP :
178.63.234.5
Server :
Linux whm01.ins-jo.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Server Software :
Apache
PHP Version :
8.1.32
Buat File
|
Buat Folder
Dir :
~
/
home
/
business
/
public_html
/
app
/
Models
/
User
/
Edit File Name :
Portfolio.php
<?php namespace App\Models\User; use Illuminate\Database\Eloquent\Model; class Portfolio extends Model { public $table = "user_portfolios"; protected $fillable = [ 'title', 'slug', 'image', 'content', 'serial_number', 'status', 'client_name', 'start_date', 'submission_date', 'website_link', 'featured', 'language_id', 'category_id', 'user_id', 'meta_keywords', 'meta_description', ]; public function bcategory() { return $this->belongsTo('App\Models\User\PortfolioCategory','category_id'); } public function language() { return $this->belongsTo(Language::class); } public function portfolio_images() { return $this->hasMany('App\Models\User\PortfolioImage', 'user_portfolio_id'); } }
Save