51 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.yzt.common.response;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.List;
/**
* 系统左侧菜单对象
*
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MenusResponse对象", description="系统左侧菜单对象")
public class MenusResponse implements Serializable {
private static final long serialVersionUID=1L;
@ApiModelProperty(value = "ID")
private Integer id;
@ApiModelProperty(value = "父级ID")
private Integer pid;
@ApiModelProperty(value = "名称")
private String name;
@ApiModelProperty(value = "icon")
private String icon;
@ApiModelProperty(value = "权限标识")
private String perms;
@ApiModelProperty(value = "组件路径")
private String component;
@ApiModelProperty(value = "类型,M-目录,C-菜单,A-按钮")
private String menuType;
@ApiModelProperty(value = "排序")
private Integer sort;
@ApiModelProperty(value = "子对象列表")
private List<MenusResponse> childList;
}