package com.jasamedika.medifirst2000.entities;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 * class StrukPelayanan
 * 
 * @author Generator
 */
@Entity
@Table(name = "CssdHasilIndikator_T")
public class CssdHasilIndikator extends BaseTransaction {
	
	@ManyToOne
	@JoinColumn(name = "autoClave")
	@Caption(value = "autoClave")
	private StatusBerubahTidak autoClave;

	@Column(name = "autoClave", insertable = false, updatable = false, nullable = true)
	private Integer autoClaveId;
	
	
	@ManyToOne
	@JoinColumn(name = "label")
	@Caption(value = "label")
	private StatusBerubahTidak label;

	@Column(name = "label", insertable = false, updatable = false, nullable = true)
	private Integer labelId;
	
	
	@ManyToOne
	@JoinColumn(name = "indikatorInternal")
	@Caption(value = "indikatorInternal")
	private StatusBerubahTidak indikatorInternal;

	@Column(name = "indikatorInternal", insertable = false, updatable = false, nullable = true)
	private Integer indikatorInternalId;
	
	@ManyToOne
	@JoinColumn(name = "bowidick")
	@Caption(value = "bowidick")
	private StatusBerubahTidak bowidick;

	@Column(name = "bowidick", insertable = false, updatable = false, nullable = true)
	private Integer bowidickId;
	
	
	@ManyToOne
	@JoinColumn(name = "attest")
	@Caption(value = "attest")
	private StatusBerubahTidak attest;

	@Column(name = "attest", insertable = false, updatable = false, nullable = true)
	private Integer attestId;
	
	@ManyToOne
	@JoinColumn(name = "kemasan")
	@Caption(value = "kemasan")
	private StatusBaikTidakBaik kemasan;

	@Column(name = "kemasan", insertable = false, updatable = false, nullable = true)
	private Integer kemasanId;
	

	
	
	@ManyToOne
	@JoinColumn(name = "planningPelayanan")
	@Caption(value = "planningPelayanan")
	private PlanningPelayanan planningPelayanan;

	@Column(name = "planningPelayanan", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
	private String planningPelayananId;

	public StatusBerubahTidak getAutoClave() {
		return autoClave;
	}

	public void setAutoClave(StatusBerubahTidak autoClave) {
		this.autoClave = autoClave;
	}

	public Integer getAutoClaveId() {
		return autoClaveId;
	}

	public void setAutoClaveId(Integer autoClaveId) {
		this.autoClaveId = autoClaveId;
	}

	public StatusBerubahTidak getLabel() {
		return label;
	}

	public void setLabel(StatusBerubahTidak label) {
		this.label = label;
	}

	public Integer getLabelId() {
		return labelId;
	}

	public void setLabelId(Integer labelId) {
		this.labelId = labelId;
	}

	public StatusBerubahTidak getIndikatorInternal() {
		return indikatorInternal;
	}

	public void setIndikatorInternal(StatusBerubahTidak indikatorInternal) {
		this.indikatorInternal = indikatorInternal;
	}

	public Integer getIndikatorInternalId() {
		return indikatorInternalId;
	}

	public void setIndikatorInternalId(Integer indikatorInternalId) {
		this.indikatorInternalId = indikatorInternalId;
	}

	public StatusBerubahTidak getBowidick() {
		return bowidick;
	}

	public void setBowidick(StatusBerubahTidak bowidick) {
		this.bowidick = bowidick;
	}

	public Integer getBowidickId() {
		return bowidickId;
	}

	public void setBowidickId(Integer bowidickId) {
		this.bowidickId = bowidickId;
	}

	public StatusBerubahTidak getAttest() {
		return attest;
	}

	public void setAttest(StatusBerubahTidak attest) {
		this.attest = attest;
	}

	public Integer getAttestId() {
		return attestId;
	}

	public void setAttestId(Integer attestId) {
		this.attestId = attestId;
	}


	public PlanningPelayanan getPlanningPelayanan() {
		return planningPelayanan;
	}

	public void setPlanningPelayanan(PlanningPelayanan planningPelayanan) {
		this.planningPelayanan = planningPelayanan;
	}

	public String getPlanningPelayananId() {
		return planningPelayananId;
	}

	public void setPlanningPelayananId(String planningPelayananId) {
		this.planningPelayananId = planningPelayananId;
	}

	public StatusBaikTidakBaik getKemasan() {
		return kemasan;
	}

	public void setKemasan(StatusBaikTidakBaik kemasan) {
		this.kemasan = kemasan;
	}

	public Integer getKemasanId() {
		return kemasanId;
	}

	public void setKemasanId(Integer kemasanId) {
		this.kemasanId = kemasanId;
	}
	
}
