⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
cms-1.dev-unit.com
/
core
/
app
/
View File Name :
Product.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Product extends Model { protected $fillable = [ 'title', 'slug', 'language_id', 'stock', 'sku', 'category_id', 'tags', 'feature_image', 'summary', 'description', 'current_price', 'previous_price', 'rating', 'status', 'meta_keywords', 'meta_description', 'type', 'download_link', 'download_file' ]; public function category() { return $this->hasOne('App\Pcategory','id','category_id'); } public function product_images() { return $this->hasMany('App\ProductImage'); } public function language() { return $this->belongsTo('App\Language'); } }