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

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
public class GoblinArtistTopicVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String topicId;
    private String storeId;
    private String topicName;
    private String artistId;
    private Integer templateType;
    private String bannerUrl;
    private Integer bannerHeight;
    private LocalDateTime onSaleStart;
    private LocalDateTime onSaleEnd;
    private Integer status;
    private Integer sort;
    private Integer recommendPosition;
    private Integer delFlg;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private List<GoodsItem> goods = new ArrayList<>();

    @Data
    public static class GoodsItem implements Serializable {

        private static final long serialVersionUID = 1L;

        private String spuId;
        private Integer sort;
        private String name;
        private String coverPic;
        private BigDecimal sellPrice;
    }
}
