lizijie
2022-08-15 d0857416b2d72cac3b5b3cac449907c66feac737
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package com.moral.entity;
 
public class Sensor {
    private Integer id;
 
    private String name;
 
    private String sensorKey;
 
    private Double upper;
 
    private Double lower;
 
    private String unit;
 
    private String description;
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }
 
    public String getSensorKey() {
        return sensorKey;
    }
 
    public void setSensorKey(String sensorKey) {
        this.sensorKey = sensorKey == null ? null : sensorKey.trim();
    }
 
    public Double getUpper() {
        return upper;
    }
 
    public void setUpper(Double upper) {
        this.upper = upper;
    }
 
    public Double getLower() {
        return lower;
    }
 
    public void setLower(Double lower) {
        this.lower = lower;
    }
 
    public String getUnit() {
        return unit;
    }
 
    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }
 
    public String getDescription() {
        return description;
    }
 
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }
}