Mr.Combet Webshell
Your IP :
3.136.160.250
Server IP :
185.136.159.155
Server :
Linux 185-136-159-155.cprapid.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
PHP Version :
8.1.29
Add File :
Submit
Add Directory :
Submit
Dir :
~
/
home
/
jaibalajigroup
/
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'); } }