package com.jasamedika.medifirst2000.vo;

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

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

import lombok.Getter;
import lombok.Setter;

/**
 * class SatuanStandar
 * 
 * @author Generator
 */
@Getter
@Setter
public class SatuanStandarVO extends BaseMasterVO {
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "KdHeadSatuanStandard")
	@Caption(value = "Satuan Standar")
	private SatuanStandarVO satuanStandarHead;
	@Column(name = "KdHeadSatuanStandard", insertable = false, updatable = false, nullable = true)
	private Integer satuanStandarId;

	@ManyToOne
	@JoinColumn(name = "ObjectDepartemenFk")
	@Caption(value = "Object Departemen")
	private DepartemenVO departemen;

	@Column(name = "ObjectDepartemenFk", insertable = false, updatable = false)
	private Integer departemenId;

	@ManyToOne
	@JoinColumn(name = "ObjectKelompokProdukFk")
	@Caption(value = "Object Kelompok Produk")
	private KelompokProdukVO kelompokProduk;

	@Column(name = "ObjectKelompokProdukFk", insertable = false, updatable = false)
	private Integer kelompokProdukId;

	@Caption(value = "Kode Satuan Standar")
	private Byte kdSatuanStandar;

	@Caption(value = "QSatuan Standar")
	private Byte qSatuanStandar;

	@Caption(value = "Satuan Standar")
	private String satuanStandar;

	@Caption(value = "Kode Satuan Standar")
	private Integer qtyKemasan;
}
