<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace App\Core\Auth\Classes;

use ORM\Entity as Entity;
use App\Core\Auth\Classes\User as User;

class Token extends Entity{

    const _tableName  = "auth_token";

    function user(){
        return $this->belongsTo(User::class, 'user_id')->get();
    }

}
