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

import cn.axzo.msg.center.service.enums.AppTerminalTypeEnum;
import cn.axzo.msg.center.service.enums.IdentityTypeEnum;
import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

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

/**
 * @description
 *
 * @author cold_blade
 * @date 2023/11/13
 * @version 1.0
 */
@Setter
@Getter
public class PendingMessageCountUncompletedRequest implements Serializable {

    private static final long serialVersionUID = 4714687359949832971L;

    /**
     * 当前登录账户的自然id(前端不care)
     */
    @NotNull(message = "personId is required")
    private Long personId;
    /**
     * 单位id
     */
    private Long ouId;
    /**
     * 当前登录账户的身份id(前端不care)
     */
    private Long identityId;
    /**
     * 当前登录账户的身份类型(前端不care)
     */
    private IdentityTypeEnum identityType;
    /**
     * 应用终端类型
     */
    private AppTerminalTypeEnum terminalType;

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