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

import cn.axzo.basics.common.page.PageRequest;
import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

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

/**
 * @author cold_blade
 * @date 2023/10/16
 * @version 1.0
 */
@Setter
@Getter
public class MessageTemplateGroupRelationPageRequest extends PageRequest implements Serializable {

    private static final long serialVersionUID = -4297862224638557525L;

    /**
     * 分类结点编码
     */
    @NotBlank(message = "nodeCode is required")
    private String nodeCode;
    /**
     * 模板名称
     */
    private String templateName;

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