ispt4.0_laravel/app/Models/PendingUser.php
2023-08-01 15:20:39 +01:00

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',
];
}