From a1a8c47ed291ad43fb4b02a6a675c3b8e8841f36 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 27 Jun 2022 16:46:13 +0800
Subject: [PATCH] 20220606
---
src/main/java/com/xcong/farmer/cms/modules/system/dto/AdminAddColumnDto.java | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/xcong/farmer/cms/modules/system/dto/AdminAddColumnDto.java b/src/main/java/com/xcong/farmer/cms/modules/system/dto/AdminAddColumnDto.java
index 0773cde..05219dd 100644
--- a/src/main/java/com/xcong/farmer/cms/modules/system/dto/AdminAddColumnDto.java
+++ b/src/main/java/com/xcong/farmer/cms/modules/system/dto/AdminAddColumnDto.java
@@ -4,18 +4,22 @@
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
+import javax.validation.constraints.NotBlank;
+
@Data
@ApiModel(value = "AdminAddColumnDto", description = "参数接收类")
public class AdminAddColumnDto {
@ApiModelProperty(value = "栏目名称")
+ @NotBlank(message = "请输入栏目名称")
private String columnName;
@ApiModelProperty(value = "栏目编码")
+ @NotBlank(message = "请输入栏目编码")
private String columnCode;
@ApiModelProperty(value = "描述")
- private String describe;
+ private String remark;
@ApiModelProperty(value = "排序")
private Integer orderNum;
--
Gitblit v1.9.1