feat(navigation): 添加网站导航导入参数类
- 创建 CmsNavigationImportParam 类用于 Excel 批量导入功能 - 定义导航ID、类型、菜单名称等基础字段映射 - 添加上级id、模型、标识等关联属性配置 - 集成路径、组件、打开位置等路由相关字段 - 包含图标、颜色、隐藏设置等UI显示属性 - 实现权限控制、访问密码
This commit is contained in:
@@ -0,0 +1,123 @@
|
|||||||
|
package com.gxwebsoft.cms.param;
|
||||||
|
|
||||||
|
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 网站导航导入参数(Excel 批量导入)
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class CmsNavigationImportParam implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Excel(name = "导航ID")
|
||||||
|
private Integer navigationId;
|
||||||
|
|
||||||
|
@Excel(name = "类型")
|
||||||
|
private Integer type;
|
||||||
|
|
||||||
|
@Excel(name = "菜单名称")
|
||||||
|
private String title;
|
||||||
|
|
||||||
|
@Excel(name = "上级id")
|
||||||
|
private Integer parentId;
|
||||||
|
|
||||||
|
@Excel(name = "模型")
|
||||||
|
private String model;
|
||||||
|
|
||||||
|
@Excel(name = "标识")
|
||||||
|
private String code;
|
||||||
|
|
||||||
|
@Excel(name = "菜单路由地址")
|
||||||
|
private String path;
|
||||||
|
|
||||||
|
@Excel(name = "菜单组件地址")
|
||||||
|
private String component;
|
||||||
|
|
||||||
|
@Excel(name = "打开位置")
|
||||||
|
private String target;
|
||||||
|
|
||||||
|
@Excel(name = "菜单图标")
|
||||||
|
private String icon;
|
||||||
|
|
||||||
|
@Excel(name = "图标颜色")
|
||||||
|
private String color;
|
||||||
|
|
||||||
|
@Excel(name = "是否隐藏")
|
||||||
|
private Integer hide;
|
||||||
|
|
||||||
|
@Excel(name = "可见类型")
|
||||||
|
private Integer permission;
|
||||||
|
|
||||||
|
@Excel(name = "访问密码")
|
||||||
|
private String password;
|
||||||
|
|
||||||
|
@Excel(name = "位置")
|
||||||
|
private Integer position;
|
||||||
|
|
||||||
|
@Excel(name = "仅在顶部显示")
|
||||||
|
private Integer top;
|
||||||
|
|
||||||
|
@Excel(name = "仅在底部显示")
|
||||||
|
private Integer bottom;
|
||||||
|
|
||||||
|
@Excel(name = "选中path")
|
||||||
|
private String active;
|
||||||
|
|
||||||
|
@Excel(name = "其它路由元信息")
|
||||||
|
private String meta;
|
||||||
|
|
||||||
|
@Excel(name = "css样式")
|
||||||
|
private String style;
|
||||||
|
|
||||||
|
@Excel(name = "模型名称")
|
||||||
|
private String modelName;
|
||||||
|
|
||||||
|
@Excel(name = "页面ID")
|
||||||
|
private Integer pageId;
|
||||||
|
|
||||||
|
@Excel(name = "详情页ID")
|
||||||
|
private Integer itemId;
|
||||||
|
|
||||||
|
@Excel(name = "是否微信小程序菜单")
|
||||||
|
private Boolean isMpWeixin;
|
||||||
|
|
||||||
|
@Excel(name = "菜单间距")
|
||||||
|
private Integer gutter;
|
||||||
|
|
||||||
|
@Excel(name = "菜单宽度")
|
||||||
|
private Integer span;
|
||||||
|
|
||||||
|
@Excel(name = "阅读量")
|
||||||
|
private Integer readNum;
|
||||||
|
|
||||||
|
@Excel(name = "商户ID")
|
||||||
|
private Long merchantId;
|
||||||
|
|
||||||
|
@Excel(name = "国际化语言")
|
||||||
|
private String lang;
|
||||||
|
|
||||||
|
@Excel(name = "设为首页")
|
||||||
|
private Integer home;
|
||||||
|
|
||||||
|
@Excel(name = "是否推荐")
|
||||||
|
private Boolean recommend;
|
||||||
|
|
||||||
|
@Excel(name = "排序")
|
||||||
|
private Integer sortNumber;
|
||||||
|
|
||||||
|
@Excel(name = "备注")
|
||||||
|
private String comments;
|
||||||
|
|
||||||
|
@Excel(name = "状态")
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
|
@Excel(name = "用户ID")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@Excel(name = "租户ID")
|
||||||
|
private Integer tenantId;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user