更新架构
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace app\model;
|
||||
|
||||
use think\Model;
|
||||
use think\model\concern\SoftDelete;
|
||||
|
||||
class AdminModules extends Model
|
||||
{
|
||||
use SoftDelete;
|
||||
|
||||
protected $name = 'admin_modules';
|
||||
|
||||
protected $type = [
|
||||
'id' => 'integer',
|
||||
'name' => 'string',
|
||||
'code' => 'string',
|
||||
'path' => 'string',
|
||||
'icon' => 'string',
|
||||
'description' => 'string',
|
||||
'sort' => 'integer',
|
||||
'status' => 'integer',
|
||||
'is_show' => 'integer',
|
||||
'create_time' => 'datetime',
|
||||
'update_time' => 'datetime',
|
||||
'delete_time' => 'datetime',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user