package com.jasamedika.medifirst2000.vo;

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

import javax.validation.constraints.NotNull;

/**
 * DTO for {@link com.jasamedika.medifirst2000.entities.MapProdukPaketToProduk}
 */
@Getter
@Setter
@JsonInclude(Include.NON_NULL)
public class MapProdukPaketToProdukVO extends BaseTransactionVO {
	@NotNull(message = "Mapping produk paket tidak boleh kosong")
	@Caption(value = "Mapping produk paket")
	private MapProdukPaketVO mapProdukPaket;

	private String mapProdukPaketId;

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

	@Caption(value = "ID Produk")
	private Integer produkRegulerId;
}