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;

@Data
@ApiModel("草莓护照-用户已获徽章（徽章墙、签证页卡片等共用）")
public class AdamCaomeiPassportUserClaimedBadgeVo {

    @ApiModelProperty("徽章ID")
    private String badgeId;

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

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

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

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

    @ApiModelProperty("类型 1护照类型徽章 2演出类型徽章 3特殊徽章 4签证页")
    private Integer type;

    @ApiModelProperty("关联音乐节/演出ID（type=2、type=4 有值）")
    private String performanceId;

    @ApiModelProperty("关联音乐节/演出名称（type=2、type=4 有值）")
    private String performanceName;

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

    @ApiModelProperty("获取途径: 1-绑定护照自动发放, 2-购票自动发放, 3-补签审核通过, 4-现场管理员手动发放")
    private Integer source;
}
