⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.134
Server IP:
68.65.123.197
Server:
Linux premium49.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
smarbgfw
/
public_html
/
updater
/
app
/
View File Name :
CoursePurchase.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class CoursePurchase extends Model { protected $fillable = [ 'user_id', 'order_number', 'first_name', 'last_name', 'email', 'course_id', 'currency_code', 'current_price', 'previous_price', 'payment_method', 'payment_status', 'invoice' ]; public function courseSellTo() { return $this->belongsTo('App\User'); } public function course() { return $this->hasOne('App\Course', 'id', 'course_id'); } public function user() { return $this->belongsTo('App\User'); } }