⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.148
Server IP:
63.250.38.6
Server:
Linux premium90.web-hosting.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:
LiteSpeed
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
nnvixbtb
/
public_html
/
core
/
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'); } }