package shop.alien.entity.store.dto;


import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(value = "CuisineComboDto", description = "添加美食套餐dto")
public class CuisineComboDto {

    @ApiModelProperty(value = "id，修改时必传")
    @TableField("id")
    private Integer id;

    @ApiModelProperty(value = "价目表内容的json数组,添加修改 套餐 时必传")
    @TableField("group_json")
    private String groupJson;

    @ApiModelProperty(value = "菜品原料json(原料名称:name,所需重量:height,成本价:cost,推荐价格:suggest)，添加修改 单品 时必传")
    @TableField("raw_json")
    private String rawJson;

    @ApiModelProperty(value = "美食类型: 1-单品，2-套餐")
    @TableField("cuisine_type")
    private Integer cuisineType;

    @ApiModelProperty(value = "菜品分类ids（JSON数组，如：[1,2,3]）")
    @TableField("category_ids")
    private String categoryIds;

    @ApiModelProperty(value = "商户id")
    @TableField("store_id")
    private Integer storeId;

    @ApiModelProperty(value = "菜名/套餐名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "总价")
    @TableField("total_price")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "首页展示（0:否, 1:是）")
    @TableField("is_homepage_display")
    private Integer isHomepageDisplay;

    @ApiModelProperty(value = "菜品标签（JSON数组，如：[\"招牌菜\",\"推荐\"]）")
    @TableField("tags")
    private String tags;

    @ApiModelProperty(value = "菜品短评")
    @TableField("dish_review")
    private String dishReview;

    @ApiModelProperty(value = "图片列表，最多 9 张 URL")
    @TableField("images")
    private String images;

    @ApiModelProperty(value = "图文详情-图片")
    @TableField("image_content")
    private String imageContent;

    @ApiModelProperty(value = "图文详情-文字")
    @TableField("detail_content")
    private String detailContent;

    @ApiModelProperty(value = "菜品描述")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "补充说明")
    @TableField("extra_note")
    private String extraNote;

    @ApiModelProperty(value = "是否需要预约：0=否，1=是")
    @TableField("need_reserve")
    private Integer needReserve;

    @ApiModelProperty(value = "预约规则")
    @TableField("reserve_rule")
    private String reserveRule;

    @ApiModelProperty(value = "适用人数")
    @TableField("people_limit")
    private String peopleLimit;

    @ApiModelProperty(value = "使用规则")
    @TableField("usage_rule")
    private String usageRule;

    @ApiModelProperty(value = "状态：0-待审核 1-审核通过 2-审核拒绝")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "拒绝原因（审核失败原因）")
    @TableField("rejection_reason")
    private String rejectionReason;
}
