Pterodactyl-Panel/app/Models/Session.php

26 lines
400 B
PHP
Raw Permalink Normal View History

2016-02-26 06:35:23 +01:00
<?php
2016-12-07 23:46:38 +01:00
2016-02-26 06:35:23 +01:00
namespace Pterodactyl\Models;
use Illuminate\Database\Eloquent\Model;
class Session extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'sessions';
2017-03-20 00:36:50 +01:00
/**
* Cast values to correct type.
*
* @var array
*/
protected $casts = [
'id' => 'string',
'user_id' => 'integer',
];
2016-02-26 06:35:23 +01:00
}