zhanghua
2023-09-08 7ef4892f9f24f941aca37e6b3991b808a0aca619
ycl-platform/src/main/java/com/ycl/dto/casePool/IllegalBuildingParam.java
@@ -1,118 +1,144 @@
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;
import java.util.List;
@Data
@ApiModel(value = "添加违建案件")
public class IllegalBuildingParam {
    /**
     * 问题类别(1-违规 2-违建)
     */
    @ApiModelProperty(value = "问题类别(1-违规 2-违建", dataType = "Integer")
    @NotNull(message = "不允许问题类型为空")
    private Integer category;
    /**
     * 违建类别
     */
    @ApiModelProperty(value = "违建类别", dataType = "Integer")
    @NotBlank(message = "不允许违建类别为空")
    @ApiModelProperty(value = "违建类别")
    @NotNull(message = "不允许违建类别为空")
    private Integer categoryId;
    /**
     * 报警时间
     */
    @ApiModelProperty(value = "报警时间")
    @TableField("alarm_time")
    private String alarmTime;
    /**
     * 调度时限
     */
    @ApiModelProperty(value = "调度时限")
    @TableField("limit_time")
    private String limitTime;
    /**
     * 所属社区
     */
    @ApiModelProperty(value = "所属社区", dataType = "Integer")
    @NotBlank(message = "不允许所属社区为空")
    @ApiModelProperty(value = "所属社区")
    @NotNull(message = "不允许所属社区为空")
    private Integer communityId;
    /**
     * 所属街道
     */
    @ApiModelProperty(value = "所属街道")
    @NotNull(message = "不允许所属街道为空")
    private Integer streetId;
    /**
     * 报警点位 事发地点
     */
    @ApiModelProperty(value = "事发地点", dataType = "String")
    @ApiModelProperty(value = "事发地点")
    @NotBlank(message = "不允许事发地点为空")
    private String site;
    /**
     * 当事人姓名
     */
    @ApiModelProperty(value = "当事人姓名", dataType = "String")
    @ApiModelProperty(value = "当事人姓名")
    @NotBlank(message = "不允许当事人姓名为空")
    private String partyName;
    /**
     * 当事人身份证号码
     */
    @ApiModelProperty(value = "当事人身份证号码", dataType = "String")
    @ApiModelProperty(value = "当事人身份证号码")
    @NotBlank(message = "不允许当事人身份证号码为空")
    private String partyIdCard;
    /**
     * 当事人联系电话
     */
    @ApiModelProperty(value = "事发地点", dataType = "String")
    @NotBlank(message = "不允许事发地点为空")
    @ApiModelProperty(value = "当事人联系电话")
    @NotBlank(message = "不允许当事人联系电话")
    private String partyPhone;
    /**
     * 身份证正面
     */
    @ApiModelProperty(value = "身份证正面", dataType = "String")
    @NotBlank(message = "不允许身份证正面为空")
    @ApiModelProperty(value = "身份证正面")
   // @NotBlank(message = "不允许身份证正面为空")
    private String positive;
    /**
     * 身份证反面
     */
    @ApiModelProperty(value = "身份证反面", dataType = "String")
    @NotBlank(message = "不允许身份证反面为空")
    @ApiModelProperty(value = "身份证反面")
   // @NotBlank(message = "不允许身份证反面为空")
    private String negative;
    /**
     * 违建具体位置
     */
    @ApiModelProperty(value = "违建具体位置", dataType = "String")
    @ApiModelProperty(value = "违建具体位置")
    @NotBlank(message = "不允许违建具体位置为空")
    private String position;
    /**
     * 违建长
     */
    @ApiModelProperty(value = "违建长", dataType = "String")
    @NotBlank(message = "不允许违建长为空")
    @ApiModelProperty(value = "违建长")
    @NotNull(message = "不允许违建长为空")
    private Float buildingLength;
    /**
     * 违建宽
     */
    @ApiModelProperty(value = "违建宽", dataType = "String")
    @NotBlank(message = "不允许违建宽为空")
    @ApiModelProperty(value = "违建宽")
    @NotNull(message = "不允许违建宽为空")
    private Float buildingWidth;
    /**
     * 违建高
     */
    @ApiModelProperty(value = "违建高", dataType = "String")
    @NotBlank(message = "不允许违建高为空")
    @ApiModelProperty(value = "违建高")
    @NotNull(message = "不允许违建高为空")
    private Float buildingHigh;
    /**
     * 违建面积
     */
    @ApiModelProperty(value = "违建面积", dataType = "String")
    @NotBlank(message = "不允许违建面积为空")
    @ApiModelProperty(value = "违建面积")
    @NotNull(message = "不允许违建面积为空")
    private Float buildingArea;
    /**
     * 违建材料
     */
    @ApiModelProperty(value = "违建材料", dataType = "String")
    @ApiModelProperty(value = "违建材料")
    @NotBlank(message = "不允许违建材料为空")
    private String materials;
    @ApiModelProperty(value = "图片")
    private List<String> imageUrls;
    @ApiModelProperty(value = "视频")
    private List<String> videoUrls;
}