Files
ulthon_information/app/model/AdminLog.php
2020-08-07 23:49:50 +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');
}
}