package com.liquidnet.service.goblin.dto.vo;

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

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 收钱吧-按演出查询关联商品列表（与 {@link GoblinFrontSelectGoodVo} 字段名一致，便于前端复用同一解析逻辑）
 */
@ApiModel(value = "GoblinSqbPerformanceSelectGoodVo", description = "收钱吧-演出关联商品列表")
@Data
public class GoblinSqbPerformanceSelectGoodVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "满足展示条件、分页前的商品总数（按 SPU 去重后）")
    private int count;

    @ApiModelProperty(value = "商品列表，元素为 GoblinSqbPerformanceGoodsInfoVo（含 price/settlementPrice、goblinGoodsSkuInfoVolist 等）")
    private List<GoblinSqbPerformanceGoodsInfoVo> goblinGoodsInfoVoList;

    public static GoblinSqbPerformanceSelectGoodVo getNew() {
        GoblinSqbPerformanceSelectGoodVo vo = new GoblinSqbPerformanceSelectGoodVo();
        vo.setGoblinGoodsInfoVoList(new ArrayList<GoblinSqbPerformanceGoodsInfoVo>());
        return vo;
    }
}
