| | |
| | | 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; |
| | | } |
| | | } |