package cn.axzo.msg.center.service.pending.response;

import cn.axzo.im.center.common.enums.AppTypeEnum;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yanglin
 */
@Setter
@Getter
public class CardSendResponse {

    /**
     * 卡片信息
     */
    private List<CardInfo> cards = new ArrayList<>();

    public void addCard(CardInfo cardInfo) {
        cards.add(cardInfo);
    }

    @Setter
    @Getter
    public static class CardInfo {
        private Long id;
        private String identityCode;
        private String bizMessageId;
        private Long receiverPersonId;
        private Long receiverOuId;
        private Long receiverWorkspaceId;
        private AppTypeEnum receiverAppType;
        private String state;
        private Long imTaskId;
    }

}