package com.jasamedika.medifirst2000.vo;

import javax.persistence.Column;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.validation.constraints.NotNull;

import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 *  class Rekanan
 * 
 * @author Generator
 */
public class RekananVO extends BaseMasterVO {
	
	@Caption(value="AlamatVO Lengkap")
	private String alamatLengkap;

	public void setAlamatLengkap(String alamatLengkap) {
		this.alamatLengkap = alamatLengkap;
	}

	@Column(name = "AlamatLengkap", nullable = true , length = 200)
	public String getAlamatLengkap(){
		return this.alamatLengkap;
	}

	@Caption(value="Bank Rekening Atas Nama")
	private String bankRekeningAtasNama;

	public void setBankRekeningAtasNama(String bankRekeningAtasNama) {
		this.bankRekeningAtasNama = bankRekeningAtasNama;
	}

	@Column(name = "BankRekeningAtasNama", nullable = true , length = 75)
	public String getBankRekeningAtasNama(){
		return this.bankRekeningAtasNama;
	}

	@Caption(value="Bank Rekening Nama")
	private String bankRekeningNama;

	public void setBankRekeningNama(String bankRekeningNama) {
		this.bankRekeningNama = bankRekeningNama;
	}

	@Column(name = "BankRekeningNama", nullable = true , length = 50)
	public String getBankRekeningNama(){
		return this.bankRekeningNama;
	}

	@Caption(value="Bank Rekening Nomor")
	private String bankRekeningNomor;

	public void setBankRekeningNomor(String bankRekeningNomor) {
		this.bankRekeningNomor = bankRekeningNomor;
	}

	@Column(name = "BankRekeningNomor", nullable = true , length = 30)
	public String getBankRekeningNomor(){
		return this.bankRekeningNomor;
	}

	@Caption(value="Contact Person")
	private String contactPerson;

	public void setContactPerson(String contactPerson) {
		this.contactPerson = contactPerson;
	}

	@Column(name = "ContactPerson", nullable = true , length = 50)
	public String getContactPerson(){
		return this.contactPerson;
	}

	@Caption(value="Desa Kelurahan")
	private String namaDesaKelurahan;

	
	@Column(name = "DesaKelurahan", nullable = true , length = 50)
	public String getNamaDesaKelurahan() {
		return namaDesaKelurahan;
	}

	public void setNamaDesaKelurahan(String namaDesaKelurahan) {
		this.namaDesaKelurahan = namaDesaKelurahan;
	}

