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.CommonServerSmsUtils], Method = EnumResourceMethod.Post, AllowAnonymous = true)] public class SmsChengLiYeNotifyCommand : IRequest { public SmsChengLiYeNotifyCommand() { MsgReports = []; } /// /// 状态码 /// [JsonProperty("resultCode")] public string ResultCode { get; set; } /// /// 状态码 /// [JsonProperty("msgReports")] public List MsgReports { get; set; } } /// /// 诚立业短信通知请求 /// public class SmsChengLiYeNotifyCommandMsgReport { /// /// 用户名。提交时的用户名 /// [JsonProperty("userName")] public string UserName { get; set; } /// /// 提交返回的msgid /// [JsonProperty("msgid")] public long Msgid { get; set; } /// /// 提交返回的seqid /// [JsonProperty("seqid")] public string Seqid { get; set; } /// /// 手机号码 /// [JsonProperty("mobile")] public string Mobile { get; set; } /// /// 手机号码发送状态码 /// [JsonProperty("status")] public string Status { get; set; } /// /// 状态码描述 /// [JsonProperty("statusDes")] public string StatusDes { get; set; } /// /// 报告返回时间 /// [JsonProperty("doneTime")] public DateTime DoneTime { get; set; } } }