puhanshu
2022-08-16 43f0578e80af82ecae6c61b51bd0539c6b960603
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;