package com.massacre.garden.server.dto;

/**
 *
 * @author cquezada
 */
public class SensorDTO {
    
    private Long id;
    
    public SensorDTO(){}
    
    public SensorDTO(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("Sensor [");
        builder.append("getId=").append(getId());
        builder.append(", id=").append(id);
        builder.append("]");
        return builder.toString();
    }
        
}
