From 7fc6a36e9e336554a15e3d6c13d04dad0300cbc1 Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期五, 30 九月 2022 11:25:25 +0800 Subject: [PATCH] 细节调整 --- ycl-platform/src/main/java/com/ycl/dto/casePool/IllegalBuildingParam.java | 44 ++++++++++++++++++++++---------------------- 1 files changed, 22 insertions(+), 22 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..ab813c5 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,118 @@ package com.ycl.dto.casePool; +import com.baomidou.mybatisplus.annotation.TableField; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotBlank; -import javax.validation.constraints.NotNull; +import java.time.LocalDateTime; @Data public class IllegalBuildingParam { - /** - * 闂绫诲埆锛�1-杩濊 2-杩濆缓锛� - */ - @ApiModelProperty(value = "闂绫诲埆锛�1-杩濊 2-杩濆缓", dataType = "Integer") - @NotNull(message = "涓嶅厑璁搁棶棰樼被鍨嬩负绌�") - private Integer category; /** * 杩濆缓绫诲埆 */ - @ApiModelProperty(value = "杩濆缓绫诲埆", dataType = "Integer") + @ApiModelProperty(value = "杩濆缓绫诲埆") @NotBlank(message = "涓嶅厑璁歌繚寤虹被鍒负绌�") private Integer categoryId; /** + * 鎶ヨ鏃堕棿 + */ + @TableField("alarm_time") + private LocalDateTime alarmTime; + + /** * 鎵�灞炵ぞ鍖� */ - @ApiModelProperty(value = "鎵�灞炵ぞ鍖�", dataType = "Integer") + @ApiModelProperty(value = "鎵�灞炵ぞ鍖�") @NotBlank(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") + @ApiModelProperty(value = "杩濆缓闀�") @NotBlank(message = "涓嶅厑璁歌繚寤洪暱涓虹┖") private Float buildingLength; /** * 杩濆缓瀹� */ - @ApiModelProperty(value = "杩濆缓瀹�", dataType = "String") + @ApiModelProperty(value = "杩濆缓瀹�") @NotBlank(message = "涓嶅厑璁歌繚寤哄涓虹┖") private Float buildingWidth; /** * 杩濆缓楂� */ - @ApiModelProperty(value = "杩濆缓楂�", dataType = "String") + @ApiModelProperty(value = "杩濆缓楂�") @NotBlank(message = "涓嶅厑璁歌繚寤洪珮涓虹┖") private Float buildingHigh; /** * 杩濆缓闈㈢Н */ - @ApiModelProperty(value = "杩濆缓闈㈢Н", dataType = "String") + @ApiModelProperty(value = "杩濆缓闈㈢Н") @NotBlank(message = "涓嶅厑璁歌繚寤洪潰绉负绌�") private Float buildingArea; /** * 杩濆缓鏉愭枡 */ - @ApiModelProperty(value = "杩濆缓鏉愭枡", dataType = "String") + @ApiModelProperty(value = "杩濆缓鏉愭枡") @NotBlank(message = "涓嶅厑璁歌繚寤烘潗鏂欎负绌�") private String materials; } -- Gitblit v1.8.0