package cn.axzo.msg.center.message.service.impl.oldmsg;

import cn.axzo.msg.center.service.dto.IdentityDTO;
import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

import java.util.List;

/**
 * @author yanglin
 */
@Getter
@RequiredArgsConstructor
public class OldMsgIdentifyInfo {
    private final Long personId;
    private final List<IdentityDTO> identities;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}