首页>代码>java实现获取微信公众服务号消息>/hellochat/hellochat/src/org/liufeng/course/message/resp/BaseMessage.java
package org.liufeng.course.message.resp;

/**
 * 消息基类(公众帐号 -> 普通用户)
 * 
 * @author liufeng
 * @date 2013-05-19
 */
public class BaseMessage {
	// 接收方帐号(收到的OpenID)
	private String ToUserName;
	// 开发者微信号
	private String FromUserName;
	// 消息创建时间 (整型)
	private long CreateTime;
	// 消息类型(text/music/news)
	private String MsgType;
	// 位0x0001被标志时,星标刚收到的消息
	private int FuncFlag;

	public String getToUserName() {
		return ToUserName;
	}

	public void setToUserName(String toUserName) {
		ToUserName = toUserName;
	}

	public String getFromUserName() {
		return FromUserName;
	}

	public void setFromUserName(String fromUserName) {
		FromUserName = fromUserName;
	}

	public long getCreateTime() {
		return CreateTime;
	}

	public void setCreateTime(long createTime) {
		CreateTime = createTime;
	}

	public String getMsgType() {
		return MsgType;
	}

	public void setMsgType(String msgType) {
		MsgType = msgType;
	}

	public int getFuncFlag() {
		return FuncFlag;
	}

	public void setFuncFlag(int funcFlag) {
		FuncFlag = funcFlag;
	}
}
最近下载更多
13043860zj  LV16 2023年7月21日
hosinvm  LV7 2022年11月18日
车尔尼小鹿鹿  LV12 2022年11月3日
crosa_Don  LV18 2022年7月22日
Tayirjan  LV11 2021年12月1日
疯子庭  LV8 2021年11月30日
於海兵  LV1 2021年8月23日
卡古拉酱  LV4 2021年8月17日
游游爱代码  LV2 2021年7月29日
tanyc2008  LV6 2021年6月17日
最近浏览更多
plecon  LV1 3月29日
zhujunnan  LV12 3月8日
412836806 2023年10月13日
暂无贡献等级
qiang123  LV8 2023年10月13日
jerryPang  LV1 2023年6月28日
dh03240309  LV2 2023年2月15日
xp95323  LV14 2022年12月9日
qwdqwdqw  LV3 2022年12月2日
hosinvm  LV7 2022年11月18日
uni-code_0123  LV1 2022年11月3日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友