From e61bdcec724fe22c2543fcd53799859488645f70 Mon Sep 17 00:00:00 2001
From: mg <maokecheng@163.com>
Date: 星期一, 17 十月 2022 10:25:09 +0800
Subject: [PATCH] 发送人员拼接。
---
ycl-platform/src/main/java/com/ycl/dto/casePool/ViolationParam.java | 51 +++++++++++++++++++++++++++++++--------------------
1 files changed, 31 insertions(+), 20 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..fc67d3e 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,53 +1,64 @@
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 ViolationParam {
- /**
- * 闂绫诲埆锛�1-杩濊 2-杩濆缓锛�
- */
- @ApiModelProperty(value = "闂绫诲埆锛�1-杩濊 2-杩濆缓", dataType = "Integer")
- @NotNull(message = "涓嶅厑璁搁棶棰樼被鍨嬩负绌�")
- private Integer category;
/**
* 澶х被
*/
- @ApiModelProperty(value = "澶х被", dataType = "Integer")
+ @ApiModelProperty(value = "澶х被")
@NotNull(message = "涓嶅厑璁稿ぇ绫讳负绌�")
private Integer categoryId;
/**
+ * 鎶ヨ鏃堕棿
+ */
+ @TableField("alarm_time")
+ private LocalDateTime alarmTime;
+
+ /**
* 灏忕被
*/
- @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 +66,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")
+ @ApiModelProperty(value = "鍏宠仈鍟嗛摵鍚嶇О")
private String 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