2021-01-07 11:34:56 +07:00

64 lines
1.7 KiB
Java

package com.jasamedika.medifirst2000.vo;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.OneToMany;
import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import com.jasamedika.medifirst2000.helper.Caption;
public class PertanyaanSurveyVO extends BaseMasterVO{
@Column(name = "CounterNomer", nullable = true)
@Caption(value="Counter Nomer")
private Integer counterNomer;
@Column(name = "Pertanyaan", nullable = true)
@Caption(value="Pertanyaan")
private String pertanyaan;
@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "pertanyaanSurvey")
@Caption(value = "mappingSet")
private Set<MappingPertanyaanToKeteranganVO> mappingSet=new HashSet<MappingPertanyaanToKeteranganVO>();
private List<KeteranganSurveyVO> keteranganSurvey = new ArrayList<KeteranganSurveyVO>();
public Integer getCounterNomer() {
return counterNomer;
}
public void setCounterNomer(Integer counterNomer) {
this.counterNomer = counterNomer;
}
public String getPertanyaan() {
return pertanyaan;
}
public void setPertanyaan(String pertanyaan) {
this.pertanyaan = pertanyaan;
}
public Set<MappingPertanyaanToKeteranganVO> getMappingSet() {
return mappingSet;
}
public void setMappingSet(Set<MappingPertanyaanToKeteranganVO> mappingSet) {
this.mappingSet = mappingSet;
}
public List<KeteranganSurveyVO> getKeteranganSurvey() {
return keteranganSurvey;
}
public void setKeteranganSurvey(List<KeteranganSurveyVO> keteranganSurvey) {
this.keteranganSurvey = keteranganSurvey;
}
}