public function initialize()
    {
        $this->hasOne('id', 'Baka\Auth\Models\Sessions', 'users_id', ['alias' => 'session']);
        $this->hasMany('id', 'Baka\Auth\Models\Sessions', 'users_id', ['alias' => 'sessions']);
        $this->hasMany('id', 'Baka\Auth\Models\SessionKeys', 'users_id', ['alias' => 'sessionKeys']);
        $this->hasMany('id', 'Baka\Auth\Models\Banlist', 'users_id', ['alias' => 'bans']);
        $this->hasMany('id', 'Baka\Auth\Models\Sessions', 'users_id', ['alias' => 'sessions']);
        $this->hasMany('id', 'Baka\Auth\Models\UserConfig', 'users_id', ['alias' => 'config']);
        $this->hasMany('id', 'Baka\Auth\Models\UserLinkedSources', 'users_id', ['alias' => 'sources']);
        $this->hasMany('id', 'Baka\Auth\Models\UsersAssociatedCompany', 'users_id', ['alias' => 'companies']);
        $this->hasOne('default_company', 'Baka\Auth\Models\Companies', 'id', ['alias' => 'defaultCompany']);
    }
public function initialize()
    {
        $this->hasOne('id', 'Baka\Auth\Models\Sessions', 'users_id', ['alias' => 'session']);
        $this->hasMany('id', 'Baka\Auth\Models\Sessions', 'users_id', ['alias' => 'sessions']);
        $this->hasMany('id', 'Baka\Auth\Models\SessionKeys', 'users_id', ['alias' => 'sessionKeys']);
        $this->hasMany('id', 'Baka\Auth\Models\Banlist', 'users_id', ['alias' => 'bans']);
        $this->hasMany('id', 'Baka\Auth\Models\Sessions', 'users_id', ['alias' => 'sessions']);
        $this->hasMany('id', 'Baka\Auth\Models\UserConfig', 'users_id', ['alias' => 'config']);
        $this->hasMany('id', 'Baka\Auth\Models\UserLinkedSources', 'users_id', ['alias' => 'sources']);
        $this->hasMany('id', 'Baka\Auth\Models\UsersAssociatedCompany', 'users_id', ['alias' => 'companies']);
        $this->hasOne('default_company', 'Baka\Auth\Models\Companies', 'id', ['alias' => 'defaultCompany']);
    }
public function initialize ( ) { $ this -> hasOne ( 'id' , 'Baka\Auth\Models\Sessions' , 'users_id' , [ 'alias' => 'session' ] ) ; $ this -> hasMany ( 'id' , 'Baka\Auth\Models\Sessions' , 'users_id' , [ 'alias' => 'sessions' ] ) ; $ this -> hasMany ( 'id' , 'Baka\Auth\Models\SessionKeys' , 'users_id' , [ 'alias' => 'sessionKeys' ] ) ; $ this -> hasMany ( 'id' , 'Baka\Auth\Models\Banlist' , 'users_id' , [ 'alias' => 'bans' ] ) ; $ this -> hasMany ( 'id' , 'Baka\Auth\Models\Sessions' , 'users_id' , [ 'alias' => 'sessions' ] ) ; $ this -> hasMany ( 'id' , 'Baka\Auth\Models\UserConfig' , 'users_id' , [ 'alias' => 'config' ] ) ; $ this -> hasMany ( 'id' , 'Baka\Auth\Models\UserLinkedSources' , 'users_id' , [ 'alias' => 'sources' ] ) ; $ this -> hasMany ( 'id' , 'Baka\Auth\Models\UsersAssociatedCompany' , 'users_id' , [ 'alias' => 'companies' ] ) ; $ this -> hasOne ( 'default_company' , 'Baka\Auth\Models\Companies' , 'id' , [ 'alias' => 'defaultCompany' ] ) ; }
initialize the model
initialize the model