winter/modules/backend/models/UserThrottle.php
2017-05-20 20:01:19 +10:00

25 lines
476 B
PHP

<?php namespace Backend\Models;
use October\Rain\Auth\Models\Throttle as ThrottleBase;
/**
* Administrator throttling model
*
* @package october\backend
* @author Alexey Bobkov, Samuel Georges
*/
class UserThrottle extends ThrottleBase
{
/**
* @var string The database table used by the model.
*/
protected $table = 'backend_user_throttle';
/**
* @var array Relations
*/
public $belongsTo = [
'user' => User::class
];
}