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.io.Serializable;

/**
 * @author lyric
 * @date 2022/11/7 20:27
 */
@Data
@XmlRootElement(name = "xml")
@XmlAccessorType(XmlAccessType.FIELD)
public class Articles implements Serializable {

    /** 标题 */
    @XmlElement(name = "Title")
    private String title;

    /** 描述 */
    @XmlElement(name = "Description")
    private String description;

    /** 图片 */
    @XmlElement(name = "PicUrl")
    private String picUrl;

    /** 跳转链接 */
    @XmlElement(name = "Url")
    private String url;
}
