wu
2023-11-30 dc31792dc1b8ad1658e49ba8fce9a1be924e6fbb
springboot-vue3/src/main/java/com/example/springboot/entity/alarmmg.java
New file
@@ -0,0 +1,57 @@
package com.example.springboot.entity;
import java.util.Date;
public class alarmmg {
  private Integer id;
  private String content;
  private Date timeon;
  private Date endTime;
  private String timeons;
  // 自增id
  public void setid(Integer id) {
    this.id = id;
  }
  public Integer getid() {
    return id;
  }
  // 报警内容
  public void setontent(String content) {
    this.content = content;
  }
  public String getcontent() {
    return content;
  }
  // 报警开始时间
  public void settimeon(Date timeon) {
    this.timeon = timeon;
  }
  public Date gettimeon() {
    return timeon;
  }
  // 报警结束时间
  public void setendTime(Date endTime) {
    this.endTime = endTime;
  }
  public Date getendTime() {
    return endTime;
  }
  public void settimeons(String timeons) {
    this.timeons = timeons;
  }
  public String gettimeons() {
    return timeons;
  }
}