mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-11 23:19:05 +00:00
23 lines
377 B
PHP
23 lines
377 B
PHP
<?php
|
|
|
|
namespace App\Http\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* 用户封禁日志
|
|
* Class UserBanLog
|
|
*
|
|
* @package App\Http\Models
|
|
* @mixin \Eloquent
|
|
*/
|
|
class UserBanLog extends Model
|
|
{
|
|
protected $table = 'user_ban_log';
|
|
protected $primaryKey = 'id';
|
|
|
|
function user()
|
|
{
|
|
return $this->hasOne(User::class, 'id', 'user_id');
|
|
}
|
|
} |