package com.m2pool.lease.dto.v2;

import com.m2pool.lease.dto.MachineTotalPriceDto;
import com.m2pool.lease.dto.PayConfigDto;
import com.m2pool.lease.dto.ProductMachineDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * <p>
 * 购物车一层列表
 * </p>
 *
 * @author yyb
 * @since 2025-08-05
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "购物车一层商铺列表返回对象V2",value = "ShopCartV2Dto")
public class ShopCartV2Dto {

    @ApiModelProperty(value = "店铺id")
    private Long id;
    @ApiModelProperty(value = "店铺名称")
    private String name;
    @ApiModelProperty(value = "店铺下机器总价")
    private BigDecimal totalPrice;
    @ApiModelProperty(value = "店铺下机器总数")
    private Integer totalMachine;

    @ApiModelProperty(value = "总价集合")
    private List<MachineTotalPriceDto> totalPriceList;

    @ApiModelProperty(value = "商品支持的支付地址")
    private List<PayConfigDto> payConfigList;

    @ApiModelProperty(value = "商品机器列表")
    List<CartMachineInfoDto> cartMachineInfoDtoList;
}
