From 70406a52ed3bd31fb72793dea750793ca216193a Mon Sep 17 00:00:00 2001
From: 罗元桥 <2376770955@qq.com>
Date: 星期一, 23 八月 2021 19:34:10 +0800
Subject: [PATCH] Merge branch 'test' into 'master'
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventGridDataAddAdminDTO.java | 32 +++++++++++++++++++-------------
1 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventGridDataAddAdminDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventGridDataAddAdminDTO.java
index 331dd2b..e3cdf84 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventGridDataAddAdminDTO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventGridDataAddAdminDTO.java
@@ -1,12 +1,14 @@
package com.panzhihua.common.model.dtos.grid;
+import java.util.List;
+
+import javax.validation.constraints.NotBlank;
+
+import org.hibernate.validator.constraints.Length;
+
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
-import org.hibernate.validator.constraints.Length;
-
-import javax.validation.constraints.NotBlank;
-import java.util.List;
/**
* 新增网格请求参数
@@ -15,36 +17,37 @@
* @version 1.0
* @since 1.0
* @date 2021-05-26
- * */
+ */
@Data
@ApiModel("新增网格请求参数")
public class EventGridDataAddAdminDTO {
- @NotBlank() @Length(max=100)
+ @NotBlank()
+ @Length(max = 100)
@ApiModelProperty(value = "网格名称", hidden = false, example = "")
private String gridName;
- @Length(max=255)
+ @Length(max = 255)
@ApiModelProperty(value = "网格描述", hidden = false, example = "")
private String remarks;
- @Length(max=100)
+ @Length(max = 100)
@ApiModelProperty(value = "面积", hidden = false, example = "")
private String area;
- @Length(max=100)
+ @Length(max = 100)
@ApiModelProperty(value = "网格颜色", hidden = false, example = "")
private String fillColor;
- @Length(max=100)
+ @Length(max = 100)
@ApiModelProperty(value = "网格边框颜色", hidden = false, example = "")
private String lineColor;
- @Length(max=100)
+ @Length(max = 100)
@ApiModelProperty(value = "网格边框宽度", hidden = false, example = "")
private String lineBroadband;
- @Length(max=2147483647)
+ @Length(max = 2147483647)
@ApiModelProperty(value = "围栏数据", hidden = false, example = "")
private String data;
@@ -55,7 +58,10 @@
private Long gridCommunityId;
@ApiModelProperty(value = "市平台网格关联id", hidden = false, example = "")
- private Long lcGridId;
+ private String lcGridId;
+
+ @ApiModelProperty(value = "市平台网格关联名称", hidden = false, example = "")
+ private String lcGridName;
@ApiModelProperty(value = "当前登录用户id", hidden = true, example = "1")
private Long userId;
--
Gitblit v1.7.1