wu
2024-04-23 2a3c60f0712c3039accf3be35cc8a97e499d09fd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package com.example.springboot.entity;
 
import java.util.Date;
//报警信息表
public class alarmmg {
  private Integer id;//自增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;
  }
 
}