From fd071f321fb967f36cf795fc40b4f2e87e89e69d Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 12 十二月 2022 22:38:24 +0800
Subject: [PATCH] 预警研判
---
ycl-platform/src/main/java/com/ycl/dto/casePool/IllegalBuildingParam.java | 63 ++++++++++++++++++-------------
1 files changed, 36 insertions(+), 27 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/dto/casePool/IllegalBuildingParam.java b/ycl-platform/src/main/java/com/ycl/dto/casePool/IllegalBuildingParam.java
index 893e947..750f380 100644
--- a/ycl-platform/src/main/java/com/ycl/dto/casePool/IllegalBuildingParam.java
+++ b/ycl-platform/src/main/java/com/ycl/dto/casePool/IllegalBuildingParam.java
@@ -1,118 +1,127 @@
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-杩濆缓", dataType = "Integer")
- @NotNull(message = "涓嶅厑璁搁棶棰樼被鍨嬩负绌�")
- private Integer category;
/**
* 杩濆缓绫诲埆
*/
- @ApiModelProperty(value = "杩濆缓绫诲埆", dataType = "Integer")
- @NotBlank(message = "涓嶅厑璁歌繚寤虹被鍒负绌�")
+ @ApiModelProperty(value = "杩濆缓绫诲埆")
+ @NotNull(message = "涓嶅厑璁歌繚寤虹被鍒负绌�")
private Integer categoryId;
/**
+ * 鎶ヨ鏃堕棿
+ */
+ @TableField("alarm_time")
+ private String alarmTime;
+
+ /**
+ * 璋冨害鏃堕檺
+ */
+ @TableField("limit_time")
+ private String limitTime;
+
+ /**
* 鎵�灞炵ぞ鍖�
*/
- @ApiModelProperty(value = "鎵�灞炵ぞ鍖�", dataType = "Integer")
- @NotBlank(message = "涓嶅厑璁告墍灞炵ぞ鍖轰负绌�")
+ @ApiModelProperty(value = "鎵�灞炵ぞ鍖�")
+ @NotNull(message = "涓嶅厑璁告墍灞炵ぞ鍖轰负绌�")
private Integer communityId;
-
/**
* 鎶ヨ鐐逛綅 浜嬪彂鍦扮偣
*/
- @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")
+ @ApiModelProperty(value = "浜嬪彂鍦扮偣")
@NotBlank(message = "涓嶅厑璁镐簨鍙戝湴鐐逛负绌�")
private String partyPhone;
/**
* 韬唤璇佹闈�
*/
- @ApiModelProperty(value = "韬唤璇佹闈�", dataType = "String")
+ @ApiModelProperty(value = "韬唤璇佹闈�")
@NotBlank(message = "涓嶅厑璁歌韩浠借瘉姝i潰涓虹┖")
private String positive;
/**
* 韬唤璇佸弽闈�
*/
- @ApiModelProperty(value = "韬唤璇佸弽闈�", dataType = "String")
+ @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;
}
--
Gitblit v1.8.0