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 = "PeriodePelaporan_M")
public class PeriodePelaporan extends BaseMaster {

	@Column(name = "periodePelaporan")
	@Caption(value = "Periode Pelaporan")
	private String periodePelaporan;

	public String getPeriodePelaporan() {
		return periodePelaporan;
	}

	public void setPeriodePelaporan(String periodePelaporan) {
		this.periodePelaporan = periodePelaporan;
	}

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

	public Integer getId() {

		return id;
	}

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