package com.jasamedika.medifirst2000.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.jasamedika.medifirst2000.base.BaseMaster;
import com.jasamedika.medifirst2000.helper.Caption;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

@Entity
@Table(name = "SatuanIndikator_M")
public class SatuanIndikator extends BaseMaster {

	@Column(name = "satuanIndikator", nullable = false)
	@Caption(value = "Satuan Indikator")
	private String satuanIndikator;

	public String getSatuanIndikator() {
		return satuanIndikator;
	}

	public void setSatuanIndikator(String satuanIndikator) {
		this.satuanIndikator = satuanIndikator;
	}

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.satuanindikator_m_id_seq")
	@javax.persistence.SequenceGenerator(name = "public.satuanindikator_m_id_seq", sequenceName = "public.satuanindikator_m_id_seq", allocationSize = 1)
	@Column(name = "id")
	protected Integer id;

	public Integer getId() {

		return id;
	}

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