package com.jasamedika.medifirst2000.entities;

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

import javax.persistence.*;
import java.util.Date;

@Getter
@Setter
@Entity
@Table(name = "Inseminasi_T")
public class Inseminasi extends MedicalRecordTransaction {

	@ManyToOne
	@JoinColumn(name = "PengeluaranSpermaFk")
	@Caption(value = "Pengeluaran Sperma")
	private CaraPengeluaranSperma pengeluaranSperma;

	@ManyToOne
	@JoinColumn(name = "ReinseminasiFk")
	@Caption(value = "Reinseminasi")
	private Reinseminasi reinseminasi;

	@Column(name = "Volum")
	@Caption(value = "Volum")
	private Integer volum;

	@Column(name = "Konsentrasi")
	@Caption(value = "Konsentrasi")
	private Integer konsentrasi;

	@Column(name = "Motilitas1")
	@Caption(value = "Motilitas 1")
	private Integer motilitas1;

	@Column(name = "Motilitas2")
	@Caption(value = "Motilitas 2")
	private Integer motilitas2;

	@Column(name = "Motilitas3")
	@Caption(value = "Motilitas 3")
	private Integer motilitas3;

	@Column(name = "Motilitas4")
	@Caption(value = "Motilitas 4")
	private Integer motilitas4;

	@Column(name = "Morfologi")
	@Caption(value = "Morfologi")
	private Integer morfologi;

	@Column(name = "KonsentrasiSesudahPreparasi")
	@Caption(value = "Konsentrasi Sesudah Preparasi")
	private Integer konsentrasiSesudahPreparasi;

	@Column(name = "JumlahSperma")
	@Caption(value = "Jumlah Sperma")
	private Integer jumlahSperma;

	@Column(name = "Volume")
	@Caption(value = "Volume")
	private Integer volume;

	@Column(name = "Tanggal")
	@Caption(value = "Tanggal")
	private Date tanggal;

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

}
