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(); 
 | 
    } 
 | 
} 
 |