package com.codvision.auth.entity.ding.gov.msg;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author hxl
 */
@Data
@NoArgsConstructor
public class DingTextMsg {

    private String msgtype = "text";
    private TextMsg text;

    public DingTextMsg(TextMsg text) {
        this.text = text;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class TextMsg {
        // 消息内容
        private String content;
    }
}
