package com.jasamedika.medifirst2000.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.dto.ProdukDto;
import com.jasamedika.medifirst2000.enums.JenisMappingProdukPaket;
import com.jasamedika.medifirst2000.helper.Caption;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author Salman Manoe
 * @version 1.0.0
 * @since 21 Sep 2023
 */
@Getter
@Setter
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MapProdukPaketVO extends BaseTransactionVO {

	@NotNull(message = "Paket tidak boleh kosong")
	@Caption(value = "Paket")
	private ProdukDto paket;

	@Caption(value = "ID Paket")
	private Integer paketId;

	@NotNull(message = "Produk paket tidak boleh kosong")
	@Caption(value = "Produk Paket")
	private ProdukDto produkEntri;

	@Caption(value = "ID Produk Paket")
	private Integer produkEntriId;

	private Integer jumlah;

	private JenisMappingProdukPaket jenisMapping;

	@Caption(value = "Status Aktif")
	private Boolean isAktif;

}
