jiangSuElec/src/main/java/com/suelec/permission/vo/req/PermissionUpdateReqVo.java

48 lines
1.4 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.suelec.permission.vo.req;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
@Data
public class PermissionUpdateReqVo {
@ApiModelProperty(value = "id")
@NotBlank(message = "id 不能为空")
private String id;
@ApiModelProperty(value = "状态1:正常 0禁用")
private Integer status;
@ApiModelProperty(value = "菜单权限名称")
private String title;
@ApiModelProperty(value = "菜单图标icon")
private String icon;
@ApiModelProperty(value = "菜单权限标识shiro 适配restful")
private String perms;
@ApiModelProperty(value = "接口地址")
private String url;
@ApiModelProperty(value = "请求方式 和url 配合使用 (我们用 路径匹配的方式做权限管理的时候用到)")
private String method;
@ApiModelProperty(value = "name与前端vue路由name约定一致")
private String name;
@ApiModelProperty(value = "父级id")
private String pid;
@ApiModelProperty(value = "排序码")
private Integer orderNum;
@ApiModelProperty(value = "菜单权限类型(1:目录;2:菜单;3:按钮)")
private Integer type;
@ApiModelProperty(value = "编码(前后端分离 前段对按钮显示隐藏控制 btn-permission-search 代表 菜单权限管理的列表查询按钮)")
private String code;
}