【8.1.0】【user-role】新用户授权界面参数整理

pull/60/head
fengshuonan 2024-01-17 21:43:24 +08:00
parent 6c3ec03d87
commit 720d4837ba
5 changed files with 160 additions and 0 deletions

View File

@ -0,0 +1,39 @@
package cn.stylefeng.roses.kernel.sys.api.pojo.user.newrole;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import lombok.Data;
/**
*
*
* @author fengshuonan
* @since 2024/1/17 21:08
*/
@Data
public class NewUserRoleBindItem {
/**
* id
*/
@ChineseDescription("角色id")
private Long roleId;
/**
*
*/
@ChineseDescription("名称")
private String roleName;
/**
* 10-15-20-
*/
@ChineseDescription("角色类型10-系统角色15-业务角色20-公司角色")
private Integer roleType;
/**
*
*/
@ChineseDescription("是否选中")
private Boolean checkedFlag;
}

View File

@ -0,0 +1,31 @@
package cn.stylefeng.roses.kernel.sys.api.pojo.user.newrole;
import lombok.Data;
import java.util.List;
/**
*
*
* @author fengshuonan
* @since 2024/1/17 20:57
*/
@Data
public class NewUserRoleBindResponse {
/**
* id
*/
private Long orgId;
/**
*
*/
private Boolean enableThisOrg;
/**
*
*/
private List<NewUserRoleBindItem> roleBindItemList;
}

View File

@ -0,0 +1,22 @@
package cn.stylefeng.roses.kernel.sys.api.pojo.user.newrole.request;
import lombok.Data;
import javax.validation.constraints.NotNull;
/**
*
*
* @author fengshuonan
* @since 2024/1/17 21:25
*/
@Data
public class DeleteRequest {
/**
* id
*/
@NotNull(message = "所操作的机构id不能为空请检查orgId参数")
private Long orgId;
}

View File

@ -0,0 +1,40 @@
package cn.stylefeng.roses.kernel.sys.api.pojo.user.newrole.request;
import lombok.Data;
import javax.validation.constraints.NotNull;
/**
*
*
* @author fengshuonan
* @since 2024/1/17 21:25
*/
@Data
public class RoleControlRequest {
/**
* id
*/
@NotNull(message = "所操作的机构id不能为空请检查orgId参数")
private Long orgId;
/**
* id
*/
@NotNull(message = "角色id不能为空请检查roleId参数")
private Long roleId;
/**
* 10-15-20-
*/
@NotNull(message = "角色类型不能为空请检查roleType参数")
private Integer roleType;
/**
*
*/
@NotNull(message = "是否选中不能为空")
private Boolean checkedFlag;
}

View File

@ -0,0 +1,28 @@
package cn.stylefeng.roses.kernel.sys.api.pojo.user.newrole.request;
import lombok.Data;
import javax.validation.constraints.NotNull;
/**
*
*
* @author fengshuonan
* @since 2024/1/17 21:25
*/
@Data
public class StatusControlRequest {
/**
* id
*/
@NotNull(message = "所操作的机构id不能为空请检查orgId参数")
private Long orgId;
/**
*
*/
@NotNull(message = "是否选中不能为空")
private Boolean checkedFlag;
}