package cn.reghao.tnb.message.api.model.resp;

import lombok.AllArgsConstructor;

import java.io.Serializable;

/**
 * @author reghao
 * @date 2022-04-19 16:07:53
 */
@AllArgsConstructor
public class EvtLoginResp implements Serializable {
    private static final long serialVersionUID = 1L;

    private long userId;
    private int status;

    public EvtLoginResp(long userId, boolean online) {
        this.userId = userId;
        this.status = online ? 1 : 0;
    }
}
