package com.jasamedika.medifirst2000.entities;

import java.io.Serializable;
import org.hibernate.envers.Audited;
import javax.persistence.*;

import org.hibernate.validator.constraints.NotEmpty;

import com.jasamedika.medifirst2000.base.BaseMaster;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.internal.util.logging.Messages;

import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.google.gson.annotations.Expose;
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 statuspekerjaan
 * 
 * @author Generator
 */
@Entity // @Audited
@Table(name = "StatusPekerjaan_M")
public class StatusPekerjaan extends BaseMaster {
	
	@NotNull(message = "Status Pekerjaan tidak boleh kosong")
	@Column(name = "statuspekerjaan", nullable = false, length = 30)
	@Caption(value = "Status Pekerjaan")
	private String statusPekerjaan;

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


	public String getStatusPekerjaan() {
		return statusPekerjaan;
	}


	public void setStatusPekerjaan(String statusPekerjaan) {
		this.statusPekerjaan = statusPekerjaan;
	}


	public Integer getId() {
		return id;
	}


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


	

}