⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.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/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
cms-1.dev-unit.com
/
core
/
app
/
View File Name :
User.php
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'fname', 'lname', 'email', 'photo', 'username', 'password', 'number', 'city', 'state', 'address', 'country', 'billing_fname', 'billing_lname', 'billing_email', 'billing_photo', 'billing_number', 'billing_city', 'billing_state', 'billing_address', 'billing_country', 'shpping_fname', 'shpping_lname', 'shpping_email', 'shpping_photo', 'shpping_number', 'shpping_city', 'shpping_state', 'shpping_address', 'shpping_country', 'status', 'verification_link', 'email_verified', ]; /** * The attributes that should be hidden for arrays. * * @var array */ protected $hidden = [ 'password', 'remember_token', ]; /** * The attributes that should be cast to native types. * * @var array */ protected $casts = [ 'email_verified_at' => 'datetime', ]; public function conversations() { return $this->hasMany('App\Conversation'); } public function orders() { return $this->hasMany('App\ProductOrder'); } public function order_items() { return $this->hasMany('App\OrderItem'); } public function courseOrder() { return $this->hasMany('App\CoursePurchase'); } public function course_reviews() { return $this->hasMany('App\CourseReview'); } public function donation_details() { return $this->hasMany('App\DonationDetail'); } public function event_details() { return $this->hasMany('App\EventDetail'); } public function package_orders() { return $this->hasMany('App\PackageOrder'); } public function product_reviews() { return $this->hasMany('App\ProductReview'); } public function tickets() { return $this->hasMany('App\Ticket'); } public function subscription() { return $this->hasOne('App\Subscription'); } }