using MediatR;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ApiTools.Core
{
///
/// 微信小程序订阅消息通知
///
[Resource([EnumResourceController.CommonServerWxmpUtils], AllowAnonymous = true)]
public class WxmpSubscribMessageNotifyCommand : IRequest
{
///
/// 小程序代码
///
public string Code { get; set; }
///
/// 用户开放Id
///
public string OpenId { get; set; }
public string ToUserName { get; set; }
public string FromUserName { get; set; }
///
/// 创建时间
///
public int CreateTime { get; set; }
///
/// 消息类型
///
public string MsgType { get; set; }
///
/// 事件
///
public string Event { get; set; }
///
/// 内容
///
[JsonProperty("debug_str")]
public string Content { get; set; }
}
}