One Hat Cyber Team
Your IP :
3.21.166.125
Server IP :
162.241.123.123
Server :
Linux sh016.hostgator.in 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Server Software :
Apache
PHP Version :
8.2.25
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home1
/
saicsazq
/
smhtechlabs.com
/
shop
/
core
/
app
/
View File Name :
TempProduct.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class TempProduct extends Model { protected $guarded = ['id']; protected $casts = [ 'tag' => 'array', 'category_details' => 'array', 'screenshot' => 'array' ]; public function category() { return $this->belongsTo(Category::class); } public function subcategory() { return $this->belongsTo(SubCategory::class,'sub_category_id'); } public function user() { return $this->belongsTo(User::class); } public function comments() { return $this->hasMany(Comment::class); } public function product() { return $this->belongsTo(product::class); } }