package shop.alien.entity.store.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 套餐菜品项 DTO
 * 用于解析前端传入的 groupJson 中的菜品信息
 *
 * @author auto-generated
 * @since 2025-01-01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "CuisineItemDto", description = "套餐菜品项")
public class CuisineItemDto {

    @ApiModelProperty(value = "菜品ID")
    private Integer cuisineId;

    @ApiModelProperty(value = "菜品名称")
    private String cuisineName;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;
}

