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

	private static final long serialVersionUID = -2249080125161409770L;

	@Caption(value = "Kode Proses Cuci")
	@Column(name = "KdProsesCuci", nullable = false)
	private String kdProsesCuci;

	@Caption(value = "Proses Cuci")
	@Column(name = "ProsesCuci", nullable = false)
	private String prosesCuci;

	public String getKdProsesCuci() {
		return kdProsesCuci;
	}

	public void setKdProsesCuci(String kdProsesCuci) {
		this.kdProsesCuci = kdProsesCuci;
	}

	public String getProsesCuci() {
		return prosesCuci;
	}

	public void setProsesCuci(String prosesCuci) {
		this.prosesCuci = prosesCuci;
	}

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

	public Integer getId() {

		return id;
	}

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