网站首页 网站源码
website
站点相关全部源代码,隐藏了一些关于服务器的信息
using System;
using Dpz.Core.EnumLibrary;
using Dpz.Core.Infrastructure;
using Dpz.Core.Public.Entity;

namespace Dpz.Core.Public.ViewModel.Response;

public class AccountTokenResponse : IMapFrom<AccountToken>
{
    public string Id { get; set; }

    /// <summary>
    /// 账号
    /// </summary>
    public string Account { get; set; }

    /// <summary>
    /// token 使用平台
    /// </summary>
    public TokenPlatform Platform { get; set; }

    /// <summary>
    /// 刷新Token
    /// </summary>
    public string RefreshToken { get; set; }

    /// <summary>
    /// 刷新Token过期时间
    /// </summary>
    public DateTime RefreshTokenExpiryTime { get; set; }

    /// <summary>
    /// 首次生成时间
    /// </summary>
    public DateTime FirstGenerateTime { get; set; }

    /// <summary>
    /// 生成时的 IP 地址
    /// </summary>
    public string IpAddress { get; set; }

    /// <summary>
    /// 生成时的 User-Agent
    /// </summary>
    public string UserAgent { get; set; }
    
    /// <summary>
    /// 是否使用
    /// </summary>
    public bool? Used { get; set; }
}
loading