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.helper.Caption;

@Entity  
@Table(name = "LisOrder")
public class LisOrderSysmex extends BaseBridging {
	// untuk menyesuaikan dengan tabel yang dibutuhkan oleh sysmex
	// nama class dan nama tabel sengaja dibuat tidak standar

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.LisOrder_id_seq")
	@javax.persistence.SequenceGenerator(name = "public.LisOrder_id_seq", sequenceName = "public.LisOrder_id_seq", allocationSize = 1)
	@Column(name = "id")
	protected Integer id;
	
	@Column(name = "MESSAGE_DT", nullable = true)
	@Caption(value = "MESSAGE_DT")
	private String messageDt;
	
	@Column(name = "ORDER_CONTROL", nullable = true)
	@Caption(value = "ORDER_CONTROL")
	private String orderControl;
	
	@Column(name = "PID", nullable = true)
	@Caption(value = "PID")
	private String pid;
	
	@Column(name = "PNAME", nullable = true)
	@Caption(value = "PNAME")
	private String pName;
	
	@Column(name = "ADDRESS1", nullable = true)
	@Caption(value = "ADDRESS1")
	private String address1;
	
	@Column(name = "ADDRESS2", nullable = true)
	@Caption(value = "ADDRESS2")
	private String address2;
	
	@Column(name = "ADDRESS3", nullable = true)
	@Caption(value = "ADDRESS3")
	private String address3;
	
	@Column(name = "ADDRESS4", nullable = true)
	@Caption(value = "ADDRESS4")
	private String address4;

	@Column(name = "PTYPE", nullable = true)
	@Caption(value = "PTYPE")
	private String pType;
	
	@Column(name = "BIRTH_DT", nullable = true)
	@Caption(value = "BIRTH_DT")
	private String birthDt;
	
	@Column(name = "SEX", nullable = true)
	@Caption(value = "SEX")
	private String sex;
	
	@Column(name = "ONO", nullable = true)
	@Caption(value = "ONO")
	private String ono;
	
	@Column(name = "REQUEST_DT", nullable = true)
	@Caption(value = "REQUEST_DT")
	private String requestDt;
	
	@Column(name = "SOURCE", nullable = true)
	@Caption(value = "SOURCE")
	private String source;
	
	@Column(name = "CLINICIAN", nullable = true)
	@Caption(value = "CLINICIAN")
	private String clinican;
	
	@Column(name = "ROOM_NO", nullable = true)
	@Caption(value = "ROOM_NO")
	private String roomNo;
	
	@Column(name = "PRIORITY", nullable = true)
	@Caption(value = "PRIORITY")
	private String priority;
	
	@Column(name = "COMMENT", nullable = true)
	@Caption(value = "COMMENT")
	private String comment;
	
	@Column(name = "VISITNO", nullable = true)
	@Caption(value = "VISITNO")
	private String visitNo;
	
	@Column(name = "ORDER_TESTID", nullable = true)
	@Caption(value = "ORDER_TESTID")
	private String orderTestID;
	
	@Column(name = "flag", nullable = true)
	@Caption(value = "flag")
	private Integer flag;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMessageDt() {
		return messageDt;
	}

	public void setMessageDt(String messageDt) {
		this.messageDt = messageDt;
	}

	public String getOrderControl() {
		return orderControl;
	}

	public void setOrderControl(String orderControl) {
		this.orderControl = orderControl;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getpName() {
		return pName;
	}

	public void setpName(String pName) {
		this.pName = pName;
	}

	public String getAddress1() {
		return address1;
	}

	public void setAddress1(String address1) {
		this.address1 = address1;
	}

	public String getAddress2() {
		return address2;
	}

	public void setAddress2(String address2) {
		this.address2 = address2;
	}

	public String getAddress3() {
		return address3;
	}

	public void setAddress3(String address3) {
		this.address3 = address3;
	}

	public String getAddress4() {
		return address4;
	}

	public void setAddress4(String address4) {
		this.address4 = address4;
	}

	public String getpType() {
		return pType;
	}

	public void setpType(String pType) {
		this.pType = pType;
	}

	public String getBirthDt() {
		return birthDt;
	}

	public void setBirthDt(String birthDt) {
		this.birthDt = birthDt;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getOno() {
		return ono;
	}

	public void setOno(String ono) {
		this.ono = ono;
	}

	public String getRequestDt() {
		return requestDt;
	}

	public void setRequestDt(String requestDt) {
		this.requestDt = requestDt;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getClinican() {
		return clinican;
	}

	public void setClinican(String clinican) {
		this.clinican = clinican;
	}

	public String getRoomNo() {
		return roomNo;
	}

	public void setRoomNo(String roomNo) {
		this.roomNo = roomNo;
	}

	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;
	}

	public String getOrderTestID() {
		return orderTestID;
	}

	public void setOrderTestID(String orderTestID) {
		this.orderTestID = orderTestID;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}
 
}
