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 icon;

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

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

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

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