package cn.reghao.tnb.message.api.dto.msg;

import cn.reghao.tnb.message.api.constant.MsgType;
import cn.reghao.tnb.message.api.constant.NotifyType;
import lombok.Getter;
import lombok.Setter;

/**
 * @author reghao
 * @date 2023-08-28 13:55:03
 */
@Getter
@Setter
public class VerifyMessage extends BaseMessage {
    private String title;
    private String content;

    public VerifyMessage(String title, String content, String receiver) {
        super(NotifyType.webhook.getValue(), MsgType.verifyMsg.getValue(), receiver);
        this.title = title;
        this.content = content;
    }
}
