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

import com.fasterxml.jackson.annotation.JsonFormat;
import com.liquidnet.commons.lang.util.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 草莓护照-签证页卡片（type=4，独立展示，不出现在首页徽章货架/徽章墙）
 */
@Data
@ApiModel("草莓护照-签证页卡片")
public class AdamCaomeiVisaCardVo {

    @ApiModelProperty("签证页配置ID（徽章ID）")
    private String badgeId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("副标题")
    private String subTitle;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("分享文案")
    private String shareText;

    @ApiModelProperty("关联音乐节/演出ID")
    private String performanceId;

    @ApiModelProperty("关联音乐节/演出名称")
    private String performanceName;

    @ApiModelProperty("是否已获得（本接口仅从缓存/库读取已发放记录，恒为 true）")
    private boolean claimed;

    @ApiModelProperty("获得时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DateUtil.DATE_FULL_STR)
    private Date claimedAt;
}
