package com.jasamedika.medifirst2000.vo;

import java.util.Date;

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.jasamedika.medifirst2000.entities.StrukRacikan;
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;


public class RacikanDetailVO extends MedicalRecordTransactionVO {

	@Caption(value = "generik")
	private GenerikVO generik;
	
	@Caption(value = "Harga Satuan")
	private Double hargaSatuan;
	
	@Caption(value = "Harga Jual")
	private Double hargaJual;
	
	@Caption(value="Status Order")
	private Byte statusOrder;
	
	@Caption(value="Jenis Racikan")
	private String jenisRacikan;
	
	@Caption(value="Total Miligram")
	private Double totalMgMl;
	
	@Caption(value="Total Kekuatan")
	private Double jumlahKekuatan;
	
	@Caption(value="Total Table")
	private Double jumlahTablet;
	
	@Caption(value="Total")
	private Double total;
	
	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="Produk")
	private ProdukVO produk;
	
	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="No Racikan")
	private StrukRacikanVO strukRacikan;

	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value="Pelayanan Pasien")
	private PelayananPasienVO pelayananPasien;

	public GenerikVO getGenerik() {
		return generik;
	}

	public void setGenerik(GenerikVO generik) {
		this.generik = generik;
	}

	public Double getHargaSatuan() {
		return hargaSatuan;
	}

	public void setHargaSatuan(Double hargaSatuan) {
		this.hargaSatuan = hargaSatuan;
	}

	public Double getHargaJual() {
		return hargaJual;
	}

	public void setHargaJual(Double hargaJual) {
		this.hargaJual = hargaJual;
	}

	public Byte getStatusOrder() {
		return statusOrder;
	}

	public void setStatusOrder(Byte statusOrder) {
		this.statusOrder = statusOrder;
	}

	public String getJenisRacikan() {
		return jenisRacikan;
	}

	public void setJenisRacikan(String jenisRacikan) {
		this.jenisRacikan = jenisRacikan;
	}

	public Double getTotalMgMl() {
		return totalMgMl;
	}

	public void setTotalMgMl(Double totalMgMl) {
		this.totalMgMl = totalMgMl;
	}

	public Double getJumlahKekuatan() {
		return jumlahKekuatan;
	}

	public void setJumlahKekuatan(Double jumlahKekuatan) {
		this.jumlahKekuatan = jumlahKekuatan;
	}

	public Double getJumlahTablet() {
		return jumlahTablet;
	}

	public void setJumlahTablet(Double jumlahTablet) {
		this.jumlahTablet = jumlahTablet;
	}

	public Double getTotal() {
		return total;
	}

	public void setTotal(Double total) {
		this.total = total;
	}

	public ProdukVO getProduk() {
		return produk;
	}

	public void setProduk(ProdukVO produk) {
		this.produk = produk;
	}

	public PelayananPasienVO getPelayananPasien() {
		return pelayananPasien;
	}

	public void setPelayananPasien(PelayananPasienVO pelayananPasien) {
		this.pelayananPasien = pelayananPasien;
	}

	public StrukRacikanVO getStrukRacikan() {
		return strukRacikan;
	}

	public void setStrukRacikan(StrukRacikanVO strukRacikan) {
		this.strukRacikan = strukRacikan;
	}
}