扩展功能

This commit is contained in:
wuyanwen
2019-12-06 09:17:40 +08:00
parent 397c8bb7f7
commit 5c7765c97f
18 changed files with 1396 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace catcher\base;
use catcher\traits\db\BaseOptionsTrait;
use catcher\traits\db\TransTrait;
use think\model\concern\SoftDelete;
abstract class BaseModel extends \think\Model
{
use SoftDelete;
use TransTrait;
use BaseOptionsTrait;
protected $createTime = 'create_at';
protected $updateTime = 'update_at';
protected $deleteTime = 'delete_at';
}