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;

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

	// Fields

	private Integer id;
	private String regname;
	private Integer ipNumDone;
	private Integer ipNumTotal;
	private Integer ipNumExist;
	private Integer rounds;
	private Timestamp updateTime;

	// Constructors

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

	/** full constructor */
	public RegnameProgress(String regname, Integer ipNumDone,
			Integer ipNumTotal, Integer ipNumExist, Integer rounds,
			Timestamp updateTime) {
		this.regname = regname;
		this.ipNumDone = ipNumDone;
		this.ipNumTotal = ipNumTotal;
		this.ipNumExist = ipNumExist;
		this.rounds = rounds;
		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 = "regname", nullable = false, length = 50)
	public String getRegname() {
		return this.regname;
	}

	public void setRegname(String regname) {
		this.regname = regname;
	}

	@Column(name = "ip_num_done", nullable = false)
	public Integer getIpNumDone() {
		return this.ipNumDone;
	}

	public void setIpNumDone(Integer ipNumDone) {
		this.ipNumDone = ipNumDone;
	}

	@Column(name = "ip_num_total", nullable = false)
	public Integer getIpNumTotal() {
		return this.ipNumTotal;
	}

	public void setIpNumTotal(Integer ipNumTotal) {
		this.ipNumTotal = ipNumTotal;
	}

	@Column(name = "ip_num_exist", nullable = false)
	public Integer getIpNumExist() {
		return this.ipNumExist;
	}

	public void setIpNumExist(Integer ipNumExist) {
		this.ipNumExist = ipNumExist;
	}

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

	public void setRounds(Integer rounds) {
		this.rounds = rounds;
	}

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

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

}