zzw
3 天以前 073605b6d62363dd7d48f5ca047a1d401418574a
emergency-repair-server/src/main/java/com/emergencyrepair/business/dto/Requests.java
@@ -112,4 +112,26 @@
        private List<Long> roleMenuIds = new ArrayList<>();
        private List<Long> tenantMenuIds = new ArrayList<>();
    }
    @Data
    public static class UserRoleRequest {
        private List<Long> roleIds = new ArrayList<>();
    }
    @Data
    public static class BatchUserRoleRequest {
        private List<Long> userIds = new ArrayList<>();
        private List<Long> roleIds = new ArrayList<>();
        private String mode = "append";
    }
    @Data
    public static class RoleUserRequest {
        private List<Long> userIds = new ArrayList<>();
    }
    @Data
    public static class ButtonSyncRequest {
        private Long menuId;
        private List<String> codes = new ArrayList<>();
    }
}