package com.jasamedika.medifirst2000.entities;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;

@Entity
@Table(name = "CekListGedungBangunanHeader_T")
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class CekListGedungBangunanHeader extends BaseTransaction {

	private static final long serialVersionUID = 8824016471372188837L;

	@ManyToOne(fetch = FetchType.LAZY)
	@Caption(value = "StrukOrder")
	@JoinColumn(name = "ObjectStrukOrderFk")
	private StrukOrder strukOrder;
	
	@Column(name="ObjectStrukOrderFk", insertable=false, updatable=false, nullable=true)
	private String strukOrderId;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@Caption(value = "OrderPelayanan")
	@JoinColumn(name = "ObjectOrderPelayananFk")
	private OrderPelayanan orderPelayanan;
	
	@Column(name="ObjectOrderPelayananFk", insertable=false, updatable=false, nullable=true)
	private String orderPelayananId;
	
	@Column(name="keterangan")
	private String keterangan;
	
	@Column(name="tanggal")
	private Date tanggal;

	public StrukOrder getStrukOrder() {
		return strukOrder;
	}

	public void setStrukOrder(StrukOrder strukOrder) {
		this.strukOrder = strukOrder;
	}

	public String getStrukOrderId() {
		return strukOrderId;
	}

	public void setStrukOrderId(String strukOrderId) {
		this.strukOrderId = strukOrderId;
	}

	public OrderPelayanan getOrderPelayanan() {
		return orderPelayanan;
	}

	public void setOrderPelayanan(OrderPelayanan orderPelayanan) {
		this.orderPelayanan = orderPelayanan;
	}

	public String getOrderPelayananId() {
		return orderPelayananId;
	}

	public void setOrderPelayananId(String orderPelayananId) {
		this.orderPelayananId = orderPelayananId;
	}

	public String getKeterangan() {
		return keterangan;
	}

	public void setKeterangan(String keterangan) {
		this.keterangan = keterangan;
	}

	public Date getTanggal() {
		return tanggal;
	}

	public void setTanggal(Date tanggal) {
		this.tanggal = tanggal;
	}

	
	
	
	
}
