mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
refactor:重构菜单接口
This commit is contained in:
parent
42d7bdc7bd
commit
f454a13030
@ -1,19 +1,25 @@
|
||||
package com.youlai.admin.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.youlai.common.core.base.BaseEntity;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||
public class MenuVO extends BaseEntity {
|
||||
|
||||
private Integer id;
|
||||
|
||||
private String name;
|
||||
private String title;
|
||||
|
||||
private Integer parentId;
|
||||
|
||||
private String name;
|
||||
|
||||
private String path;
|
||||
|
||||
private String icon;
|
||||
|
||||
private Integer sort;
|
||||
@ -24,10 +30,6 @@ public class MenuVO extends BaseEntity {
|
||||
|
||||
private String component;
|
||||
|
||||
private String path;
|
||||
|
||||
private String perms;
|
||||
|
||||
private List<MenuVO> children;
|
||||
|
||||
}
|
||||
|
@ -25,6 +25,8 @@ public class RouterVO {
|
||||
|
||||
private String name;
|
||||
|
||||
private Boolean hidden;
|
||||
|
||||
private Meta meta;
|
||||
|
||||
@Data
|
||||
|
@ -2,9 +2,8 @@ package com.youlai.common.core.constant;
|
||||
|
||||
public interface Constants {
|
||||
|
||||
/**
|
||||
* 正常状态值
|
||||
*/
|
||||
Integer STATUS_NORMAL_VALUE = 1;
|
||||
|
||||
Integer VISIBLE_SHOW_VALUE = 1;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user