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

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

import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
public class MenuRecipeDishesAddDTO implements Serializable {
   private Long id;
   @ApiModelProperty("菜品id")
   private @NotNull(
   message = "{menu_dishes_id_null}"
) Long dishesId;
   @ApiModelProperty("菜品单价")
   private @NotNull(
   message = "{menu_price_null}"
) Integer price;
   @ApiModelProperty("规格类型(1-标准,2-大份,3-小份,4-50g,5-100g)")
   private Long sizeType;
   @ApiModelProperty("供应数量")
   private @NotNull(
   message = "{menu_supply_num_null}"
) Integer supplyNum;
   @ApiModelProperty("销售数量")
   private Integer saleNum;
   @ApiModelProperty("个人限购数量")
   private @NotNull(
   message = "{menu_restrict_num_null}"
) Integer restrictNum;
   @ApiModelProperty("菜品价格(优惠价)")
   private Integer salePrice;
   @ApiModelProperty("是否推荐")
   private Integer recommendFlag;
   @ApiModelProperty("排序号")
   private Integer sortNum;
}
