64 lines
1.6 KiB
Java
64 lines
1.6 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 GolonganDarah
|
|
*
|
|
* @author Generator
|
|
*/
|
|
//@Entity
|
|
//@Table(name = "GolonganDarah_M")
|
|
public class GolonganDarahVO extends BaseMasterVO {
|
|
@Caption(value="Golongan Darah")
|
|
private String golonganDarah;
|
|
|
|
public void setGolonganDarah(String golonganDarah) {
|
|
this.golonganDarah = golonganDarah;
|
|
}
|
|
|
|
@Column(name = "GolonganDarah", nullable = false , length = 2)
|
|
public String getGolonganDarah(){
|
|
return this.golonganDarah;
|
|
}
|
|
|
|
@Caption(value="Kode Golongan Darah")
|
|
private Byte kdGolonganDarah;
|
|
|
|
public void setKdGolonganDarah(Byte kdGolonganDarah) {
|
|
this.kdGolonganDarah = kdGolonganDarah;
|
|
}
|
|
|
|
@Column(name = "KdGolonganDarah", nullable = false )
|
|
public Byte getKdGolonganDarah(){
|
|
return this.kdGolonganDarah;
|
|
}
|
|
|
|
@Caption(value="QGolongan Darah")
|
|
private Byte qGolonganDarah;
|
|
|
|
public void setqGolonganDarah(Byte qGolonganDarah) {
|
|
this.qGolonganDarah = qGolonganDarah;
|
|
}
|
|
|
|
@Column(name = "QGolonganDarah", nullable = false )
|
|
public Byte getqGolonganDarah(){
|
|
return this.qGolonganDarah;
|
|
}
|
|
|
|
|
|
}
|
|
|