package sicura.entities;
// Generated 2-lug-2017 12.20.06 by Hibernate Tools 5.2.3.Final

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;
import javax.persistence.UniqueConstraint;

/**
 * ApAbi generated by hbm2java
 */
@Entity
@Table(name = "AP_ABI", schema = "dbo", uniqueConstraints = @UniqueConstraint(columnNames = "ABI"))
public class ApAbi implements java.io.Serializable {

	private Integer id;
	private String abi;
	private String descri;
	private String tipo;
	private String abiNew;
	private String bic;

	public ApAbi() {
	}

	public ApAbi(String abi, String descri, String tipo, String abiNew, String bic) {
		this.abi = abi;
		this.descri = descri;
		this.tipo = tipo;
		this.abiNew = abiNew;
		this.bic = bic;
	}

	@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 = "ABI", unique = true, length = 5)
	public String getAbi() {
		return this.abi;
	}

	public void setAbi(String abi) {
		this.abi = abi;
	}

	@Column(name = "DESCRI", length = 80)
	public String getDescri() {
		return this.descri;
	}

	public void setDescri(String descri) {
		this.descri = descri;
	}

	@Column(name = "TIPO", length = 1)
	public String getTipo() {
		return this.tipo;
	}

	public void setTipo(String tipo) {
		this.tipo = tipo;
	}

	@Column(name = "ABI_NEW", length = 5)
	public String getAbiNew() {
		return this.abiNew;
	}

	public void setAbiNew(String abiNew) {
		this.abiNew = abiNew;
	}

	@Column(name = "BIC", length = 11)
	public String getBic() {
		return this.bic;
	}

	public void setBic(String bic) {
		this.bic = bic;
	}

}
