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.fasterxml.jackson.annotation.JsonBackReference;
import javax.validation.constraints.NotNull;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 * class DetailBerkasLamaranVOVO
 * 
 * @author Generator
 */
public class DetailBerkasLamaranVO extends BaseMasterVO {
	

	private BerkasLamaranVO berkasLamaran;
	
	
	
	public BerkasLamaranVO getBerkasLamaran() {
		return berkasLamaran;
	}

	public void setBerkasLamaran(BerkasLamaranVO berkasLamaran) {
		this.berkasLamaran = berkasLamaran;
	}



	@ManyToOne
	@JoinColumn(name = "SyaratFk")
	@NotNull(message = "Syarat Harus Diisi")
	@Caption(value = "Syarat")
	private PersyaratanPelamarVO syarat;
	@Column(name = "SyaratFk", insertable = false, updatable = false)
	private String syaratId;

	public PersyaratanPelamarVO getSyarat() {
		return syarat;
	}

	public void setSyarat(PersyaratanPelamarVO syarat) {
		this.syarat = syarat;
	}

	

	@Column(name = "Status", nullable = false, length = 100)
	@Caption(value = "Status")
	private String status;

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}