31 lines
668 B
PHP
31 lines
668 B
PHP
<?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',
|
|
];
|
|
}
|