Files
dsserver/plugin/admin/app/model/OpmDsMenu.php
T
zimoyin 13fd9c5f0a init
2026-04-06 20:48:32 +08:00

46 lines
1.1 KiB
PHP

<?php
namespace plugin\admin\app\model;
use support\Model;
/**
* OpmDsMenu 模型
* 表说明:opm_ds_menu 数据表模型
* 对应数据表:opm_ds_menu
* @property string $id id(非空,主键)
* @property int $parent_menu_id parent_menu_id
* @property string $menu menu
* @property string $menu_name menu_name
* @property string $menu_icon menu_icon
* @property string $menu_url menu_url
* @property int $sort_number sort_number
* @property int $is_display is_display 1 显示 2 隐藏
* @property string $created_at created_at
*/
class OpmDsMenu extends Model
{
/**
* 数据表名
* @var string
*/
protected $table = 'opm_ds_menu';
/**
* 主键字段名
* @var string
*/
protected $pk = 'id';
/**
* 关闭自动时间戳(如需开启请改为 true,需确保表有 create_time/update_time 字段)
* @var bool
*/
protected $autoWriteTimestamp = false;
/**
* 字段严格检查(false=允许操作未定义字段)
* @var bool
*/
protected $strict = false;
}