diff --git a/basic/src/rbum/dto.rs b/basic/src/rbum/dto.rs index 0d1a56538..b3c977da8 100644 --- a/basic/src/rbum/dto.rs +++ b/basic/src/rbum/dto.rs @@ -14,4 +14,3 @@ pub mod rbum_safe_dto; pub mod rbum_set_cate_dto; pub mod rbum_set_dto; pub mod rbum_set_item_dto; -pub mod rbum_template_dto; diff --git a/basic/src/rbum/dto/rbum_template_dto.rs b/basic/src/rbum/dto/rbum_template_dto.rs deleted file mode 100644 index ff976252d..000000000 --- a/basic/src/rbum/dto/rbum_template_dto.rs +++ /dev/null @@ -1,149 +0,0 @@ - -// public class RbumTemplateDto { - -// @Data -// @SuperBuilder -// @NoArgsConstructor -// @AllArgsConstructor -// @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) -// public static class RbumTemplateAddReq { - -// @Schema(description = "资源作用域级别") -// @Enumerated -// protected RbumScopeLevelKind scopeLevel; - -// @Size(max = 255) -// @Schema(description = "编码") -// private String code; - -// @NotNull -// @Size(max = 255) -// @Schema(description = "名称") -// private String name; - -// @Size(max = 2000) -// @Schema(description = "说明") -// @Builder.Default -// private String note = ""; - -// @Size(max = 1000) -// @Schema(description = "图标") -// @Builder.Default -// private String icon = ""; - -// @Schema(description = "排序") -// @Builder.Default -// private Integer sort = 0; - -// @Schema(description = "是否禁用") -// @Builder.Default -// private Boolean disabled = true; - -// @Schema(description = "参数") -// @Builder.Default -// private String variables = ""; - -// } - -// @Data -// @SuperBuilder -// @NoArgsConstructor -// @AllArgsConstructor -// @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) -// public static class RbumTemplateModifyReq { - -// @Schema(description = "资源作用域级别") -// @Enumerated -// protected RbumScopeLevelKind scopeLevel; - -// @Size(max = 255) -// @Schema(description = "编码") -// private String code; - -// @Size(max = 255) -// @Schema(description = "名称") -// private String name; - -// @Size(max = 2000) -// @Schema(description = "说明") -// private String note; - -// @Size(max = 1000) -// @Schema(description = "图标") -// private String icon; - -// @Schema(description = "排序") -// private Integer sort; - -// @Schema(description = "是否禁用") -// private Boolean disabled; - -// @Schema(description = "参数") -// private String variables; - -// } - -// @EqualsAndHashCode(callSuper = true) -// @Data -// @SuperBuilder -// @NoArgsConstructor -// @AllArgsConstructor -// @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) -// public static class RbumTemplateSummaryResp extends RbumScopeSummaryResp { - -// @Schema(description = "编码") -// private String code; - -// @Schema(description = "名称") -// private String name; - -// @Schema(description = "说明") -// private String note; - -// @Schema(description = "图标") -// private String icon; - -// @Schema(description = "排序") -// private Integer sort; - -// @Schema(description = "是否禁用") -// private Boolean disabled; - -// @Schema(description = "参数") -// private String variables; - - -// } - -// @EqualsAndHashCode(callSuper = true) -// @Data -// @SuperBuilder -// @NoArgsConstructor -// @AllArgsConstructor -// @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) -// public static class RbumTemplateDetailResp extends RbumScopeDetailResp { - -// @Schema(description = "编码") -// private String code; - -// @Schema(description = "名称") -// private String name; - -// @Schema(description = "说明") -// private String note; - -// @Schema(description = "图标") -// private String icon; - -// @Schema(description = "排序") -// private Integer sort; - -// @Schema(description = "是否禁用") -// private Boolean disabled; - -// @Schema(description = "参数") -// private String variables; - - -// } -// }