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;

@ApiModel(value = "GoblinFrontArtistTopicHomeVo", description = "C端艺人专题首页入口")
@Data
public class GoblinFrontArtistTopicHomeVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("推荐位专题（按推荐号位升序）")
    private List<TopicItem> topics = new ArrayList<>();

    @ApiModelProperty("可见专题总数（更多入口）")
    private long total;

    @Data
    public static class TopicItem implements Serializable {

        private static final long serialVersionUID = 1L;

        @ApiModelProperty("专题ID")
        private String topicId;
        @ApiModelProperty("专题名称")
        private String topicName;
        @ApiModelProperty("专题banner")
        private String bannerUrl;
        @ApiModelProperty("banner高度px")
        private Integer bannerHeight;
        @ApiModelProperty("推荐号位1~10")
        private Integer recommendPosition;
        @ApiModelProperty("专题标签，如HOT/上新")
        private String tag;
        @ApiModelProperty("关联艺人ID")
        private String artistId;
        @ApiModelProperty("艺人名称")
        private String artistName;
        @ApiModelProperty("头像：有艺人取艺人头像，否则取自定义头像")
        private String avatarUrl;
    }
}
