/**
 * 
 */
package cz.hsrs.rest.beans;

/**
 * @author mkepka
 *
 */
public class LastObsTimestampBean {
	
	public int groupId;
	public String groupName;
	public long unitId;
	public String unitName;
	public long sensorId;
	public String sensorName;
	public String lastTimest;

	public LastObsTimestampBean() {
		super();
	}

	/**
	 * @param groupId
	 * @param groupName
	 * @param unitId
	 * @param description
	 * @param sensorId
	 * @param sensorName
	 * @param lastTimest
	 */
	public LastObsTimestampBean(int groupId, String groupName, long unitId, String description, long sensorId,
			String sensorName, String lastTimest) {
		this.groupId = groupId;
		this.groupName = groupName;
		this.unitId = unitId;
		this.unitName = description;
		this.sensorId = sensorId;
		this.sensorName = sensorName;
		this.lastTimest = lastTimest;
	}

	/**
	 * @param unitId
	 * @param description
	 * @param sensorId
	 * @param sensorName
	 * @param lastTimest
	 */
	public LastObsTimestampBean(long unitId, String description, long sensorId, String sensorName, String lastTimest) {
		this.unitId = unitId;
		this.unitName = description;
		this.sensorId = sensorId;
		this.sensorName = sensorName;
		this.lastTimest = lastTimest;
	}

	@Override
	public String toString() {
		return "[groupId=" + groupId + ", groupName=" + groupName + ", unitId=" + unitId + ", unitName="
				+ unitName + ", sensorId=" + sensorId + ", sensorName=" + sensorName + ", lastTimest=" + lastTimest
				+ "]";
	}	
}