<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;

/**
 * Class TbSession
 * 
 * @property int $id
 * @property string|null $session_id
 * @property string|null $username
 * @property string|null $token
 * @property Carbon|null $login_time
 *
 * @package App\Models
 */
class TbSession extends Model
{
	protected $table = 'tb_session';
	public $timestamps = false;

	protected $casts = [
		'login_time' => 'datetime'
	];

	protected $hidden = [
		'token'
	];

	protected $fillable = [
		'session_id',
		'username',
		'token',
		'login_time'
	];
}
