forked from anjoy8/Blog.Core
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTokenModel.cs
More file actions
41 lines (40 loc) · 913 Bytes
/
TokenModel.cs
File metadata and controls
41 lines (40 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System;
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.AuthHelper
{
/// <summary>
/// 令牌类
/// </summary>
public class TokenModel
{
public TokenModel()
{
this.Uid = 0;
}
/// <summary>
/// 用户Id
/// </summary>
public long Uid { get; set; }
/// <summary>
/// 用户名
/// </summary>
public string Uname { get; set; }
/// <summary>
/// 手机
/// </summary>
public string Phone { get; set; }
/// <summary>
/// 头像
/// </summary>
public string Icon { get; set; }
/// <summary>
/// 昵称
/// </summary>
public string UNickname { get; set; }
/// <summary>
/// 签名
/// </summary>
public string Sub { get; set; }
}
}