mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-20 08:18:48 +08:00
22 lines
647 B
C#
22 lines
647 B
C#
using System.Application.Columns;
|
|
using MPKey = MessagePack.KeyAttribute;
|
|
using MPObj = MessagePack.MessagePackObjectAttribute;
|
|
using N_JsonProperty = Newtonsoft.Json.JsonPropertyAttribute;
|
|
using S_JsonProperty = System.Text.Json.Serialization.JsonPropertyNameAttribute;
|
|
|
|
namespace System.Application.Models
|
|
{
|
|
[MPObj]
|
|
public class SendSmsRequest : IReadOnlyPhoneNumber
|
|
{
|
|
[MPKey(0)]
|
|
[N_JsonProperty("0")]
|
|
[S_JsonProperty("0")]
|
|
public string? PhoneNumber { get; set; }
|
|
|
|
[MPKey(1)]
|
|
[N_JsonProperty("1")]
|
|
[S_JsonProperty("1")]
|
|
public SmsCodeType Type { get; set; }
|
|
}
|
|
} |