/**
 * 
 */
package com.rjconsultores.ventaboletos.entidad;

import java.io.Serializable;

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

/**
 * @author valdir.cordeiro
 *
 */
@Entity
@SequenceGenerator(name = "HEADER_ESQUEMA_CORRIDA_SEQ", sequenceName = "HEADER_ESQUEMA_CORRIDA_SEQ", allocationSize = 1)
@Table(name = "HEADER_ESQUEMA_CORRIDA")
public class HeaderTabelaEsquemaCorrida implements Serializable{

	private static final long serialVersionUID = 1L;
	@Id
	@Basic(optional = false)
	@Column(name = "HEADERESQUEMACORRIDA_ID")
	@GeneratedValue(strategy = GenerationType.AUTO, generator = "HEADER_ESQUEMA_CORRIDA_SEQ")
	private Integer headerEsquemaCorridaId;
	
	@Column(name = "SEQUENCIA_HEADER")
	private String sequenciaHeader;

	public HeaderTabelaEsquemaCorrida() {
		super();
	}

	public HeaderTabelaEsquemaCorrida(int id, String sequencia) {
		this.headerEsquemaCorridaId = id;
		this.sequenciaHeader = sequencia;
	}

	public Integer getHeaderEsquemaCorridaId() {
		return headerEsquemaCorridaId;
	}

	public void setHeaderEsquemaCorridaId(Integer headerEsquemaCorridaId) {
		this.headerEsquemaCorridaId = headerEsquemaCorridaId;
	}

	public String getSequenciaHeader() {
		return sequenciaHeader;
	}

	public void setSequenciaHeader(String sequenciaHeader) {
		this.sequenciaHeader = sequenciaHeader;
	}
}
