File: D:/HostingSpaces/bekkers/bekkersengineering.nl/app/User.php
<?php
namespace App;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
/**
* App\User
*
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @mixin \Eloquent
* @property int $id
* @property int $role_id
* @property string $username
* @property string $password
* @property string $email
* @property string|null $first_name
* @property string|null $last_name
* @property string $last_login_attempt
* @property int $failed_login_attempts
* @property int $telephone
* @property string $shipping_country
* @property string $shipping_city
* @property string $shipping_zip_code
* @property int $shipping_house_number
* @property string $shipping_street
* @property int $company_vat_number_validated
* @property string $company_vat_number
* @property string $company_country
* @property string $company_zip_code
* @property string $company_city
* @property string $company_house_number
* @property string $company_street
* @property string $chamber_of_commerce
* @property string $company_name
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property string|null $remember_token
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereChamberOfCommerce($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCompanyCity($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCompanyCountry($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCompanyHouseNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCompanyName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCompanyStreet($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCompanyVatNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCompanyVatNumberValidated($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCompanyZipCode($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereFailedLoginAttempts($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereFirstName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereLastLoginAttempt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereLastName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereRoleId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereShippingCity($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereShippingCountry($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereShippingHouseNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereShippingStreet($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereShippingZipCode($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereTelephone($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereUsername($value)
* @property string $country
* @property string $city
* @property string $zip_code
* @property int $house_number
* @property string $street
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCity($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCountry($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereHouseNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereStreet($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereZipCode($value)
* @property string $postal_code
* @property string $company_postal_code
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCompanyPostalCode($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User wherePostalCode($value)
*/
class User extends Authenticatable {
use Notifiable;
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'users';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['name', 'email', 'password'];
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
protected $hidden = ['password', 'remember_token'];
public function getAuthIdentifierName()
{
return $this->getKeyName();
}
}