using System.Text.Json.Serialization;

namespace Essensoft.Paylink.Alipay.Domain
{
    /// <summary>
    /// SingleDynamicData Data Structure.
    /// </summary>
    public class SingleDynamicData : AlipayObject
    {
        /// <summary>
        /// 过期时间，单位为秒
        /// </summary>
        [JsonPropertyName("expire")]
        public long Expire { get; set; }

        /// <summary>
        /// key-value格式的透传参数
        /// </summary>
        [JsonPropertyName("ext_param")]
        public string ExtParam { get; set; }

        /// <summary>
        /// 优先级，一个用户同一个appid有多个动效时，优先显示优先级高的
        /// </summary>
        [JsonPropertyName("priority")]
        public long Priority { get; set; }

        /// <summary>
        /// 业务状态唯一性标识
        /// </summary>
        [JsonPropertyName("unique_id")]
        public string UniqueId { get; set; }
    }
}
