package com.jasamedika.medifirst2000.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.helper.Caption;

@Entity
@Table(name = "PenangananKeluhanPelanggan_T")
public class PenangananKeluhanPelangganVO extends BaseTransactionVO {
	
	@ManyToOne(fetch= FetchType.LAZY)
	@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
	@JoinColumn(name = "ObjectPegawaiFk")
	@Caption(value="Pegawai")
	private PegawaiVO pegawai;

	@Column(name = "NamaPetugas", nullable = true , length = 200)
	@Caption(value="Nama Petugas")
	private String namaPetugas;
	
	@Column(name = "Email", nullable = true , length = 200)
	@Caption(value="Email")
	private String email;
	
	@Column(name = "Reply", nullable = true)
	@Caption(value="Reply")
	private String reply;
	
	@Column(name = "EmailPelanggan", nullable = true)
	@Caption(value = "Email Pelanggan")
	private String emailPelanggan;
	
		
	public String getNamaPetugas() {
		return namaPetugas;
	}

	public void setNamaPetugas(String namaPetugas) {
		this.namaPetugas = namaPetugas;
	}

	public String getEmailPelanggan() {
		return emailPelanggan;
	}

	public void setEmailPelanggan(String emailPelanggan) {
		this.emailPelanggan = emailPelanggan;
	}
	
	public PegawaiVO getPegawai() {
		return pegawai;
	}

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

	public String getEmail() {
		return email;
	}

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

	public String getReply() {
		return reply;
	}

	public void setReply(String reply) {
		this.reply = reply;
	}
	
	
}
