package cn.axzo.msg.center.service.group.response;

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

import java.io.Serializable;

/**
 * @author cold_blade
 * @date 2023/11/13
 * @version 1.0
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class MessageGroupNodeBriefResponse implements Serializable {

    private static final long serialVersionUID = -4032240752827379030L;

    /**
     * 分类名称
     */
    private String name;
    /**
     * 分类编码
     */
    private String code;

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