package com.jasamedika.medifirst2000.vo;

import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.helper.Caption;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * @author salmanoe
 * @version 1.0.0
 * @since 07/11/2023
 */
@Getter
@Setter
public class RekapLogbookDokterVO extends BaseTransactionVO {
	@NotNull(message = "Pegawai tidak boleh kosong")
	@Caption(value = "Pegawai")
	private PegawaiVO pegawai;

	private Integer pegawaiId;

	@NotBlank(message = "Jenis logbook tidak boleh kosong")
	@Size(max = 16, message = "Jenis logbook maksimal {max} karaketer")
	private String jenisLogbook;

	@Size(max = 16, message = "Jenis ruangan maksimal {max} karaketer")
	private String jenisRuangan;

	@NotNull(message = "Kelompok pasien tidak boleh kosong")
	@Caption(value = "Kelompok Pasien")
	private KelompokPasienVO kelompokPasien;

	private Integer kelompokPasienId;

	@Size(max = 8, message = "Bulan pulang ibu maksimal {max} karaketer")
	private String bulanPulangIbu;

	private Date bulan;

	private Double jumlah;

	private Double capaian;
}
