首页>代码>java基于微信公众号接口开发的入门Demo实例>/WechatDemo/WechatDemo/src/com/eastnet/wechat/message/req/BaseMessage.java
package com.eastnet.wechat.message.req;
/**
* 消息基类 (普通用户-公众号)
* @author pengsong
* @date 2015.01.19
*/
public class BaseMessage {
//开发者微信号
private String ToUserName;
//发送方账号(一个openId)
private String FromUserName;
//消息创建时间(整型)
private long CreateTime;
//消息类型(text/image/location/link...)
private String MsgType;
//消息id 64位整型
private String MsgId;
public BaseMessage() {
super();
// TODO Auto-generated constructor stub
}
public BaseMessage(String toUserName, String fromUserName, long createTime,
String msgType, String msgId) {
super();
ToUserName = toUserName;
FromUserName = fromUserName;
CreateTime = createTime;
MsgType = msgType;
MsgId = msgId;
}
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 String getMsgId() {
return MsgId;
}
public void setMsgId(String msgId) {
MsgId = msgId;
}
}
最近下载更多
最近浏览更多
新哥新奇士橙 LV5
1月26日
汤汤汤要学编程 LV11
2024年8月12日
leiyuexiang
2024年7月12日
暂无贡献等级
156260641401 LV1
2024年4月9日
zhujunnan LV12
2024年3月8日
miaoshi LV16
2023年9月5日
zhos0212 LV19
2023年7月27日
wuying8208 LV15
2023年7月27日
微信网友_6561552570798080 LV1
2023年7月14日
lyt888
2023年7月6日
暂无贡献等级

