���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
portal-cutunix
/
modules
/
Identity
/
Models
/
Viewing: Admin.php
<?php namespace Modules\Identity\Models; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Spatie\Permission\Traits\HasRoles; class Admin extends Authenticatable { use Notifiable, HasRoles; protected $guard_name = 'admin'; /** * The attributes that are mass assignable. * * @var array<int, string> */ protected $fillable = [ 'user_id', 'email', 'password', 'mobile' ]; /** * The attributes that should be hidden for serialization. * * @var array<int, string> */ protected $hidden = [ 'password', 'remember_token', ]; /** * The attributes that should be cast. * * @var array<string, string> */ protected $casts = [ 'email_verified_at' => 'datetime', 'password' => 'hashed', ]; public const STATUS_ACTIVE = 'active'; public const STATUS_INACTIVE = 'inactive'; public const STATUS_BANNED = 'banned'; public static array $statuses = [ self::STATUS_ACTIVE, self::STATUS_INACTIVE, self::STATUS_BANNED, ]; public function user() { return $this->belongsTo(User::class, 'user_id'); } public function getFullNameAttribute() { return $this->user->full_name; } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa