<?php
namespace App\Model;
class WebClient
{
protected $user_id;
protected $client_id;
protected $token;
protected $last_connect_time;
protected $connect_time;
protected $uuid;
public function __construct()
{
$this->last_connect_time=now();
}
public function setUserId($user_id)
{
$this->user_id=$user_id;
}
public function getUserId()
{
return $this->user_id;
}
public function setClientId($client_id)
{
$this->client_id=$client_id;
}
public function getClientId()
{
return $this->client_id;
}
public function setToken($token)
{
$this->token=$token;
}
public function getToken()
{
return $this->token;
}
public function setConnectTime($connect_time)
{
$this->connect_time=$connect_time;
}
public function getConnectTime()
{
return $this->connect_time;
}
public function getLastConnectTime()
{
return $this->last_connect_time;
}
}