Files
ul-file-share/app/model/AdminLog.php
2021-06-19 13:09:45 +08:00

24 lines
307 B
PHP

<?php
namespace app\model;
use think\Model;
use think\model\concern\SoftDelete;
/**
* @mixin think\Model
*/
class AdminLog extends Model
{
//
use SoftDelete;
protected $defaultSoftDelete = 0;
public function admin()
{
return $this->belongsTo('Admin','admin_id');
}
}