*/ use HasApiTo kens, HasFactory, Notifiable; /** * Get the attributes that should be cast. * * @return array */ protected $table = 'usuarios'; protected $primarikey = 'codigo'; protected function casts(): array { return [ 'email_verified_at' => 'datetime', 'password' => 'hashed', ]; } }