Files
StopShopping/StopShopping.EF/Models/RefreshToken.cs
2026-03-25 14:55:34 +08:00

41 lines
823 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
namespace StopShopping.EF.Models;
/// <summary>
/// 刷新令牌
/// </summary>
public partial class RefreshToken
{
/// <summary>
/// 主键
/// </summary>
public long Id { get; set; }
/// <summary>
/// 系统角色a-管理员u-用户
/// </summary>
public char SystemRole { get; set; }
/// <summary>
/// 令牌
/// </summary>
public string Token { get; set; } = null!;
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 失效时间
/// </summary>
public DateTime ExpiresAt { get; set; }
/// <summary>
/// 用户/管理员id
/// </summary>
public int UserId { get; set; }
}