From 1d1b21f7f9416dc6a350dc83506364bb822e9e1c Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 27 四月 2023 13:50:08 +0800 Subject: [PATCH] 1 --- src/main/java/com/yssh/entity/WarningDetail.java | 71 ++++++++++++++++++++++++++++++++++- 1 files changed, 68 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/yssh/entity/WarningDetail.java b/src/main/java/com/yssh/entity/WarningDetail.java index f2e2e71..b30abec 100644 --- a/src/main/java/com/yssh/entity/WarningDetail.java +++ b/src/main/java/com/yssh/entity/WarningDetail.java @@ -13,10 +13,20 @@ @Data @ToString -@NoArgsConstructor -@AllArgsConstructor @ApiModel(value="鎶ヨ/棰勮瀵硅薄", description="鎶ヨ/棰勮瀵硅薄") public class WarningDetail implements Serializable{ + public WarningDetail() { + } + + public WarningDetail(Long id, String tableName, String suYuanId, String locationName, Date createTime, Integer type, Double value) { + this.id = id; + this.tableName = tableName; + this.suYuanId = suYuanId; + this.locationName = locationName; + this.createTime = createTime; + this.type = type; + this.value = value; + } private static final long serialVersionUID = 1610250573910282005L; @ApiModelProperty(value = "涓婚敭") @@ -33,5 +43,60 @@ private Integer type; @ApiModelProperty(value = "鏁板��") private Double value; - + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getTableName() { + return tableName; + } + + public void setTableName(String tableName) { + this.tableName = tableName; + } + + public String getSuYuanId() { + return suYuanId; + } + + public void setSuYuanId(String suYuanId) { + this.suYuanId = suYuanId; + } + + public String getLocationName() { + return locationName; + } + + public void setLocationName(String locationName) { + this.locationName = locationName; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public Double getValue() { + return value; + } + + public void setValue(Double value) { + this.value = value; + } } -- Gitblit v1.9.3