package com.jasamedika.medifirst2000.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.jasamedika.medifirst2000.base.BaseMaster;

@Entity
@Table(name="CekListGedungBangunan_M")
public class CekListGedungBangunan extends BaseMaster{
	@Id
	@GeneratedValue(
			strategy = GenerationType.SEQUENCE, 
			generator = "public.ceklistgedungbangunan_m_id_seq")
	@javax.persistence.SequenceGenerator(
			name = "public.ceklistgedungbangunan_m_id_seq", 
			sequenceName = "public.ceklistgedungbangunan_m_id_seq", 
			allocationSize = 1)
	@Column(name = "id")
	protected Integer id;
	
	@Column(name="IdParent")
	private Integer idParent;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getIdParent() {
		return idParent;
	}

	public void setIdParent(Integer idParent) {
		this.idParent = idParent;
	}
	
	
	
}
