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;

/**
 * 管理端拼团订单详情 VO（与列表 VO 分离）。
 */
@Data
public class KylinGroupBuyPartnerOrderDetailVo implements Serializable {
    private static final long serialVersionUID = 1L;

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

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

    @ApiModelProperty(value = "拼团活动名称")
    private String activityName;

    @ApiModelProperty(value = "订单状态 0拼团中 1拼团成功 2拼团失败 -1待支付发起 3已取消")
    private Integer status;

    @ApiModelProperty(value = "订单金额（团长票单实付）")
    private BigDecimal orderAmount;

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

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

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

    @ApiModelProperty(value = "参团成员")
    private List<KylinGroupBuyPartnerOrderMemberVo> members;

    @ApiModelProperty(value = "发起人用户ID")
    private String leaderUserId;

    @ApiModelProperty(value = "发起人昵称")
    private String leaderNickname;

    @ApiModelProperty(value = "发起人头像")
    private String leaderAvatar;
}
