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

78 lines
2.1 KiB
Java

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 KelompokPelayanan
*
* @author Generator
*/
//@Entity
//@Table(name = "KelompokPelayanan_M")
public class KelompokPelayananVO extends BaseMasterVO {
@Caption(value="Kode Kelompok Pelayanan")
private Byte kdKelompokPelayanan;
public void setKdKelompokPelayanan(Byte kdKelompokPelayanan) {
this.kdKelompokPelayanan = kdKelompokPelayanan;
}
@Column(name = "KdKelompokPelayanan", nullable = false )
public Byte getKdKelompokPelayanan(){
return this.kdKelompokPelayanan;
}
@Caption(value="Kelompok Pelayanan")
private String kelompokPelayanan;
public void setKelompokPelayanan(String kelompokPelayanan) {
this.kelompokPelayanan = kelompokPelayanan;
}
@Column(name = "KelompokPelayanan", nullable = false , length = 75)
public String getKelompokPelayanan(){
return this.kelompokPelayanan;
}
@Caption(value="QKelompok Pelayanan")
private Byte qKelompokPelayanan;
public void setqKelompokPelayanan(Byte qKelompokPelayanan) {
this.qKelompokPelayanan = qKelompokPelayanan;
}
@Column(name = "QKelompokPelayanan", nullable = false )
public Byte getqKelompokPelayanan(){
return this.qKelompokPelayanan;
}
/*//
@OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL, mappedBy="kdkelompokpelayanan")
private Set<JenisTransaksi> JenisTransaksiSet = new HashSet<JenisTransaksi>();
public Set<JenisTransaksi> getJenisTransaksiSet() {
return JenisTransaksiSet;
}
public void setJenisTransaksiSet(Set<JenisTransaksi> jenisTransaksiSet) {
JenisTransaksiSet = jenisTransaksiSet;
}*/
}