package com.bonus.canteen.core.menu.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
public class MenuRecipeDetailAddDTO{
   @ApiModelProperty("餐次类型")
   private @NotNull(
           message = "{menu_mealtime_type_null}"
   ) Integer mealtimeType;
   @ApiModelProperty("发布菜品")
   private @Valid List<MenuRecipeDishesAddDTO> dishesList;
}
