package com.jasamedika.medifirst2000.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.*;

import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.entities.ShiftKerja;
import com.fasterxml.jackson.annotation.JsonBackReference;
import javax.validation.constraints.NotNull;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 *  class KelompokShiftVOVO
 * 
 * @author Generator
 */
public class KelompokShiftVO  extends BaseMasterVO{
	

	@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.EAGER, mappedBy = "kelompokShift")
	private Set<ShiftKerjaVO> detail=new HashSet<ShiftKerjaVO>();

	@Column(name = "Kode", nullable = false , length = 100)
	@Caption(value = "Kode")
	private Integer kode ;

	@Column(name = "Name", nullable = false , length = 100)
	@Caption(value = "Name")
	private String name ;
	
	@Column(name="KdKelompokShiftKerja")
	@Caption(value="Kd Kelompok Shift Kerja")
	private Integer kdKelompokShiftKerja;
	
	@Column(name="KelompokShiftKerja", length=30)
	@Caption(value="Kelompok Shift Kerja")
	private String kelompokShiftKerja;
	
	@Column(name="FactorRate")
	@Caption(value="Factor Rate")
	private Integer factorRate;
	
	@Column(name="OperatorFactorRate")
	@Caption(value="Operator Factor Rate")
	private String operatorFactorRate;
	
	@Column(name="QKelompokShift")
	@Caption(value="Q Kelompo kShift")
	private Integer qKelompokShift;

	public Set<ShiftKerjaVO> getDetail() {
		return detail;
	}

	public void setDetail(Set<ShiftKerjaVO> detail) {
		this.detail = detail;
	}

	public Integer getKode() {
		return kode;
	}

	public void setKode(Integer kode) {
		this.kode = kode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getKdKelompokShiftKerja() {
		return kdKelompokShiftKerja;
	}

	public void setKdKelompokShiftKerja(Integer kdKelompokShiftKerja) {
		this.kdKelompokShiftKerja = kdKelompokShiftKerja;
	}

	public String getKelompokShiftKerja() {
		return kelompokShiftKerja;
	}

	public void setKelompokShiftKerja(String kelompokShiftKerja) {
		this.kelompokShiftKerja = kelompokShiftKerja;
	}

	public Integer getFactorRate() {
		return factorRate;
	}

	public void setFactorRate(Integer factorRate) {
		this.factorRate = factorRate;
	}

	public String getOperatorFactorRate() {
		return operatorFactorRate;
	}

	public void setOperatorFactorRate(String operatorFactorRate) {
		this.operatorFactorRate = operatorFactorRate;
	}

	public Integer getqKelompokShift() {
		return qKelompokShift;
	}

	public void setqKelompokShift(Integer qKelompokShift) {
		this.qKelompokShift = qKelompokShift;
	}
}