Files
sentadmin/backend/app/Models/Auth/UsersLog.php
2023-02-22 22:32:00 +08:00

21 lines
712 B
PHP

<?php
// +----------------------------------------------------------------------
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
// +----------------------------------------------------------------------
namespace App\Models\Auth;
use Illuminate\Database\Eloquent\Model;
class UsersLog extends Model{
protected $table = 'users_log';
public function user(){
return $this->hasOne(Users::class, 'uid', 'uid');
}
}