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.*;

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

	@Column(name = "ObjectpembedahanDanInstruksiFk", nullable = false)
	private String pembedahanDanInstruksiId;

	@ManyToOne
	@JoinColumn(name = "ObjectmacamInfusFk")
	@Caption(value = "Object macamInfus")
	private Infus macamInfus;

	@Column(name = "ObjectmacamInfusFk", insertable = false, updatable = false, nullable = false)
	private Integer macamInfusId;

	@Column(name = "jumlah")
	@Caption(value = "jumlah")
	private String jumlah;

	@Column(name = "tetesan")
	@Caption(value = "tetesan")
	private String tetesan;

}
