package shop.alien.entity.store.dto;

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

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

/**
 * 购物车DTO
 *
 * @author system
 * @since 2025-01-XX
 */
@Data
@ApiModel(value = "CartDTO对象", description = "购物车")
public class CartDTO {

    @ApiModelProperty(value = "桌号ID")
    private Integer tableId;

    @ApiModelProperty(value = "桌号")
    private String tableNumber;

    @ApiModelProperty(value = "门店ID")
    private Integer storeId;

    @ApiModelProperty(value = "购物车商品列表")
    private List<CartItemDTO> items;

    @ApiModelProperty(value = "总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "商品总数量")
    private Integer totalQuantity;
}
