package yangtz.cs.liu.wechat.domain;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @author lyric
 * @date 2022/11/7 20:35
 */
@Data
@XmlRootElement(name = "xml")
@XmlAccessorType(XmlAccessType.FIELD)
public class NewsMessage extends OutMessage {

    @XmlElement(name = "ArticleCount")
    private Integer articleCount;

    @XmlElement(name = "Articles")
    private ArticleMessage articles;
}
