package com.jasamedika.medifirst2000.dto;

import com.jasamedika.medifirst2000.helper.Caption;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author Salman
 *
 */
@Getter
@Setter
@AllArgsConstructor
public class KomponenGajiDto {
	@Caption(value = "ID")
	protected Integer id;

	@NotNull(message = "Nama komponen tidak boleh kosong")
	@Caption(value = "Nama Komponen")
	private String namaKomponen;

	@NotNull(message = "Jenis komponen tidak boleh kosong")
	@Caption(value = "Jenis Komponen")
	private Integer jenisKomponen;

	@Caption(value = "Urutan")
	private Integer urutan;
}
