package com.jasamedika.medifirst2000.vo; import java.io.Serializable; 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 StatusKeluar * * @author Generator */ //@Entity //@Table(name = "StatusKeluar_M") public class StatusKeluarVO extends BaseMasterVO { @ManyToOne @JoinColumn(name = "ObjectJenisKondisiPasienFk") @Caption(value="Object Jenis Kondisi Pasien") private JenisKondisiPasienVO jenisKondisiPasien; public void setJenisKondisiPasien(JenisKondisiPasienVO jenisKondisiPasien) { this.jenisKondisiPasien = jenisKondisiPasien; } @Column(name = "KdJenisKondisiPasien", nullable = true , length = 1) public JenisKondisiPasienVO getJenisKondisiPasien(){ return this.jenisKondisiPasien; } @Column(name = "ObjectJenisKondisiPasienFk", insertable=false,updatable=false) private Integer jenisKondisiPasienId; @Caption(value="Kode Status Keluar") private Byte kdStatusKeluar; public void setKdStatusKeluar(Byte kdStatusKeluar) { this.kdStatusKeluar = kdStatusKeluar; } @Column(name = "KdStatusKeluar", nullable = false ) public Byte getKdStatusKeluar(){ return this.kdStatusKeluar; } @Caption(value="QStatus Keluar") private Byte qStatusKeluar; public void setqStatusKeluar(Byte qStatusKeluar) { this.qStatusKeluar = qStatusKeluar; } @Column(name = "QStatusKeluar", nullable = false ) public Byte getqStatusKeluar(){ return this.qStatusKeluar; } @Caption(value="Status Keluar") private String statusKeluar; public void setStatusKeluar(String statusKeluar) { this.statusKeluar = statusKeluar; } @Column(name = "StatusKeluar", nullable = false , length = 30) public String getStatusKeluar(){ return this.statusKeluar; } }