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;

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

	// Fields

	private Integer id;
	private Integer idIp;
	private Integer port;
	private String types;
	private String banner;
	private Integer isIcs;
	private String service;
	private Integer rounds;
	private Timestamp buildDate;

	// Constructors

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

	/** full constructor */
	public PortsinfoClear(Integer idIp, Integer port, String types,
			String banner, Integer isIcs, String service, Integer rounds,
			Timestamp buildDate) {
		this.idIp = idIp;
		this.port = port;
		this.types = types;
		this.banner = banner;
		this.isIcs = isIcs;
		this.service = service;
		this.rounds = rounds;
		this.buildDate = buildDate;
	}

	// 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 = "id_ip", nullable = false)
	public Integer getIdIp() {
		return this.idIp;
	}

	public void setIdIp(Integer idIp) {
		this.idIp = idIp;
	}

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

	public void setPort(Integer port) {
		this.port = port;
	}

	@Column(name = "types", nullable = false, length = 4)
	public String getTypes() {
		return this.types;
	}

	public void setTypes(String types) {
		this.types = types;
	}

	@Column(name = "banner", nullable = false, length = 16777215)
	public String getBanner() {
		return this.banner;
	}

	public void setBanner(String banner) {
		this.banner = banner;
	}

	@Column(name = "is_ics", nullable = false)
	public Integer getIsIcs() {
		return this.isIcs;
	}

	public void setIsIcs(Integer isIcs) {
		this.isIcs = isIcs;
	}

	@Column(name = "service", nullable = false, length = 30)
	public String getService() {
		return this.service;
	}

	public void setService(String service) {
		this.service = service;
	}

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

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

	@Column(name = "build_date", nullable = false, length = 19)
	public Timestamp getBuildDate() {
		return this.buildDate;
	}

	public void setBuildDate(Timestamp buildDate) {
		this.buildDate = buildDate;
	}

}