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;

/**
 * ApCab generated by hbm2java
 */
@Entity
@Table(name = "AP_CAB", schema = "dbo")
public class ApCab implements java.io.Serializable {

	private Integer id;
	private String abi;
	private String cab;
	private String agenzia;
	private String indir;
	private String localita;
	private String comune;
	private String prov;
	private String cap;
	private String bic;

	public ApCab() {
	}

	public ApCab(String abi, String cab, String agenzia, String indir, String localita, String comune, String prov,
			String cap, String bic) {
		this.abi = abi;
		this.cab = cab;
		this.agenzia = agenzia;
		this.indir = indir;
		this.localita = localita;
		this.comune = comune;
		this.prov = prov;
		this.cap = cap;
		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", length = 5)
	public String getAbi() {
		return this.abi;
	}

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

	@Column(name = "CAB", length = 5)
	public String getCab() {
		return this.cab;
	}

	public void setCab(String cab) {
		this.cab = cab;
	}

	@Column(name = "AGENZIA", length = 40)
	public String getAgenzia() {
		return this.agenzia;
	}

	public void setAgenzia(String agenzia) {
		this.agenzia = agenzia;
	}

	@Column(name = "INDIR", length = 80)
	public String getIndir() {
		return this.indir;
	}

	public void setIndir(String indir) {
		this.indir = indir;
	}

	@Column(name = "LOCALITA", length = 40)
	public String getLocalita() {
		return this.localita;
	}

	public void setLocalita(String localita) {
		this.localita = localita;
	}

	@Column(name = "COMUNE", length = 40)
	public String getComune() {
		return this.comune;
	}

	public void setComune(String comune) {
		this.comune = comune;
	}

	@Column(name = "PROV", length = 2)
	public String getProv() {
		return this.prov;
	}

	public void setProv(String prov) {
		this.prov = prov;
	}

	@Column(name = "CAP", length = 5)
	public String getCap() {
		return this.cap;
	}

	public void setCap(String cap) {
		this.cap = cap;
	}

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

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

}
