package cn.axzo.msg.center.service.general.request;

import cn.axzo.msg.center.service.dto.IdentityDTO;
import com.alibaba.fastjson.JSON;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author cold_blade
 * @date 2023/10/23
 * @version 1.0
 */
@Setter
@Getter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OldMsgStatWithMultiIdentifiesRequest implements Serializable {

    private static final long serialVersionUID = -7739989493953842047L;

    /**
     * 自然人id
     */
    @NotNull(message = "personId is required")
    private Long personId;
    /**
     * 身份列表
     */
    private List<IdentityDTO> identities;

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