package cn.iocoder.yudao.module.system.controller.admin.dishes.vo;

import cn.iocoder.yudao.module.system.controller.admin.dishesnutrition.vo.DishesNutritionSaveReqVO;
import cn.iocoder.yudao.module.system.controller.admin.dishesraw.vo.DishesRawSaveReqVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Schema(description = "管理后台 - 菜品管理新增/修改 Request VO")
@Data
public class DishesSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "16516")
    private Long id;

    @Schema(description = "菜品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
//    @NotEmpty(message = "菜品名称不能为空")
    private String dishesName;

    @Schema(description = "菜品图片", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    private String dishesImageUrl;

    @Schema(description = "菜品属性", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotEmpty(message = "菜品属性不能为空")
    private String dishesAttribute;

    @Schema(description = "基本价格(标准)", requiredMode = Schema.RequiredMode.REQUIRED, example = "27937")
//    @NotNull(message = "基本价格(标准)不能为空")
    private BigDecimal dishesBasePrice;

    @Schema(description = "会员价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "21531")
//    @NotNull(message = "会员价格不能为空")
    private BigDecimal dishesVipBasePrice;

    @Schema(description = "门店编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
//    @NotNull(message = "门店编号不能为空")
    private Long  carteenId;

    @Schema(description = "分类编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
//    @NotNull(message = "分类编号不能为空")
    private Long  typeId;
    @Schema(description = "称重价格(标准)", requiredMode = Schema.RequiredMode.REQUIRED, example = "6375")
    private BigDecimal dishesWeighPrice;

    @Schema(description = "称重会员价格(标准)", requiredMode = Schema.RequiredMode.REQUIRED, example = "9200")

    private BigDecimal dishesVipWeighPrice;

    @Schema(description = "厨师")
    private String dishecCook;

    @Schema(description = "菜品类型", example = "1")
    private String dishecType;

    @Schema(description = "总价格", example = "1")
    private BigDecimal dishesSumPrice;
    @Schema(description = "菜品总重量", example = "1")
    private BigDecimal dishesNumber;

    @Schema(description = "菜品营养", example = "1")
    private List<DishesNutritionSaveReqVO> dishesNutritionList;
    @Schema(description = "菜品原材料", example = "1")
    private List<DishesRawSaveReqVO> dishesRawList;
}