package com.cyksj.model.request.corp.message;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

/**
 * @author chan
 * @date 2023/5/10 3:12 PM
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
public class WxCorpAgentMessage {

    /**
     * The Msg type.
     */
    private String msgtype;
    /**
     * The Agent id.
     */
    private Integer agentid;

    private String touser;

    private String safe;

    private TextCard textcard;

    private News news;


    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Data
    public static class News{
        private List<NewsArticle> articles;
    }
}
