package com.jasamedika.medifirst2000.entities;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.*;

import com.fasterxml.jackson.annotation.JsonBackReference;
import com.jasamedika.medifirst2000.base.BaseMaster;


import javax.validation.constraints.NotNull;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 *  class JenisSk
 * 
 * @author Generator
 */
@Entity
@Table(name = "sdm_JenisSk_T")
public class JenisSk  extends BaseMaster{
	

	@Column(name = "Kode", nullable = false , length = 100)
	 @Caption(value = "Kode")
	private Integer kode ;
	public Integer getKode() {
		return kode ;
	}
	public void setKode(Integer kode ) {
		this.kode  = kode ;
	}

	@Column(name = "Name", nullable = false , length = 100)
	 @Caption(value = "Name")
	private String name ;
	public String getName() {
		return name ;
	}
	public void setName(String name ) {
		this.name  = name ;
	}

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

	public Integer getId() {
		return id;
	}

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