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

/**
 * class PelayananPasien
 * 
 * @author Generator
 */
@Getter
@Setter
@Entity
@Table(name = "MapDiagnosaToProduk_M")
public class MapDiagnosaToProduk extends BaseTransaction {

	@ManyToOne
	@JoinColumn(name = "ProdukFK")
	@Caption(value = "Produk")
	private Produk produk;

	@Column(name = "ProdukFk", insertable = false, updatable = false)
	private Integer produkId;

	@Caption(value = "Kode Diagnosis")
	@Column(name = "kodeDiagnosis")
	private String kodeDiagnosis;

}