package com.jasamedika.medifirst2000.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

import org.hibernate.envers.Audited;

import com.jasamedika.medifirst2000.base.BaseMaster;
import com.jasamedika.medifirst2000.helper.Caption;
import org.hibernate.envers.Audited;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * class Agama
 * 
 * @author Generator
 */
@Entity // @Audited
@Table(name = "MataAnggaran_M")
public class MataAnggaran extends BaseMaster {

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

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

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

	public String getKodeMataAnggaran() {
		return kodeMataAnggaran;
	}

	public void setKodeMataAnggaran(String kodeMataAnggaran) {
		this.kodeMataAnggaran = kodeMataAnggaran;
	}

	public String getNamaMataAnggaran() {
		return namaMataAnggaran;
	}

	public void setNamaMataAnggaran(String namaMataAnggaran) {
		this.namaMataAnggaran = namaMataAnggaran;
	}

	public String getKeterangan() {
		return keterangan;
	}

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

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

	public Integer getId() {

		return id;
	}

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