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

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

import javax.validation.Valid;
import java.time.LocalDate;
import java.util.List;
@Data
public class MenuRecipeDateAddDTO {
   @ApiModelProperty("发布日期")
   private LocalDate applyDate;
   @ApiModelProperty("启用时间(周)")
   private Integer applyWeek;
   @ApiModelProperty("菜谱详情")
   private @Valid List<MenuRecipeDetailAddDTO> detailList;
}
