From 08eefab8f0b04018dc62928ec2191bcae9d3e7d0 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期五, 15 十月 2021 16:25:01 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/test' into test --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/IdDTO.java | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/IdDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/IdDTO.java index e785cea..c519403 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/IdDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/IdDTO.java @@ -1,26 +1,24 @@ package com.panzhihua.common.model.dtos; +import javax.validation.constraints.NotNull; + import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; - -import javax.validation.constraints.NotNull; +import lombok.Data; /** * @author xyh * @date 2021/6/28 16:30 */ @ApiModel("id参数") +@Data public class IdDTO { @NotNull(message = "id不能为空") @ApiModelProperty("id") private String id; - public String getId() { - return id; - } + @ApiModelProperty("网格id") + private Long gridId; - public void setId(String id) { - this.id = id; - } } -- Gitblit v1.7.1