From 409849db1a41f559edc582c6fbc0b8d0e7e55a6a Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期一, 19 十二月 2022 14:38:08 +0800
Subject: [PATCH] update springdoc 1.6.13 => 1.6.14 update snakeyaml 1.32 => 1.33 update springboot-admin 2.7.7 => 2.7.9
---
ruoyi-system/src/main/java/com/ruoyi/system/domain/SysPost.java | 17 ++++-------------
1 files changed, 4 insertions(+), 13 deletions(-)
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysPost.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysPost.java
index 80bf275..1edabf5 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysPost.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysPost.java
@@ -8,12 +8,11 @@
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.core.domain.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
/**
@@ -26,13 +25,11 @@
@EqualsAndHashCode(callSuper = true)
@TableName("sys_post")
@ExcelIgnoreUnannotated
-@ApiModel("宀椾綅淇℃伅涓氬姟瀵硅薄")
public class SysPost extends BaseEntity {
/**
* 宀椾綅搴忓彿
*/
- @ApiModelProperty(value = "宀椾綅搴忓彿")
@ExcelProperty(value = "宀椾綅搴忓彿")
@TableId(value = "post_id")
private Long postId;
@@ -40,7 +37,6 @@
/**
* 宀椾綅缂栫爜
*/
- @ApiModelProperty(value = "宀椾綅缂栫爜")
@ExcelProperty(value = "宀椾綅缂栫爜")
@NotBlank(message = "宀椾綅缂栫爜涓嶈兘涓虹┖")
@Size(min = 0, max = 64, message = "宀椾綅缂栫爜闀垮害涓嶈兘瓒呰繃64涓瓧绗�")
@@ -49,7 +45,6 @@
/**
* 宀椾綅鍚嶇О
*/
- @ApiModelProperty(value = "宀椾綅鍚嶇О")
@ExcelProperty(value = "宀椾綅鍚嶇О")
@NotBlank(message = "宀椾綅鍚嶇О涓嶈兘涓虹┖")
@Size(min = 0, max = 50, message = "宀椾綅鍚嶇О闀垮害涓嶈兘瓒呰繃50涓瓧绗�")
@@ -58,29 +53,25 @@
/**
* 宀椾綅鎺掑簭
*/
- @ApiModelProperty(value = "宀椾綅鎺掑簭")
@ExcelProperty(value = "宀椾綅鎺掑簭")
- @NotBlank(message = "鏄剧ず椤哄簭涓嶈兘涓虹┖")
- private String postSort;
+ @NotNull(message = "鏄剧ず椤哄簭涓嶈兘涓虹┖")
+ private Integer postSort;
/**
* 鐘舵�侊紙0姝e父 1鍋滅敤锛�
*/
- @ApiModelProperty(value = "鐘舵�侊紙0姝e父 1鍋滅敤锛�")
@ExcelProperty(value = "鐘舵��", converter = ExcelDictConvert.class)
- @ExcelDictFormat(dictType = "sys_common_status")
+ @ExcelDictFormat(dictType = "sys_normal_disable")
private String status;
/**
* 澶囨敞
*/
- @ApiModelProperty(value = "澶囨敞")
private String remark;
/**
* 鐢ㄦ埛鏄惁瀛樺湪姝ゅ矖浣嶆爣璇� 榛樿涓嶅瓨鍦�
*/
- @ApiModelProperty(value = "鐢ㄦ埛鏄惁瀛樺湪姝ゅ矖浣嶆爣璇� 榛樿涓嶅瓨鍦�")
@TableField(exist = false)
private boolean flag = false;
--
Gitblit v1.9.3