package com.jasamedika.medifirst2000.dto;

import com.jasamedika.medifirst2000.helper.Caption;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author salmanoe
 * @since Jan 20, 2023
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SlipGajiDto {
	@Caption(value = "ID Slip Gaji")
	private String id;

	@NotNull(message = "ID Pegawai must not be null")
	@Caption(value = "ID Pegawai")
	private Integer idPegawai;

	@Caption(value = "Nama Pegawai")
	private String namaPegawai;

	@Caption(value = "NIP Pegawai")
	private String nip;

	@Caption(value = "Jabatan")
	private String jabatan;

	@Caption(value = "Unit Kerja")
	private String unitKerja;

	@Caption(value = "Subunit Kerja")
	private String subUnitKerja;

	@Caption(value = "Status Kepegawaian")
	private String statusKepegawaian;

	@Caption(value = "Grade")
	private String grade;

	@Caption(value = "Bulan")
	private Long bulan;

	@Caption(value = "Komponen Gaji")
	private List<SlipGajiKomponenDto> komponen;
}
