package com.tvd12.ezyfoxserver.response;

import com.tvd12.ezyfox.builder.EzyArrayBuilder;
import com.tvd12.ezyfox.constant.EzyConstant;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class EzyDisconnectParams extends EzySimpleResponseParams {
    private static final long serialVersionUID = -2559755055442215708L;

    protected EzyConstant reason;

    @Override
    protected EzyArrayBuilder doSerialize() {
        return newArrayBuilder()
            .append(reason.getId());
    }
}
