package com.jasamedika.medifirst2000.vo; import java.io.Serializable; import java.util.HashSet; import java.util.Set; import javax.persistence.*; import java.util.Date; import org.hibernate.validator.constraints.NotEmpty; import com.jasamedika.medifirst2000.base.vo.BaseMasterVO; import javax.validation.constraints.NotNull; import org.hibernate.validator.constraints.Length; import org.hibernate.validator.internal.util.logging.Messages; import com.fasterxml.jackson.annotation.JsonManagedReference; import com.jasamedika.medifirst2000.base.vo.BaseMasterVO; import com.jasamedika.medifirst2000.helper.Caption; /** * class KuantitasLahirBayi * * @author Generator */ //@Entity //@Table(name = "KuantitasLahirBayi_M") public class KuantitasLahirBayiVO extends BaseMasterVO { @Caption(value = "Kode Kuantitas Lahir Bayi") private String kdKuantitasLahirBayi; public void setKdKuantitasLahirBayi(String kdKuantitasLahirBayi) { this.kdKuantitasLahirBayi = kdKuantitasLahirBayi; } @Column(name = "KdKuantitasLahirBayi", nullable = false, length = 1) public String getKdKuantitasLahirBayi() { return this.kdKuantitasLahirBayi; } @Caption(value = "Kuantitas Lahir Bayi") private String kuantitasLahirBayi; public void setKuantitasLahirBayi(String kuantitasLahirBayi) { this.kuantitasLahirBayi = kuantitasLahirBayi; } @Column(name = "KuantitasLahirBayi", nullable = false, length = 15) public String getKuantitasLahirBayi() { return this.kuantitasLahirBayi; } @Caption(value = "QKuantitas Lahir Bayi") private Byte qKuantitasLahirBayi; public void setqKuantitasLahirBayi(Byte qKuantitasLahirBayi) { this.qKuantitasLahirBayi = qKuantitasLahirBayi; } @Column(name = "QKuantitasLahirBayi", nullable = false) public Byte getqKuantitasLahirBayi() { return this.qKuantitasLahirBayi; } /* // @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "kdkuantitaslahirbayi") private Set KeadaanLahirBayiSet = new HashSet(); public Set getKeadaanLahirBayiSet() { return KeadaanLahirBayiSet; } public void setKeadaanLahirBayiSet(Set keadaanLahirBayiSet) { KeadaanLahirBayiSet = keadaanLahirBayiSet; }*/ }