package com.jasamedika.medifirst2000.entities;

import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Getter
@Setter
@Entity
@Table(name = "BridgingMiniR45")
public class BridgingMiniR45 extends BaseTransaction {

	@Caption(value = "PatientId")
	@Column(name = "PatientId", length = 15)
	private String patientId;

	@Caption(value = "PatientName")
	@Column(name = "PatientName", length = 40)
	private String patientName;

	@Caption(value = "DOB")
	@Column(name = "DOB", length = 8)
	private Date dob;

	@Caption(value = "Sex")
	@Column(name = "Sex", length = 1)
	private String sex;

	@Caption(value = "Address")
	@Column(name = "Address", length = 40)
	private String address;

	@Caption(value = "Doctor")
	@Column(name = "Doctor", length = 40)
	private String doctor;

	@Caption(value = "WardCode")
	@Column(name = "WardCode", length = 5)
	private String wardCode;

	@Caption(value = "WardDescription")
	@Column(name = "WardDescription", length = 30)
	private String wardDescription;

	@Caption(value = "RoomCode")
	@Column(name = "RoomCode", length = 5)
	private String roomCode;

	@Caption(value = "TransactionCode")
	@Column(name = "TransactionCode", length = 15)
	private String transactionCode;

	@Caption(value = "MedicationCode")
	@Column(name = "MedicationCode", length = 12)
	private String medicationCode;

	@Caption(value = "MedicationName")
	@Column(name = "MedicationName", length = 40)
	private String medicationName;

	@Caption(value = "DoseQty")
	@Column(name = "DoseQty", length = 6)
	private String doseQty;

	@Caption(value = "UnitCode")
	@Column(name = "UnitCode", length = 8)
	private String unitCode;

	@Caption(value = "UnitName")
	@Column(name = "UnitName", length = 10)
	private String unitName;

	@Caption(value = "SignaCode")
	@Column(name = "SignaCode", length = 5)
	private String signaCode;

	@Caption(value = "SignaDescription")
	@Column(name = "SignaDescription", length = 40)
	private String signaDescription;

	@Caption(value = "Duration")
	@Column(name = "Duration", length = 15)
	private String duration;

	@Caption(value = "ExpiredDate")
	@Column(name = "ExpiredDate", length = 10)
	private String expiredDate;

}
