package com.jasamedika.medifirst2000.entities;

import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@Entity
@Table(name = "PegawaiHistoriAbsensi_T")
public class HistoriAbsensiPegawai extends BaseTransaction {

	@NotNull(message = "Nomor Histori tidak boleh kosong")
	@Column(name = "NoHistori", nullable = false)
	@Caption("Nomor Histori")
	private String noHistori;

}
