package com.jasamedika.medifirst2000.dto;

import com.jasamedika.medifirst2000.enums.JenisLog;
import com.jasamedika.medifirst2000.helper.Caption;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author salmanoe
 * @version 1.0.0
 * @since 05/11/2024
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LogbookKinerjaDetailLogReqDto {

	@Caption(value = "ID Catatan Kinerja")
	private String catatanKinerjaId;

	@NotNull(message = "Jenis log tidak boleh kosong")
	private JenisLog jenisLog;

	@Size(max = 300, message = "Keterangan maksimal {max} karakter")
	@Caption(value = "Keterangan")
	private String keterangan;

}
