parent
a04eaba7ad
commit
96b3466579
5 changed files with 78 additions and 5 deletions
@ -0,0 +1,21 @@ |
||||
package com.daqing.financial.hrms; |
||||
|
||||
import com.daqing.framework.domain.hrms.request.DeptAddRequest; |
||||
import com.daqing.framework.model.response.ResponseResult; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
|
||||
/** |
||||
* @Author: gongsj. |
||||
* @Description: 权限管理controllerApi定义 |
||||
* @Date:Created in 2020/09/11 11:13. |
||||
* @Modified By: |
||||
*/ |
||||
@Api(value = "权限管理相关操作", tags = "提供权限信息增删改查等相关方法") |
||||
public interface PermissionControllerApi { |
||||
/** |
||||
* 新增一条权限信息 |
||||
*/ |
||||
@ApiOperation(value = "新增一条权限信息", notes = "新增一条权限信息") |
||||
ResponseResult save(DeptAddRequest deptAddRequest); |
||||
} |
@ -0,0 +1,51 @@ |
||||
package com.daqing.framework.domain.hrms.request; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 记录菜单权限 |
||||
* |
||||
* @author gongsj |
||||
* @email gongsj@gmail.com |
||||
* @date 2020-09-07 17:12:14 |
||||
*/ |
||||
@Data |
||||
public class PermissionAddRequest implements Serializable { |
||||
|
||||
/** |
||||
* 权限标识符 |
||||
*/ |
||||
private String code; |
||||
/** |
||||
* 名称 |
||||
*/ |
||||
private String name; |
||||
/** |
||||
* 路径 |
||||
*/ |
||||
private String url; |
||||
/** |
||||
* 父权限id |
||||
*/ |
||||
private Long parentId; |
||||
/** |
||||
* 层级 |
||||
*/ |
||||
private Integer level; |
||||
/** |
||||
* 是否是菜单:1、是,0、不是 |
||||
*/ |
||||
private Integer menuOrNot; |
||||
/** |
||||
* 排序 |
||||
*/ |
||||
private Integer sort; |
||||
/** |
||||
* 图标 |
||||
*/ |
||||
private String icon; |
||||
|
||||
} |
Loading…
Reference in new issue