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 = "UnitCostJenis_M")
public class UnitCostJenis extends BaseMaster {
	
	@Column(name = "KdJenisUnitCost", nullable = false)
	@Caption(value = "KdJenisUnitCost")
	private String kdJenisUnitCost;
	
	@Column(name = "NamaJenisUnitCost", nullable = true)
	@Caption(value = "NamaJenisUnitCost")
	private String namaJenisUnitCost;


	public String getKdJenisUnitCost() {
		return kdJenisUnitCost;
	}

	public void setKdJenisUnitCost(String kdJenisUnitCost) {
		this.kdJenisUnitCost = kdJenisUnitCost;
	}

	public String getNamaJenisUnitCost() {
		return namaJenisUnitCost;
	}

	public void setNamaJenisUnitCost(String namaJenisUnitCost) {
		this.namaJenisUnitCost = namaJenisUnitCost;
	}

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

	public Integer getId() {
		return id;
	}

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