package com.jasamedika.medifirst2000.vo;

import java.sql.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 javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonBackReference;
import com.jasamedika.medifirst2000.base.BaseTransaction;

import com.jasamedika.medifirst2000.helper.Caption;

public class SignInOperationVO extends MedicalRecordTransactionVO {
	/**
	 * @author Shakato
	 */
	
	@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "signInOperation")
	private Set<SignInOperationDetailQuisionerVO> signInOperationDetailQuisioner=new HashSet<SignInOperationDetailQuisionerVO>();

	@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "signInOperation")
	private Set<SignInOperationDetailVO> signInOperationDetail=new HashSet<SignInOperationDetailVO>();

	public Set<SignInOperationDetailQuisionerVO> getSignInOperationDetailQuisioner() {
		return signInOperationDetailQuisioner;
	}

	public void setSignInOperationDetailQuisioner(Set<SignInOperationDetailQuisionerVO> signInOperationDetailQuisioner) {
		this.signInOperationDetailQuisioner = signInOperationDetailQuisioner;
	}

	public Set<SignInOperationDetailVO> getSignInOperationDetail() {
		return signInOperationDetail;
	}

	public void setSignInOperationDetail(Set<SignInOperationDetailVO> signInOperationDetail) {
		this.signInOperationDetail = signInOperationDetail;
	}

}