燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2024-12-02 453e3471e94b91169beec1e258a06a132d927011
src/main/java/com/yssh/entity/WarningDetail.java
@@ -6,32 +6,102 @@
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="报警/预警对象", description="报警/预警对象")
public class WarningDetail implements Serializable{
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 = "主键")
   private Long id;
   @ApiModelProperty(value = "溯源数据表名")
   private String tableName;
   @ApiModelProperty(value = "溯源数据编号")
   private String suYuanId;
   @ApiModelProperty(value = "点位名称")
   private String locationName;;
   private String locationName;
   @ApiModelProperty(value = "时间")
   private Date createTime;
   @ApiModelProperty(value = "类型")
   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;
   }
}