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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

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

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

    @Schema(description = "原材料名称", example = "赵六")
    private String rawName;

    @Schema(description = "原材料图片", example = "https://www.iocoder.cn")
    private String rawImgUrl;

    @Schema(description = "原材料描述")
    private String rawDescribe;

    @Schema(description = "菜品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23140")
//    @NotNull(message = "菜品编号不能为空")
    private Long dishesId;

    @Schema(description = "原材料产地")
    private String rawOrigin;

    @Schema(description = "原材料价格", example = "32582")
    private BigDecimal rawPrice;

}