package com.liquidnet.service.kylin.dto.vo.groupbuy;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 拼团详情（/detail 用）。
 */
@Data
public class KylinGroupBuyOrderDetailVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "拼团订单ID")
    private String groupOrderId;

    @ApiModelProperty(value = "活动ID")
    private String activityId;

    @ApiModelProperty(value = "团长用户ID")
    private String leaderUserId;

    @ApiModelProperty(value = "目标成团人数")
    private Integer targetCount;

    @ApiModelProperty(value = "当前参团人数")
    private Integer currentCount;

    @ApiModelProperty(value = "状态 0拼单中 1拼成 2失败 3已取消")
    private Integer status;

    @ApiModelProperty(value = "是否公开 1公开 0私密")
    private Integer isPublic;

    @ApiModelProperty(value = "分享token，分享/私密团加入时携带")
    private String shareToken;

    @ApiModelProperty(value = "过期时间")
    private String expiresAt;

    @ApiModelProperty(value = "创建时间")
    private String createdAt;

    @ApiModelProperty(value = "演出ID")
    private String performanceId;

    @ApiModelProperty(value = "演出名称")
    private String performanceName;

    @ApiModelProperty(value = "场次ID")
    private String timeId;

    @ApiModelProperty(value = "场次名称")
    private String timeTitle;

    @ApiModelProperty(value = "票种ID")
    private String ticketId;

    @ApiModelProperty(value = "票种名称")
    private String ticketName;

    @ApiModelProperty(value = "原价")
    private BigDecimal originalPrice;

    @ApiModelProperty(value = "拼团单价")
    private BigDecimal groupBuyPrice;

    @ApiModelProperty(value = "当前用户是否团长 1是 0否")
    private Integer isLeader;

    @ApiModelProperty(value = "拼团成员信息")
    private List<GroupBuyMemberUserInfoVo> members;
}
