81 lines
2.1 KiB
Java
81 lines
2.1 KiB
Java
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 KasusPenyakit
|
|
*
|
|
* @author Generator
|
|
*/
|
|
//@Entity
|
|
//@Table(name = "KasusPenyakit_M")
|
|
public class KasusPenyakitVO extends BaseMasterVO {
|
|
@Caption(value="Kasus Penyakit")
|
|
private String kasusPenyakit;
|
|
|
|
public void setKasusPenyakit(String kasusPenyakit) {
|
|
this.kasusPenyakit = kasusPenyakit;
|
|
}
|
|
|
|
@Column(name = "KasusPenyakit", nullable = false , length = 30)
|
|
public String getKasusPenyakit(){
|
|
return this.kasusPenyakit;
|
|
}
|
|
|
|
@Caption(value="Kode Kasus Penyakit")
|
|
private Byte kdKasusPenyakit;
|
|
|
|
public void setKdKasusPenyakit(Byte kdKasusPenyakit) {
|
|
this.kdKasusPenyakit = kdKasusPenyakit;
|
|
}
|
|
|
|
@Column(name = "KdKasusPenyakit", nullable = false )
|
|
public Byte getKdKasusPenyakit(){
|
|
return this.kdKasusPenyakit;
|
|
}
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectPelayananProfileFk")
|
|
@Caption(value="Object Pelayanan Profile")
|
|
private PelayananProfileVO pelayananProfile;
|
|
|
|
public void setPelayananProfile(PelayananProfileVO pelayananProfile) {
|
|
this.pelayananProfile = pelayananProfile;
|
|
}
|
|
|
|
@Column(name = "KdPelayananProfile", nullable = true , length = 3)
|
|
public PelayananProfileVO getPelayananProfile(){
|
|
return this.pelayananProfile;
|
|
}
|
|
|
|
@Column(name = "ObjectPelayananProfileFk", insertable=false,updatable=false)
|
|
private Integer pelayananProfileId;
|
|
|
|
@Caption(value="QKasus Penyakit")
|
|
private Byte qKasusPenyakit;
|
|
|
|
public void setqKasusPenyakit(Byte qKasusPenyakit) {
|
|
this.qKasusPenyakit = qKasusPenyakit;
|
|
}
|
|
|
|
@Column(name = "QKasusPenyakit", nullable = false )
|
|
public Byte getqKasusPenyakit(){
|
|
return this.qKasusPenyakit;
|
|
}
|
|
|
|
|
|
}
|
|
|