!933 修正 swagger 文档错误

Merge pull request !933 from moon69/master
This commit is contained in:
芋道源码 2024-04-14 14:03:57 +00:00 committed by Gitee
commit 1f93ac25b6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
10 changed files with 10 additions and 10 deletions

View File

@ -18,7 +18,7 @@ public class DeptRespVO {
@Schema(description = "父部门 ID", example = "1024") @Schema(description = "父部门 ID", example = "1024")
private Long parentId; private Long parentId;
@Schema(description = "显示顺序不能为空", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
private Integer sort; private Integer sort;
@Schema(description = "负责人的用户编号", example = "2048") @Schema(description = "负责人的用户编号", example = "2048")

View File

@ -25,7 +25,7 @@ public class DeptSaveReqVO {
@Schema(description = "父部门 ID", example = "1024") @Schema(description = "父部门 ID", example = "1024")
private Long parentId; private Long parentId;
@Schema(description = "显示顺序不能为空", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
@NotNull(message = "显示顺序不能为空") @NotNull(message = "显示顺序不能为空")
private Integer sort; private Integer sort;

View File

@ -27,7 +27,7 @@ public class PostRespVO {
@ExcelProperty("岗位编码") @ExcelProperty("岗位编码")
private String code; private String code;
@Schema(description = "显示顺序不能为空", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
@ExcelProperty("岗位排序") @ExcelProperty("岗位排序")
private Integer sort; private Integer sort;

View File

@ -26,7 +26,7 @@ public class PostSaveReqVO {
@Size(max = 64, message = "岗位编码长度不能超过64个字符") @Size(max = 64, message = "岗位编码长度不能超过64个字符")
private String code; private String code;
@Schema(description = "显示顺序不能为空", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
@NotNull(message = "显示顺序不能为空") @NotNull(message = "显示顺序不能为空")
private Integer sort; private Integer sort;

View File

@ -19,7 +19,7 @@ public class DictDataRespVO {
@ExcelProperty("字典编码") @ExcelProperty("字典编码")
private Long id; private Long id;
@Schema(description = "显示顺序不能为空", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
@ExcelProperty("字典排序") @ExcelProperty("字典排序")
private Integer sort; private Integer sort;

View File

@ -16,7 +16,7 @@ public class DictDataSaveReqVO {
@Schema(description = "字典数据编号", example = "1024") @Schema(description = "字典数据编号", example = "1024")
private Long id; private Long id;
@Schema(description = "显示顺序不能为空", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
@NotNull(message = "显示顺序不能为空") @NotNull(message = "显示顺序不能为空")
private Integer sort; private Integer sort;

View File

@ -31,7 +31,7 @@ public class MenuRespVO {
@NotNull(message = "菜单类型不能为空") @NotNull(message = "菜单类型不能为空")
private Integer type; private Integer type;
@Schema(description = "显示顺序不能为空", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
@NotNull(message = "显示顺序不能为空") @NotNull(message = "显示顺序不能为空")
private Integer sort; private Integer sort;

View File

@ -27,7 +27,7 @@ public class MenuSaveVO {
@NotNull(message = "菜单类型不能为空") @NotNull(message = "菜单类型不能为空")
private Integer type; private Integer type;
@Schema(description = "显示顺序不能为空", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
@NotNull(message = "显示顺序不能为空") @NotNull(message = "显示顺序不能为空")
private Integer sort; private Integer sort;

View File

@ -30,7 +30,7 @@ public class RoleRespVO {
@ExcelProperty("角色标志") @ExcelProperty("角色标志")
private String code; private String code;
@Schema(description = "显示顺序不能为空", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
@ExcelProperty("角色排序") @ExcelProperty("角色排序")
private Integer sort; private Integer sort;

View File

@ -27,7 +27,7 @@ public class RoleSaveReqVO {
@DiffLogField(name = "角色标志") @DiffLogField(name = "角色标志")
private String code; private String code;
@Schema(description = "显示顺序不能为空", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
@NotNull(message = "显示顺序不能为空") @NotNull(message = "显示顺序不能为空")
@DiffLogField(name = "显示顺序") @DiffLogField(name = "显示顺序")
private Integer sort; private Integer sort;