package com.tandbergtv.workflow.sanmanager.entities;

import java.io.Serializable;
import java.util.Date;

public class SANDriveHistory implements Cloneable, Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6581079612659568235L;
	
	private static final int DEFAULT_ID = -1;

	private long sanDriveID = DEFAULT_ID;
	
	private long id = DEFAULT_ID;
	
	private long usedBytes = 0;
	
	private long capacity = 0;
	
	private int warningThresholdPercent = 0;
	
	private int errorThresholdPercent = 0;
	
	private DriveStatus status;
	
	private Date sampleDate = null;

	public long getCapacity() {
		return capacity;
	}

	public void setCapacity(long capacity) {
		this.capacity = capacity;
	}

	public int getErrorThresholdPercent() {
		return errorThresholdPercent;
	}

	public void setErrorThresholdPercent(int errorThresholdPercent) {
		this.errorThresholdPercent = errorThresholdPercent;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getSanDriveID() {
		return sanDriveID;
	}

	public void setSanDriveID(long sanDriveID) {
		this.sanDriveID = sanDriveID;
	}

	public DriveStatus getStatus() {
		return status;
	}

	public void setStatus(DriveStatus status) {
		this.status = status;
	}

	public int getWarningThresholdPercent() {
		return warningThresholdPercent;
	}

	public void setWarningThresholdPercent(int warningThresholdPercent) {
		this.warningThresholdPercent = warningThresholdPercent;
	}

	public long getUsedBytes() {
		return usedBytes;
	}

	public void setUsedBytes(long usedBytes) {
		this.usedBytes = usedBytes;
	}

	public Date getSampleDate() {
		return sampleDate;
	}

	public void setSampleDate(Date sampleDate) {
		this.sampleDate = sampleDate;
	}
	
}