package org.bench4q.master.domain.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "planedConfig")
public class PlanedConfig {
	private int id;
	private long warmUp;
	private long executeRange;
	private long coolDown;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", nullable = false)
	public int getId() {
		return id;
	}

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

	@Column(name = "warmUp", nullable = false)
	public long getWarmUp() {
		return warmUp;
	}

	public void setWarmUp(long warmUp) {
		this.warmUp = warmUp;
	}

	@Column(name = "excuteRange", nullable = false)
	public long getExecuteRange() {
		return executeRange;
	}

	public void setExecuteRange(long executeRange) {
		this.executeRange = executeRange;
	}

	@Column(name = "coolDown", nullable = false)
	public long getCoolDown() {
		return coolDown;
	}

	public void setCoolDown(long coolDown) {
		this.coolDown = coolDown;
	}

}
