package com.jasamedika.medifirst2000.entities;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.validation.constraints.NotNull;

import com.jasamedika.medifirst2000.base.BaseModel;




/*@Entity //@Audited
@Table(name = "Profile_M")*/
public class ProfileM extends BaseModel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6980399585889512198L;
	
	@NotNull(message="Kd Profile tidak boleh kosong")
	@Column(name = "KdProfile", unique = true, nullable = false)
	private short kdProfile;

	@NotNull(message="Nama Lengkap tidak boleh kosong")
	@Column(name = "NamaLengkap", nullable = false, length = 100)
	private String namaLengkap;

	@NotNull(message="Report Display tidak boleh kosong")
	@Column(name = "ReportDisplay", nullable = false, length = 100)
	private String reportDisplay;

	@Column(name = "KdKelasLevel", length = 2)
	private String kdKelasLevel;

	@Column(name = "KdTahapanAkreditasiLast")
	private Byte kdTahapanAkreditasiLast;

	@Column(name = "KdStatusAkreditasiLast")
	private Byte kdStatusAkreditasiLast;

	@Column(name = "AlamatLengkap", length = 200)
	private String alamatLengkap;

	@Column(name = "KdDesaKelurahan")
	private Integer kdDesaKelurahan;

	@Column(name = "RTRW", length = 7)
	private String rtrw;

	@Column(name = "KdKecamatan")
	private Integer kdKecamatan;

	@Column(name = "KdKotaKabupaten")
	private Short kdKotaKabupaten;

	@Column(name = "KdPropinsi")
	private Byte kdPropinsi;
	@Column(name = "KodePos", length = 10)

	private String kodePos;
	@Column(name = "FixedPhone", length = 30)

	private String fixedPhone;
	@Column(name = "MobilePhone", length = 30)

	private String mobilePhone;
	@Column(name = "Faksimile", length = 30)

	private String faksimile;
	@Column(name = "MottoSemboyan", length = 100)

	private String mottoSemboyan;
	@Column(name = "AlamatEmail", length = 50)

	private String alamatEmail;
	@Column(name = "Website", length = 80)

	private String website;
	@Column(name = "KdPegawaiKepala", length = 5)

	private String kdPegawaiKepala;
	@NotNull(message="Message To Pasien tidak boleh kosong")
	@Column(name = "MessageToPasien", nullable = false, length = 150)

	private String messageToPasien;
	@Column(name = "GambarLogo", length = 100)

	private String gambarLogo;
	@Column(name = "KdDepartemen", length = 1)

	private Character kdDepartemen;
	@Column(name = "NPWP", length = 30)

	private String npwp;
	@Column(name = "NoPKP", length = 40)

	private String noPkp;
	@Column(name = "KdAccount")

	private Integer kdAccount;
	@NotNull(message="Kd Jenis Profile tidak boleh kosong")
	@Column(name = "KdJenisProfile", nullable = false)

	private byte kdJenisProfile;
	@Column(name = "KdPemilikProfile")

	private Byte kdPemilikProfile;
	@Column(name = "NoSuratIjinLast", length = 20)

	private String noSuratIjinLast;
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "TglSuratIjinLast", length = 16)

	private Date tglSuratIjinLast;
	@Column(name = "SignatureByLast", length = 30)

	private String signatureByLast;
	@Column(name = "KdStatusSuratIjinLast")

	private Byte kdStatusSuratIjinLast;
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "TglSuratIjinExpiredLast", length = 16)

	private Date tglSuratIjinExpiredLast;
	@NotNull(message="Kd Satuan Kerja tidak boleh kosong")
	@Column(name = "KdSatuanKerja", nullable = false)

	private byte kdSatuanKerja;
	@Column(name = "KdJenisTarif")

	private Byte kdJenisTarif;
	@NotNull(message="QProfile tidak boleh kosong")
	@Column(name = "QProfile", nullable = false)

	private byte qprofile;
	@Column(name = "KodeExternal", length = 15)

	private String kodeExternal;
	@Column(name = "NamaExternal", length = 100)

	private String namaExternal;
	@NotNull(message="Status Enabled tidak boleh kosong")
	@Column(name = "StatusEnabled", nullable = false)

	private byte statusEnabled;
	@NotNull(message="Kd History Login I tidak boleh kosong")
	@Column(name = "KdHistoryLoginI", nullable = false)

	private int kdHistoryLoginI;
	@Column(name = "KdHistoryLoginU")

	private Integer kdHistoryLoginU;
	public short getKdProfile() {
		return kdProfile;
	}

	public void setKdProfile(short kdProfile) {
		this.kdProfile = kdProfile;
	}

	public String getNamaLengkap() {
		return namaLengkap;
	}

	public void setNamaLengkap(String namaLengkap) {
		this.namaLengkap = namaLengkap;
	}

	public String getReportDisplay() {
		return reportDisplay;
	}

	public void setReportDisplay(String reportDisplay) {
		this.reportDisplay = reportDisplay;
	}

	public String getKdKelasLevel() {
		return kdKelasLevel;
	}

	public void setKdKelasLevel(String kdKelasLevel) {
		this.kdKelasLevel = kdKelasLevel;
	}

	public Byte getKdTahapanAkreditasiLast() {
		return kdTahapanAkreditasiLast;
	}

	public void setKdTahapanAkreditasiLast(Byte kdTahapanAkreditasiLast) {
		this.kdTahapanAkreditasiLast = kdTahapanAkreditasiLast;
	}

	public Byte getKdStatusAkreditasiLast() {
		return kdStatusAkreditasiLast;
	}

	public void setKdStatusAkreditasiLast(Byte kdStatusAkreditasiLast) {
		this.kdStatusAkreditasiLast = kdStatusAkreditasiLast;
	}

	public String getAlamatLengkap() {
		return alamatLengkap;
	}

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

	public Integer getKdDesaKelurahan() {
		return kdDesaKelurahan;
	}

	public void setKdDesaKelurahan(Integer kdDesaKelurahan) {
		this.kdDesaKelurahan = kdDesaKelurahan;
	}

	public String getRtrw() {
		return rtrw;
	}

	public void setRtrw(String rtrw) {
		this.rtrw = rtrw;
	}

	public Integer getKdKecamatan() {
		return kdKecamatan;
	}

	public void setKdKecamatan(Integer kdKecamatan) {
		this.kdKecamatan = kdKecamatan;
	}

	public Short getKdKotaKabupaten() {
		return kdKotaKabupaten;
	}

	public void setKdKotaKabupaten(Short kdKotaKabupaten) {
		this.kdKotaKabupaten = kdKotaKabupaten;
	}

	public Byte getKdPropinsi() {
		return kdPropinsi;
	}

	public void setKdPropinsi(Byte kdPropinsi) {
		this.kdPropinsi = kdPropinsi;
	}

	public String getKdPos() {
		return kodePos;
	}

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

	public String getFixedPhone() {
		return fixedPhone;
	}

	public void setFixedPhone(String fixedPhone) {
		this.fixedPhone = fixedPhone;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getFaksimile() {
		return faksimile;
	}

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

	public String getMottoSemboyan() {
		return mottoSemboyan;
	}

	public void setMottoSemboyan(String mottoSemboyan) {
		this.mottoSemboyan = mottoSemboyan;
	}

	public String getAlamatEmail() {
		return alamatEmail;
	}

	public void setAlamatEmail(String alamatEmail) {
		this.alamatEmail = alamatEmail;
	}

	public String getWebsite() {
		return website;
	}

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

	public String getKdPegawaiKepala() {
		return kdPegawaiKepala;
	}

	public void setKdPegawaiKepala(String kdPegawaiKepala) {
		this.kdPegawaiKepala = kdPegawaiKepala;
	}

	public String getMessageToPasien() {
		return messageToPasien;
	}

	public void setMessageToPasien(String messageToPasien) {
		this.messageToPasien = messageToPasien;
	}

	public String getGambarLogo() {
		return gambarLogo;
	}

	public void setGambarLogo(String gambarLogo) {
		this.gambarLogo = gambarLogo;
	}

	public Character getKdDepartemen() {
		return kdDepartemen;
	}

	public void setKdDepartemen(Character kdDepartemen) {
		this.kdDepartemen = kdDepartemen;
	}

	public String getNpwp() {
		return npwp;
	}

	public void setNpwp(String npwp) {
		this.npwp = npwp;
	}

	public String getNoPkp() {
		return noPkp;
	}

	public void setNoPkp(String noPkp) {
		this.noPkp = noPkp;
	}

	public Integer getKdAccount() {
		return kdAccount;
	}

	public void setKdAccount(Integer kdAccount) {
		this.kdAccount = kdAccount;
	}

	public byte getKdJenisProfile() {
		return kdJenisProfile;
	}

	public void setKdJenisProfile(byte kdJenisProfile) {
		this.kdJenisProfile = kdJenisProfile;
	}

	public Byte getKdPemilikProfile() {
		return kdPemilikProfile;
	}

	public void setKdPemilikProfile(Byte kdPemilikProfile) {
		this.kdPemilikProfile = kdPemilikProfile;
	}

	public String getNoSuratIjinLast() {
		return noSuratIjinLast;
	}

	public void setNoSuratIjinLast(String noSuratIjinLast) {
		this.noSuratIjinLast = noSuratIjinLast;
	}

	public Date getTglSuratIjinLast() {
		return tglSuratIjinLast;
	}

	public void setTglSuratIjinLast(Date tglSuratIjinLast) {
		this.tglSuratIjinLast = tglSuratIjinLast;
	}

	public String getSignatureByLast() {
		return signatureByLast;
	}

	public void setSignatureByLast(String signatureByLast) {
		this.signatureByLast = signatureByLast;
	}

	public Byte getKdStatusSuratIjinLast() {
		return kdStatusSuratIjinLast;
	}

	public void setKdStatusSuratIjinLast(Byte kdStatusSuratIjinLast) {
		this.kdStatusSuratIjinLast = kdStatusSuratIjinLast;
	}

	public Date getTglSuratIjinExpiredLast() {
		return tglSuratIjinExpiredLast;
	}

	public void setTglSuratIjinExpiredLast(Date tglSuratIjinExpiredLast) {
		this.tglSuratIjinExpiredLast = tglSuratIjinExpiredLast;
	}

	public byte getKdSatuanKerja() {
		return kdSatuanKerja;
	}

	public void setKdSatuanKerja(byte kdSatuanKerja) {
		this.kdSatuanKerja = kdSatuanKerja;
	}

	public Byte getKdJenisTarif() {
		return kdJenisTarif;
	}

	public void setKdJenisTarif(Byte kdJenisTarif) {
		this.kdJenisTarif = kdJenisTarif;
	}

	public byte getqprofile() {
		return qprofile;
	}

	public void setqprofile(byte qprofile) {
		this.qprofile = qprofile;
	}

	public String getKdExternal() {
		return kodeExternal;
	}

	public void setKdExternal(String kodeExternal) {
		this.kodeExternal = kodeExternal;
	}

	public String getNamaExternal() {
		return namaExternal;
	}

	public void setNamaExternal(String namaExternal) {
		this.namaExternal = namaExternal;
	}

	public byte getStatusEnabled() {
		return statusEnabled;
	}

	public void setStatusEnabled(byte statusEnabled) {
		this.statusEnabled = statusEnabled;
	}

	public int getKdHistoryLoginI() {
		return kdHistoryLoginI;
	}

	public void setKdHistoryLoginI(int kdHistoryLoginI) {
		this.kdHistoryLoginI = kdHistoryLoginI;
	}

	public Integer getKdHistoryLoginU() {
		return kdHistoryLoginU;
	}

	public void setKdHistoryLoginU(Integer kdHistoryLoginU) {
		this.kdHistoryLoginU = kdHistoryLoginU;
	}

	public Integer getKdHistoryLoginS() {
		return kdHistoryLoginS;
	}

	public void setKdHistoryLoginS(Integer kdHistoryLoginS) {
		this.kdHistoryLoginS = kdHistoryLoginS;
	}

	@Column(name = "KdHistoryLoginS")

	private Integer kdHistoryLoginS;

	public ProfileM() {
	}

	// @Id

}
