wl
2022-10-24 9969bea2a8c1eab64c12a51a2d24d65e5b6c0dd0
ycl-platform/src/main/java/com/ycl/dto/casePool/IllegalBuildingParam.java
@@ -1,35 +1,44 @@
package com.ycl.dto.casePool;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
@Data
@ApiModel(value = "添加违建案件")
public class IllegalBuildingParam {
    /**
     * 问题类别(1-违规 2-违建)
     */
    @ApiModelProperty(value = "问题类别(1-违规 2-违建")
    @NotNull(message = "不允许问题类型为空")
    private Integer category;
    /**
     * 违建类别
     */
    @ApiModelProperty(value = "违建类别")
    @NotBlank(message = "不允许违建类别为空")
    @NotNull(message = "不允许违建类别为空")
    private Integer categoryId;
    /**
     * 报警时间
     */
    @TableField("alarm_time")
    private String alarmTime;
    /**
     * 调度时限
     */
    @TableField("limit_time")
    private String limitTime;
    /**
     * 所属社区
     */
    @ApiModelProperty(value = "所属社区")
    @NotBlank(message = "不允许所属社区为空")
    @NotNull(message = "不允许所属社区为空")
    private Integer communityId;
    /**
@@ -85,28 +94,28 @@
     * 违建长
     */
    @ApiModelProperty(value = "违建长")
    @NotBlank(message = "不允许违建长为空")
    @NotNull(message = "不允许违建长为空")
    private Float buildingLength;
    /**
     * 违建宽
     */
    @ApiModelProperty(value = "违建宽")
    @NotBlank(message = "不允许违建宽为空")
    @NotNull(message = "不允许违建宽为空")
    private Float buildingWidth;
    /**
     * 违建高
     */
    @ApiModelProperty(value = "违建高")
    @NotBlank(message = "不允许违建高为空")
    @NotNull(message = "不允许违建高为空")
    private Float buildingHigh;
    /**
     * 违建面积
     */
    @ApiModelProperty(value = "违建面积")
    @NotBlank(message = "不允许违建面积为空")
    @NotNull(message = "不允许违建面积为空")
    private Float buildingArea;
    /**