package com.ps.visualization.vo;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ScanSpeed entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "scan_speed", catalog = "global_scan_all")
public class ScanSpeed implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer num;
	private Float time;
	private Integer endTime;
	private Timestamp updateTime;

	// Constructors

	/** default constructor */
	public ScanSpeed() {
	}

	/** full constructor */
	public ScanSpeed(Integer num, Float time, Integer endTime,
			Timestamp updateTime) {
		this.num = num;
		this.time = time;
		this.endTime = endTime;
		this.updateTime = updateTime;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

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

	@Column(name = "num", nullable = false)
	public Integer getNum() {
		return this.num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	@Column(name = "time", nullable = false, precision = 12, scale = 0)
	public Float getTime() {
		return this.time;
	}

	public void setTime(Float time) {
		this.time = time;
	}

	@Column(name = "end_time", nullable = false)
	public Integer getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Integer endTime) {
		this.endTime = endTime;
	}

	@Column(name = "update_time", nullable = false, length = 19)
	public Timestamp getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

}