39 lines
719 B
PHP
Executable File
39 lines
719 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class PendingUser extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'pending_users';
|
|
|
|
protected $primaryKey = 'pending_user_id';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array<int, string>
|
|
*/
|
|
protected $fillable = [
|
|
'pending_name',
|
|
'pending_email',
|
|
'pending_phone',
|
|
'pending_nif',
|
|
'pending_password',
|
|
|
|
];
|
|
|
|
/**
|
|
* The attributes that should be hidden for serialization.
|
|
*
|
|
* @var array<int, string>
|
|
*/
|
|
protected $hidden = [
|
|
'password',
|
|
];
|
|
}
|