refactor(admin): 更新字典数据DTO和VO的注解以及分页处理逻辑
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
@@ -64,7 +64,7 @@ public class DictDataDto {
|
||||
/**
|
||||
* 状态(1正常 0停用)
|
||||
*/
|
||||
@ApiModelProperty(value = "状态(1正常 0停用)",required = true)
|
||||
@Schema(description = "状态(1正常 0停用)",required = true)
|
||||
@NotNull(message = "状态不能为空!")
|
||||
private String state;
|
||||
}
|
||||
|
||||
@@ -69,11 +69,11 @@ public class DictDataVo implements Serializable {
|
||||
/**
|
||||
* 状态(1正常 0停用)
|
||||
*/
|
||||
@ApiModelProperty(value = "状态(1正常 0停用)")
|
||||
@Schema(description = "状态(1正常 0停用)")
|
||||
private String state;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user