using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace HuanMeng.DotNetCore.JwtInfrastructure
{
    /// <summary>
    /// 刷新token
    /// </summary>
    public class JwtRefreshToken
    {
        /// <summary>
        /// 用户名
        /// </summary>
        [JsonPropertyName("username")]
        public string UserName { get; set; } = string.Empty;

        /// <summary>
        /// token
        /// </summary>
        [JsonPropertyName("tokenString")]
        public string TokenString { get; set; } = string.Empty;

        /// <summary>
        /// 过期时间
        /// </summary>
        [JsonPropertyName("expireAt")]
        public DateTime ExpireAt { get; set; }
    }
}
