All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mizhousoft.weixin.mp.domain.freepublish.WxMpFreePublishItem Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
package com.mizhousoft.weixin.mp.domain.freepublish;

import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.mizhousoft.weixin.mp.domain.serializer.NumericDateDeserializer;

/**
 * 发布列表的一条记录
 *
 */
public class WxMpFreePublishItem
{
	/**
	 * 成功发布的图文消息id
	 */
	@JsonProperty("article_id")
	private String articleId;

	/**
	 * 图文消息的具体内容,支持HTML标签,必须少于2万字符,小于1M,且此处会去除JS。
	 */
	@JsonProperty("content")
	private WxMpFreePublishInfo content;

	/**
	 * 这篇图文消息素材的最后更新时间
	 */
	@JsonProperty("update_time")
	@JsonDeserialize(using = NumericDateDeserializer.class)
	private LocalDateTime updateTime;

	/**
	 * 获取articleId
	 * 
	 * @return
	 */
	public String getArticleId()
	{
		return articleId;
	}

	/**
	 * 设置articleId
	 * 
	 * @param articleId
	 */
	public void setArticleId(String articleId)
	{
		this.articleId = articleId;
	}

	/**
	 * 获取content
	 * 
	 * @return
	 */
	public WxMpFreePublishInfo getContent()
	{
		return content;
	}

	/**
	 * 设置content
	 * 
	 * @param content
	 */
	public void setContent(WxMpFreePublishInfo content)
	{
		this.content = content;
	}

	/**
	 * 获取updateTime
	 * 
	 * @return
	 */
	public LocalDateTime getUpdateTime()
	{
		return updateTime;
	}

	/**
	 * 设置updateTime
	 * 
	 * @param updateTime
	 */
	public void setUpdateTime(LocalDateTime updateTime)
	{
		this.updateTime = updateTime;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy