From a4cd4c2d98392cd1036f36b96c262878743a7e63 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期四, 05 九月 2024 19:52:22 +0800 Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/sccg_server --- ycl-platform/src/main/java/com/ycl/dto/casePool/ViolationParam.java | 80 +++++++++++++++++++++++++++------------ 1 files changed, 55 insertions(+), 25 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..e99f8e6 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,104 +1,134 @@ 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; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; +import java.util.List; @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") - @NotNull(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") - @NotNull(message = "涓嶅厑璁稿皬绫讳负绌�") + @ApiModelProperty(value = "灏忕被") +// @NotNull(message = "涓嶅厑璁稿皬绫讳负绌�") private Integer typeId; + + /** + * 妗堜欢绛夌骇 + */ + @ApiModelProperty(value = "妗堜欢绛夌骇") +// @NotNull(message = "涓嶅厑璁告浠剁瓑绾т负绌�") + private Long gradeId; /** * 鎵�灞炶閬� */ - @ApiModelProperty(value = "鎵�灞炶閬�", dataType = "Integer") - @NotNull(message = "涓嶅厑璁告墍灞炶閬撲负绌�") + @ApiModelProperty(value = "鎵�灞炶閬�") +// @NotNull(message = "涓嶅厑璁告墍灞炶閬撲负绌�") private Integer streetId; /** * 鎵�灞炵ぞ鍖� */ - @ApiModelProperty(value = "鎵�灞炵ぞ鍖�", dataType = "Integer") - @NotBlank(message = "涓嶅厑璁告墍灞炵ぞ鍖轰负绌�") + @ApiModelProperty(value = "鎵�灞炵ぞ鍖�") +// @NotNull(message = "涓嶅厑璁告墍灞炵ぞ鍖轰负绌�") private Integer communityId; /** * 妗堢敱 */ - @ApiModelProperty(value = "妗堢敱", dataType = "String") - @NotBlank(message = "涓嶅厑璁告鐢变负绌�") + @ApiModelProperty(value = "妗堢敱") +// @NotBlank(message = "涓嶅厑璁告鐢变负绌�") private String actionCause; /** * 鎶ヨ鐐逛綅 浜嬪彂鍦扮偣 */ - @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; + + @ApiModelProperty(value = "鍥剧墖") + private List<String> imageUrls; + + @ApiModelProperty(value = "瑙嗛") + private List<String> videoUrls; } -- Gitblit v1.8.0