68 lines
3.3 KiB
PHP
Executable file
68 lines
3.3 KiB
PHP
Executable file
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use App\User;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
/**
|
|
* App\Models\SfGuardUser
|
|
*
|
|
* @property int $id
|
|
* @property int|null $user_id
|
|
* @property string $username
|
|
* @property string $algorithm
|
|
* @property string|null $salt
|
|
* @property string|null $password
|
|
* @property int|null $is_active
|
|
* @property int|null $is_super_admin
|
|
* @property string|null $last_login
|
|
* @property string|null $first_name
|
|
* @property string|null $last_name
|
|
* @property string|null $email_address
|
|
* @property string|null $default_page
|
|
* @property int|null $branch_id
|
|
* @property string|null $api_key
|
|
* @property string|null $identify
|
|
* @property string|null $token
|
|
* @property string|null $token_at
|
|
* @property \Illuminate\Support\Carbon $created_at
|
|
* @property \Illuminate\Support\Carbon $updated_at
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereAlgorithm($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereApiKey($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereBranchId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereCreatedAt($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereDefaultPage($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereEmailAddress($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereFirstName($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereIdentify($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereIsActive($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereIsSuperAdmin($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereLastLogin($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereLastName($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser wherePassword($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereSalt($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereToken($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereTokenAt($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereUpdatedAt($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereUserId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser whereUsername($value)
|
|
* @mixin \Eloquent
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser newModelQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser newQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SfGuardUser query()
|
|
*/
|
|
class SfGuardUser extends Model
|
|
{
|
|
protected $connection = 'mysql';
|
|
|
|
protected $table = 'sf_guard_user';
|
|
|
|
public function user()
|
|
{
|
|
return $this->belongsTo(User::class, 'user_id');
|
|
}
|
|
|
|
}
|