package cn.axzo.msg.center.domain.dto;

import com.alibaba.fastjson.JSON;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * @description xxx
 * @author cold_blade
 * @date 2023/9/15
 * @version 1.0
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class MessageRouterDTO implements Serializable {

    private static final long serialVersionUID = -4259721279188990067L;

    /**
     * 路由地址
     */
    private String url;
    /**
     * 路由类型
     */
    private Integer type;

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