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;
import com.jasamedika.medifirst2000.helper.Caption;

@Entity
@Table(name = "PraAnestesi_M")
public class PraAnestesi extends BaseMaster {
	@Id
	@GeneratedValue(
			strategy = GenerationType.SEQUENCE, 
			generator = "public.praanestesi_id_seq")
	@javax.persistence.SequenceGenerator(
			name = "public.praanestesi_id_seq", 
			sequenceName = "public.	", 
			allocationSize = 1)
	@Column(name = "id")
	protected Integer id;

	@Caption(value="Nama")
	@Column(name="Nama", nullable = true, length = 150)
	private String nama;
	
	@Caption(value="NoUrut")
	@Column(name="NoUrut", nullable = true)
	private Integer noUrut;
	
	@Caption(value="Keterangan")
	@Column(name="Keterangan", nullable = true, length = 100)
	private String Keterangan;
	
	//flag Pasein = 0, flag untuk Dokter/Perawat = 1
	@Caption(value="flagPasienDokter")
	@Column(name = "FlagPaseinDokter", nullable = false)
	private Integer flagPaseinDokter;
	
	@Caption(value="HeaderNo")
	@Column(name="HeaderNo", nullable = true)
	private Integer headerNo;
	

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the nama
	 */
	public String getNama() {
		return nama;
	}

	/**
	 * @param nama the nama to set
	 */
	public void setNama(String nama) {
		this.nama = nama;
	}

	/**
	 * @return the noUrut
	 */
	public Integer getNoUrut() {
		return noUrut;
	}

	/**
	 * @param noUrut the noUrut to set
	 */
	public void setNoUrut(Integer noUrut) {
		this.noUrut = noUrut;
	}

	/**
	 * @return the keterangan
	 */
	public String getKeterangan() {
		return Keterangan;
	}

	/**
	 * @param keterangan the keterangan to set
	 */
	public void setKeterangan(String keterangan) {
		Keterangan = keterangan;
	}

	/**
	 * @return the flagPaseinDokter
	 */
	public Integer getFlagPaseinDokter() {
		return flagPaseinDokter;
	}

	/**
	 * @param flagPaseinDokter the flagPaseinDokter to set
	 */
	public void setFlagPaseinDokter(Integer flagPaseinDokter) {
		this.flagPaseinDokter = flagPaseinDokter;
	}

	/**
	 * @return the headerNo
	 */
	public Integer getHeaderNo() {
		return headerNo;
	}

	/**
	 * @param headerNo the headerNo to set
	 */
	public void setHeaderNo(Integer headerNo) {
		this.headerNo = headerNo;
	}
	
	
	

}
