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

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class CookRecipeBindDTO implements Serializable {
   @ApiModelProperty("菜谱id")
   private @NotNull(message = "菜谱id不能为空")
   Long recipeId;

   @ApiModelProperty("绑定类型(1-当餐点餐,2-预订餐,3-一周菜谱,4-扫码点餐,5-自助终端,6-自助餐线/小碗菜餐线,7-智慧餐台/消费机,8-点餐机/手持机/平板,9-信息发布屏,10-菜品识别)")
   private @NotNull(message = "绑定类型不能为空")
   Integer bindType;

   @ApiModelProperty("操作类型(1-发布,2-解绑)")
   private @NotNull(message = "操作类型不能为空")
   Integer handleType;

   @ApiModelProperty("餐线id")
   private Long mealLineId;

   @ApiModelProperty("档口id")
   private Long stallId;

   @ApiModelProperty("食堂id")
   private Long canteenId;
}
