更新架构

This commit is contained in:
2026-01-27 18:02:07 +08:00
parent 0f48ce7894
commit 89d7761887
4 changed files with 392 additions and 103 deletions
+30
View File
@@ -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',
];
}