package com.jasamedika.medifirst2000.vo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.dto.PemulasaraanJenazahDetailDto;
import com.jasamedika.medifirst2000.helper.Caption;

public class PemulasaraanJenazahVO extends BaseTransactionVO {

	private static final long serialVersionUID = -7857486398898767065L;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectStrukOrderFk")
	@Caption(value = "strukOrder")
	private StrukOrderVO strukOrder;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ObjectOrderPelayananFk")
	@Caption(value = "orderPelayanan")
	
	private OrderPelayananVO orderPelayanan;
	
	private List<PemulasaraanJenazahDetailDto> pemulasaraaanJenazahDetail = new ArrayList<PemulasaraanJenazahDetailDto>();
	
	private Date tglStruk;
	
	private String namaPemesan;
	
	private String noTelp;
	
	private String noKtp;
	
	private String alamat;
	
	private Double totalHarga;

	public StrukOrderVO getStrukOrder() {
		return strukOrder;
	}

	public void setStrukOrder(StrukOrderVO strukOrder) {
		this.strukOrder = strukOrder;
	}

	public OrderPelayananVO getOrderPelayanan() {
		return orderPelayanan;
	}

	public void setOrderPelayanan(OrderPelayananVO orderPelayanan) {
		this.orderPelayanan = orderPelayanan;
	}
	
	public List<PemulasaraanJenazahDetailDto> getPemulasaraaanJenazahDetail() {
		return pemulasaraaanJenazahDetail;
	}

	public void setPemulasaraaanJenazahDetail(List<PemulasaraanJenazahDetailDto> pemulasaraaanJenazahDetail) {
		this.pemulasaraaanJenazahDetail = pemulasaraaanJenazahDetail;
	}

	public Date getTglStruk() {
		return tglStruk;
	}

	public void setTglStruk(Date tglStruk) {
		this.tglStruk = tglStruk;
	}

	public String getNamaPemesan() {
		return namaPemesan;
	}

	public void setNamaPemesan(String namaPemesan) {
		this.namaPemesan = namaPemesan;
	}

	public String getNoTelp() {
		return noTelp;
	}

	public void setNoTelp(String noTelp) {
		this.noTelp = noTelp;
	}

	public String getNoKtp() {
		return noKtp;
	}

	public void setNoKtp(String noKtp) {
		this.noKtp = noKtp;
	}

	public String getAlamat() {
		return alamat;
	}

	public void setAlamat(String alamat) {
		this.alamat = alamat;
	}

	public Double getTotalHarga() {
		return totalHarga;
	}

	public void setTotalHarga(Double totalHarga) {
		this.totalHarga = totalHarga;
	}
	
	

}
