package com.jasamedika.medifirst2000.entities; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import com.jasamedika.medifirst2000.base.BaseBridging; import com.jasamedika.medifirst2000.base.BaseTransaction; import com.jasamedika.medifirst2000.helper.Caption; @Entity @Table(name = "reshd") public class ReshdSysmex {// extends BaseBridging{ // untuk menyesuaikan dengan tabel yang dibutuhkan oleh sysmex // nama class dan nama tabel sengaja dibuat tidak standar @Id @Column(name = "ID", nullable = false, length = 30) @Caption(value = "ID") private String id; public String getId() { return id; } public void setId(String id) { this.id = id; } /* * @Id * * @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = * "public.reshd_id_seq") * * @javax.persistence.SequenceGenerator(name = "public.reshd_id_seq", * sequenceName = "public.reshd_id_seq", allocationSize = 50) * * @Column(name = "id") protected Integer id; */ @Column(name = "PID", nullable = true, length = 13) @Caption(value = "PID") private String pid; @Column(name = "APID", nullable = true, length = 16) @Caption(value = "APID") private String apid; @Column(name = "PNAME", nullable = true, length = 50) @Caption(value = "PNAME") private String pName; @Column(name = "ONO", nullable = true, length = 20) @Caption(value = "ONO") private String ono; @Column(name = "LNO", nullable = true, length = 20) @Caption(value = "LNO") private String lno; @Column(name = "REQUEST_DT", nullable = true, length = 14) @Caption(value = "REQUEST_DT") private String requestDt; @Column(name = "SOURCE_CD", nullable = true, length = 6) @Caption(value = "SOURCE_CD") private String sourceCd; @Column(name = "SOURCE_NM", nullable = true, length = 50) @Caption(value = "SOURCE_NM") private String sourceNm; @Column(name = "CLINICIAN_CD", nullable = true, length = 9) @Caption(value = "CLINICIAN_CD") private String clinicianCd; @Column(name = "CLINICIAN_NM", nullable = true, length = 50) @Caption(value = "CLINICIAN_NM") private String clinicianNm; @Column(name = "PRIORITY", nullable = true, length = 1) @Caption(value = "PRIORITY") private String priority; @Column(name = "COMMENT", nullable = true, length = 300) @Caption(value = "COMMENT") private String comment; @Column(name = "VISITNO", nullable = true, length = 20) @Caption(value = "VISITNO") private String visitNo; public String getPid() { return pid; } public void setPid(String pid) { this.pid = pid; } public String getApid() { return apid; } public void setApid(String apid) { this.apid = apid; } public String getpName() { return pName; } public void setpName(String pName) { this.pName = pName; } public String getOno() { return ono; } public void setOno(String ono) { this.ono = ono; } public String getLno() { return lno; } public void setLno(String lno) { this.lno = lno; } public String getRequestDt() { return requestDt; } public void setRequestDt(String requestDt) { this.requestDt = requestDt; } public String getSourceCd() { return sourceCd; } public void setSourceCd(String sourceCd) { this.sourceCd = sourceCd; } public String getSourceNm() { return sourceNm; } public void setSourceNm(String sourceNm) { this.sourceNm = sourceNm; } public String getClinicianCd() { return clinicianCd; } public void setClinicianCd(String clinicianCd) { this.clinicianCd = clinicianCd; } public String getClinicianNm() { return clinicianNm; } public void setClinicianNm(String clinicianNm) { this.clinicianNm = clinicianNm; } public String getPriority() { return priority; } public void setPriority(String priority) { this.priority = priority; } public String getComment() { return comment; } public void setComment(String comment) { this.comment = comment; } public String getVisitNo() { return visitNo; } public void setVisitNo(String visitNo) { this.visitNo = visitNo; } }