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;

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

	private Integer id;
	private String keyIbanCountryCode;
	private String keyUniqueIbanNationalId;
	private String ibanBicCode;
	private String ibanBranchCode;

	public SepaIbanBic() {
	}

	public SepaIbanBic(String keyIbanCountryCode, String keyUniqueIbanNationalId, String ibanBicCode,
			String ibanBranchCode) {
		this.keyIbanCountryCode = keyIbanCountryCode;
		this.keyUniqueIbanNationalId = keyUniqueIbanNationalId;
		this.ibanBicCode = ibanBicCode;
		this.ibanBranchCode = ibanBranchCode;
	}

	@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 = "KEY_IBAN_COUNTRY_CODE", length = 2)
	public String getKeyIbanCountryCode() {
		return this.keyIbanCountryCode;
	}

	public void setKeyIbanCountryCode(String keyIbanCountryCode) {
		this.keyIbanCountryCode = keyIbanCountryCode;
	}

	@Column(name = "KEY_UNIQUE_IBAN_NATIONAL_ID", length = 15)
	public String getKeyUniqueIbanNationalId() {
		return this.keyUniqueIbanNationalId;
	}

	public void setKeyUniqueIbanNationalId(String keyUniqueIbanNationalId) {
		this.keyUniqueIbanNationalId = keyUniqueIbanNationalId;
	}

	@Column(name = "IBAN_BIC_CODE", length = 8)
	public String getIbanBicCode() {
		return this.ibanBicCode;
	}

	public void setIbanBicCode(String ibanBicCode) {
		this.ibanBicCode = ibanBicCode;
	}

	@Column(name = "IBAN_BRANCH_CODE", length = 3)
	public String getIbanBranchCode() {
		return this.ibanBranchCode;
	}

	public void setIbanBranchCode(String ibanBranchCode) {
		this.ibanBranchCode = ibanBranchCode;
	}

}
