基于云平台系统功能调整
This commit is contained in:
@@ -52,6 +52,9 @@ public class ComponentDTO implements Serializable {
|
||||
@ApiModelProperty("时间标识")
|
||||
private String timeKey;
|
||||
|
||||
@ApiModelProperty("组件类型")
|
||||
private String componentType;
|
||||
|
||||
@ApiModelProperty("子级")
|
||||
List<ComponentDTO> children;
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ import java.util.List;
|
||||
public class ComponentParam {
|
||||
|
||||
@ApiModelProperty("资源id")
|
||||
// @NotBlank(message = UserValidMessage.FUNCTION_ID_NOT_BLANK)
|
||||
private String functionId;
|
||||
|
||||
@ApiModelProperty("节点")
|
||||
@@ -37,7 +36,6 @@ public class ComponentParam {
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("功能数组")
|
||||
// @NotEmpty(message = UserValidMessage.FUNCTION_GROUP_NOT_BLANK)
|
||||
private List<Integer> functionGroup;
|
||||
|
||||
@ApiModelProperty("排序")
|
||||
@@ -65,6 +63,8 @@ public class ComponentParam {
|
||||
@NotBlank(message = "系统类型不为空")
|
||||
private String systemType;
|
||||
|
||||
@ApiModelProperty("组件类型")
|
||||
private String componentType;
|
||||
|
||||
/**
|
||||
* 组件更新操作实体
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.njcn.user.pojo.param;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author xy
|
||||
*/
|
||||
@Data
|
||||
public class RoleSystemParam implements Serializable {
|
||||
|
||||
@ApiModelProperty("角色id")
|
||||
@NotBlank(message = "角色id不能为空")
|
||||
private String roleId;
|
||||
|
||||
@ApiModelProperty("系统id")
|
||||
@NotNull(message = "系统id不能为空")
|
||||
private List<String> systemIds;
|
||||
}
|
||||
@@ -75,6 +75,11 @@ public class Component extends BaseEntity {
|
||||
*/
|
||||
private String systemType;
|
||||
|
||||
/**
|
||||
* 组件类型
|
||||
*/
|
||||
private String componentType;
|
||||
|
||||
private String icon;
|
||||
|
||||
private String image;
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.njcn.user.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author xy
|
||||
* @since 2026-01-05
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_role_system")
|
||||
@Accessors(chain = true)
|
||||
public class SysRoleSystem implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 角色id
|
||||
*/
|
||||
@MppMultiId
|
||||
private String roleId;
|
||||
|
||||
/**
|
||||
* 系统id
|
||||
*/
|
||||
private String systemId;
|
||||
|
||||
|
||||
}
|
||||
@@ -43,6 +43,9 @@ public class ComponentVO implements Serializable {
|
||||
@ApiModelProperty("系统类型")
|
||||
private String systemType;
|
||||
|
||||
@ApiModelProperty("组件类型")
|
||||
private String componentType;
|
||||
|
||||
@ApiModelProperty("图标标识")
|
||||
private String icon;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user