From 59e18cfbe1c440f3d0f7ffaa675c127bf82f2414 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 01 三月 2023 17:38:02 +0800
Subject: [PATCH] 油烟接口
---
ycl-platform/src/main/java/com/ycl/dto/casePool/ViolationParam.java | 63 +++++++++++++++++++++----------
1 files changed, 42 insertions(+), 21 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/dto/casePool/ViolationParam.java b/ycl-platform/src/main/java/com/ycl/dto/casePool/ViolationParam.java
index 90853df..33b7dfd 100644
--- a/ycl-platform/src/main/java/com/ycl/dto/casePool/ViolationParam.java
+++ b/ycl-platform/src/main/java/com/ycl/dto/casePool/ViolationParam.java
@@ -1,5 +1,8 @@
package com.ycl.dto.casePool;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.ycl.dto.caseHandler.DispatchInfoParam;
+import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -7,47 +10,65 @@
import javax.validation.constraints.NotNull;
@Data
+@ApiModel(value = "娣诲姞杩濊妗堜欢")
public class ViolationParam {
- /**
- * 闂绫诲埆锛�1-杩濊 2-杩濆缓锛�
- */
- @ApiModelProperty(value = "闂绫诲埆锛�1-杩濊 2-杩濆缓", dataType = "Integer")
- @NotNull(message = "涓嶅厑璁搁棶棰樼被鍨嬩负绌�")
- private Integer category;
+
+
+ @ApiModelProperty(value = "鐘舵��")
+ private Integer state;
/**
* 澶х被
*/
- @ApiModelProperty(value = "澶х被", dataType = "Integer")
+ @ApiModelProperty(value = "澶х被")
@NotNull(message = "涓嶅厑璁稿ぇ绫讳负绌�")
private Integer categoryId;
/**
+ * 鎶ヨ鏃堕棿
+ */
+ @TableField("alarm_time")
+ private String alarmTime;
+
+ /**
+ * 璋冨害鏃堕檺
+ */
+ @TableField("limit_time")
+ private String limitTime;
+
+ /**
* 灏忕被
*/
- @ApiModelProperty(value = "灏忕被", dataType = "Integer")
+ @ApiModelProperty(value = "灏忕被")
@NotNull(message = "涓嶅厑璁稿皬绫讳负绌�")
private Integer typeId;
/**
+ * 妗堜欢绛夌骇
+ */
+ @ApiModelProperty(value = "妗堜欢绛夌骇")
+ @NotNull(message = "涓嶅厑璁告浠剁瓑绾т负绌�")
+ private Integer gradeId;
+
+ /**
* 鎵�灞炶閬�
*/
- @ApiModelProperty(value = "鎵�灞炶閬�", dataType = "Integer")
+ @ApiModelProperty(value = "鎵�灞炶閬�")
@NotNull(message = "涓嶅厑璁告墍灞炶閬撲负绌�")
private Integer streetId;
/**
* 鎵�灞炵ぞ鍖�
*/
- @ApiModelProperty(value = "鎵�灞炵ぞ鍖�", dataType = "Integer")
- @NotBlank(message = "涓嶅厑璁告墍灞炵ぞ鍖轰负绌�")
+ @ApiModelProperty(value = "鎵�灞炵ぞ鍖�")
+ @NotNull(message = "涓嶅厑璁告墍灞炵ぞ鍖轰负绌�")
private Integer communityId;
/**
* 妗堢敱
*/
- @ApiModelProperty(value = "妗堢敱", dataType = "String")
+ @ApiModelProperty(value = "妗堢敱")
@NotBlank(message = "涓嶅厑璁告鐢变负绌�")
private String actionCause;
@@ -55,50 +76,50 @@
/**
* 鎶ヨ鐐逛綅 浜嬪彂鍦扮偣
*/
- @ApiModelProperty(value = "浜嬪彂鍦扮偣", dataType = "String")
+ @ApiModelProperty(value = "浜嬪彂鍦扮偣")
@NotBlank(message = "涓嶅厑璁镐簨鍙戝湴鐐逛负绌�")
private String site;
/**
* 鏄惁鍏宠仈鍟嗛摵
*/
- @ApiModelProperty(value = "鏄惁鍏宠仈鍟嗛摵", dataType = "Boolean")
+ @ApiModelProperty(value = "鏄惁鍏宠仈鍟嗛摵(0鍚�1鏄�)")
private Integer linkShop;
/**
* 鍏宠仈鍟嗛摵鍚嶇О
*/
- @ApiModelProperty(value = "鍏宠仈鍟嗛摵鍚嶇О", dataType = "String")
- private String shopName;
+ @ApiModelProperty(value = "鍏宠仈鍟嗛摵鍚嶇О")
+ private Integer shopName;
/**
* 杞︾墝鍙�
*/
- @ApiModelProperty(value = "杞︾墝鍙�", dataType = "String")
+ @ApiModelProperty(value = "杞︾墝鍙�")
private String carNumber;
/**
* 闂鎻忚堪
*/
- @ApiModelProperty(value = "闂鎻忚堪", dataType = "String")
+ @ApiModelProperty(value = "闂鎻忚堪")
@NotBlank(message = "涓嶅厑璁搁棶棰樻弿杩颁负绌�")
private String description;
/**
* 鍙嶆槧浜�
*/
- @ApiModelProperty(value = "鍙嶆槧浜�", dataType = "String")
+ @ApiModelProperty(value = "鍙嶆槧浜�")
private String informant;
/**
* 鍙嶆槧浜鸿仈绯绘柟寮�
*/
- @ApiModelProperty(value = "鍙嶆槧浜鸿仈绯绘柟寮�", dataType = "String")
+ @ApiModelProperty(value = "鍙嶆槧浜鸿仈绯绘柟寮�")
private String informantPhoneCode;
/**
* 韬唤璇佸彿鐮�
*/
- @ApiModelProperty(value = "韬唤璇佸彿鐮�", dataType = "String")
+ @ApiModelProperty(value = "韬唤璇佸彿鐮�")
private String informantIdCard;
}
--
Gitblit v1.8.0