Files
compras/app/Models/CandidateAccount.php
T
nala c6373365bf
tests / ci (push) Canceled after 0s
commit9
2026-10-30 20:02:30 +02:00

28 lines
644 B
PHP

<?php
namespace App\Models;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Support\Carbon;
/** @property int $id
* @property int $tenant_id
* @property string $email
* @property string $password
* @property Carbon|null $email_verified_at
* @property int $session_version
*/
class CandidateAccount extends Authenticatable
{
protected $guarded = ['id'];
protected $attributes = ['session_version' => 1];
protected $hidden = ['password'];
protected function casts(): array
{
return ['password' => 'hashed', 'email_verified_at' => 'datetime', 'session_version' => 'integer'];
}
}