	@Caption(value="Email")
	private String email;

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "Email", nullable = true , length = 50)
	public String getEmail(){
		return this.email;
	}

	@Caption(value="Faksimile")
	private String faksimile;

	public void setFaksimile(String faksimile) {
		this.faksimile = faksimile;
	}

	@Column(name = "Faksimile", nullable = true , length = 30)
	public String getFaksimile(){
		return this.faksimile;
	}

	@ManyToOne
	@JoinColumn(name = "ObjectAccountFk")
	@Caption(value="Object Account")
	private ChartOfAccountVO account;

	public void setAccount(ChartOfAccountVO account) {
		this.account = account;
	}

	@Column(name = "KdAccount", nullable = true )
	public ChartOfAccountVO getAccount(){
		return this.account;
	}

	@Column(name = "ObjectAccountFk", insertable=false,updatable=false)
	private Integer accountId;

	@ManyToOne
	@JoinColumn(name = "ObjectDesaKelurahanFk")
	@Caption(value="Object Desa Kelurahan")
	private DesaKelurahanVO desaKelurahan;

	public void setDesaKelurahan(DesaKelurahanVO desaKelurahan) {
		this.desaKelurahan = desaKelurahan;
	}

	@Column(name = "KdDesaKelurahan", nullable = true )
	public DesaKelurahanVO getDesaKelurahan(){
		return this.desaKelurahan;
	}

	@Column(name = "ObjectDesaKelurahanFk", insertable=false,updatable=false)
	private Integer desaKelurahanId;

	@ManyToOne
	@JoinColumn(name = "ObjectJenisRekananFk")
	@NotNull(message="Object Jenis RekananVO Harus Diisi")
	@Caption(value="Object Jenis Rekanan")
	private JenisRekananVO jenisRekanan;

	public void setJenisRekanan(JenisRekananVO jenisRekanan) {
		this.jenisRekanan = jenisRekanan;
	}

	@Column(name = "KdJenisRekanan", nullable = false )
	public JenisRekananVO getJenisRekanan(){
		return this.jenisRekanan;
	}

	@Column(name = "ObjectJenisRekananFk", insertable=false,updatable=false)
	private Integer jenisRekananId;

	@ManyToOne
	@JoinColumn(name = "ObjectKecamatanFk")
	@Caption(value="Object Kecamatan")
	private KecamatanVO kecamatan;

	public void setKecamatan(KecamatanVO kecamatan) {
		this.kecamatan = kecamatan;
	}

	@Column(name = "KdKecamatan", nullable = true )
	public KecamatanVO getKecamatan(){
		return this.kecamatan;
	}

	@Column(name = "ObjectKecamatanFk", insertable=false,updatable=false)
	private Integer kecamatanId;

	@ManyToOne
	@JoinColumn(name = "ObjectKotaKabupatenFk")
	@Caption(value="Object Kota Kabupaten")
	private KotaKabupatenVO kotaKabupaten;

	public void setKotaKabupaten(KotaKabupatenVO kotaKabupaten) {
		this.kotaKabupaten = kotaKabupaten;
	}

	@Column(name = "KdKotaKabupaten", nullable = true )
	public KotaKabupatenVO getKotaKabupaten(){
		return this.kotaKabupaten;
	}

	@Column(name = "ObjectKotaKabupatenFk", insertable=false,updatable=false)
	private Integer kotaKabupatenId;

	@ManyToOne
	@JoinColumn(name = "ObjectPegawaiFk")
	@Caption(value="Object Pegawai")
	private PegawaiVO pegawai;

	public void setPegawai(PegawaiVO pegawai) {
		this.pegawai = pegawai;
	}

	@Column(name = "KdPegawai", nullable = true , length = 5)
	public PegawaiVO getPegawai(){
		return this.pegawai;
	}

	@Column(name = "ObjectPegawaiFk", insertable=false,updatable=false)
	private Integer pegawaiId;

	@ManyToOne
	@JoinColumn(name = "ObjectPropinsiFk")
	@Caption(value="Object Propinsi")
	private PropinsiVO propinsi;

	public void setPropinsi(PropinsiVO propinsi) {
		this.propinsi = propinsi;
	}

	@Column(name = "KdPropinsi", nullable = true )
	public PropinsiVO getPropinsi(){
		return this.propinsi;
	}

	@Column(name = "ObjectPropinsiFk", insertable=false,updatable=false)
	private Integer propinsiId;

	@Caption(value="Kode Rekanan")
	private short kdRekanan;

	public void setKdRekanan(short kdRekanan) {
		this.kdRekanan = kdRekanan;
	}

	@Column(name = "KdRekanan", nullable = false )
	public short getKdRekanan(){
		return this.kdRekanan;
	}

	@ManyToOne
	@JoinColumn(name = "ObjectRekananHeadFk")
	@Caption(value="Object RekananVO Head")
	private RekananVO rekananHead;

	public void setRekananHead(RekananVO rekananHead) {
		this.rekananHead = rekananHead;
	}

	@Column(name = "KdRekananHead", nullable = true )
	public RekananVO getRekananHead(){
		return this.rekananHead;
	}

	@Column(name = "ObjectRekananHeadFk", insertable=false,updatable=false)
	private Integer rekananHeadId;

	@Caption(value="Kecamatan")
	private String namaKecamatan;


	public String getNamaKecamatan() {
		return namaKecamatan;
	}

	public void setNamaKecamatan(String namaKecamatan) {
		this.namaKecamatan = namaKecamatan;
	}

	@Caption(value="Kode Pos")
	private String kodePos;

	public void setKdPos(String kodePos) {
		this.kodePos = kodePos;
	}

	@Column(name = "KodePos", nullable = true , length = 10)
	public String getKdPos(){
		return this.kodePos;
	}

	@Caption(value="Kota Kabupaten")
	private String namaKotaKabupaten;

	@Column(name = "KotaKabupaten", nullable = true , length = 50)
	public String getNamaKotaKabupaten() {
		return namaKotaKabupaten;
	}

	public void setNamaKotaKabupaten(String namaKotaKabupaten) {
		this.namaKotaKabupaten = namaKotaKabupaten;
	}

	@Caption(value="Nama Rekanan")
	private String namaRekanan;

	public void setNamaRekanan(String namaRekanan) {
		this.namaRekanan = namaRekanan;
	}

	@Column(name = "NamaRekanan", nullable = false , length = 75)
	public String getNamaRekanan(){
		return this.namaRekanan;
	}

	@Caption(value="No P K P")
	private String noPKP;

	public void setNoPKP(String noPKP) {
		this.noPKP = noPKP;
	}

	@Column(name = "NoPKP", nullable = true , length = 40)
	public String getNoPKP(){
		return this.noPKP;
	}

	@Caption(value="NP W P")
	private String nPWP;

	public void setNPWP(String nPWP) {
		this.nPWP = nPWP;
	}

	@Column(name = "NPWP", nullable = true , length = 30)
	public String getNPWP(){
		return this.nPWP;
	}

	@Caption(value="QRekanan")
	private short qRekanan;

	public void setqRekanan(short qRekanan) {
		this.qRekanan = qRekanan;
	}

	@Column(name = "QRekanan", nullable = false )
	public short getqRekanan(){
		return this.qRekanan;
	}

	@Caption(value="RT R W")
	private String rTRW;

	public void setRTRW(String rTRW) {
		this.rTRW = rTRW;
	}

	@Column(name = "RTRW", nullable = true , length = 7)
	public String getRTRW(){
		return this.rTRW;
	}

	@Caption(value="Telepon")
	private String telepon;

	public void setTelepon(String telepon) {
		this.telepon = telepon;
	}

	@Column(name = "Telepon", nullable = true , length = 30)
	public String getTelepon(){
		return this.telepon;
	}

	@Caption(value="Website")
	private String website;

	public void setWebsite(String website) {
		this.website = website;
	}

	@Column(name = "Website", nullable = true , length = 50)
	public String getWebsite(){
		return this.website;
	}

	public Integer getAccountId() {
		return accountId;
	}

	public void setAccountId(Integer accountId) {
		this.accountId = accountId;
	}

	public Integer getDesaKelurahanId() {
		return desaKelurahanId;
	}

	public void setDesaKelurahanId(Integer desaKelurahanId) {
		this.desaKelurahanId = desaKelurahanId;
	}

	public Integer getJenisRekananId() {
		return jenisRekananId;
	}

	public void setJenisRekananId(Integer jenisRekananId) {
		this.jenisRekananId = jenisRekananId;
	}

	public Integer getKecamatanId() {
		return kecamatanId;
	}

	public void setKecamatanId(Integer kecamatanId) {
		this.kecamatanId = kecamatanId;
	}

	public Integer getKotaKabupatenId() {
		return kotaKabupatenId;
	}

	public void setKotaKabupatenId(Integer kotaKabupatenId) {
		this.kotaKabupatenId = kotaKabupatenId;
	}

	public Integer getPegawaiId() {
		return pegawaiId;
	}

	public void setPegawaiId(Integer pegawaiId) {
		this.pegawaiId = pegawaiId;
	}

	public Integer getPropinsiId() {
		return propinsiId;
	}

	public void setPropinsiId(Integer propinsiId) {
		this.propinsiId = propinsiId;
	}

	public Integer getRekananHeadId() {
		return rekananHeadId;
	}

	public void setRekananHeadId(Integer rekananHeadId) {
		this.rekananHeadId = rekananHeadId;
	}

	public String getKodePos() {
		return kodePos;
	}

	public void setKodePos(String kodePos) {
		this.kodePos = kodePos;
	}

	public String getnPWP() {
		return nPWP;
	}

	public void setnPWP(String nPWP) {
		this.nPWP = nPWP;
	}

	public String getrTRW() {
		return rTRW;
	}

	public void setrTRW(String rTRW) {
		this.rTRW = rTRW;
	}
	
}

