package shop.alien.entity.store.vo;

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

import java.math.BigDecimal;

/**
 * 订单变更记录商品项VO
 *
 * @author system
 * @since 2025-02-02
 */
@Data
@ApiModel(value = "OrderChangeLogItemVO对象", description = "订单变更记录商品项")
public class OrderChangeLogItemVO {

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

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

    @ApiModelProperty(value = "菜品类型(1:单品, 2:套餐)")
    private Integer cuisineType;

    @ApiModelProperty(value = "菜品图片")
    private String cuisineImage;

    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;

    @ApiModelProperty(value = "数量变化（新增的数量，正数表示增加，负数表示减少）")
    private Integer quantityChange;

    @ApiModelProperty(value = "变化前数量")
    private Integer quantityBefore;

    @ApiModelProperty(value = "变化后数量")
    private Integer quantityAfter;

    @ApiModelProperty(value = "金额变化")
    private BigDecimal amountChange;

    @ApiModelProperty(value = "备注")
    private String remark;

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