package com.jasamedika.medifirst2000.vo;

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

import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.entities.IpsrsPemeriksaanAlat;
import com.jasamedika.medifirst2000.helper.Caption;

public class IpsrsPemeriksaanVO extends BaseTransactionVO{
	
	@ManyToOne(fetch = FetchType.LAZY)
	@Caption(value = "Preventive Maintenance")
	private IpsrsPreventiveMaintenanceVO ipsrsPreventiveMaintenance;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@Caption(value = "Pengecekan Peralatan Mapping")
	private PengecekanPeralatanMappingVO pengecekanPeralatanMapping;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@Caption(value = "Pemeriksaan Fisik")
	private IpsrsPemeriksaanAlatVO pemeriksaanFisik;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@Caption(value = "Pemeriksaan Fungsi")
	private IpsrsPemeriksaanAlatVO pemeriksaanFungsi;

	public IpsrsPreventiveMaintenanceVO getIpsrsPreventiveMaintenance() {
		return ipsrsPreventiveMaintenance;
	}

	public void setIpsrsPreventiveMaintenance(IpsrsPreventiveMaintenanceVO ipsrsPreventiveMaintenance) {
		this.ipsrsPreventiveMaintenance = ipsrsPreventiveMaintenance;
	}

	public PengecekanPeralatanMappingVO getPengecekanPeralatanMapping() {
		return pengecekanPeralatanMapping;
	}

	public void setPengecekanPeralatanMapping(PengecekanPeralatanMappingVO pengecekanPeralatanMapping) {
		this.pengecekanPeralatanMapping = pengecekanPeralatanMapping;
	}

	public IpsrsPemeriksaanAlatVO getPemeriksaanFisik() {
		return pemeriksaanFisik;
	}

	public void setPemeriksaanFisik(IpsrsPemeriksaanAlatVO pemeriksaanFisik) {
		this.pemeriksaanFisik = pemeriksaanFisik;
	}

	public IpsrsPemeriksaanAlatVO getPemeriksaanFungsi() {
		return pemeriksaanFungsi;
	}

	public void setPemeriksaanFungsi(IpsrsPemeriksaanAlatVO pemeriksaanFungsi) {
		this.pemeriksaanFungsi = pemeriksaanFungsi;
	}
	
}
