ibms-dome/FrontendWebApi/Jwt/UserInfo.cs

42 lines
971 B
C#
Raw Permalink Normal View History

2022-10-14 16:08:54 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FrontendWebApi.Jwt
2022-10-14 16:08:54 +08:00
{
public class UserInfo
{
/// <summary>
/// 門店代號
/// </summary>
public int CustomerNo { get; set; }
/// <summary>
/// 群組名稱
/// </summary>
public string AreaCode { get; set; }
/// <summary>
/// 使用者名稱
/// </summary>
public string Username { get; set; }
/// <summary>
/// 密碼
/// </summary>
public string Password { get; set; }
}
2022-10-14 16:08:54 +08:00
public class JwtLogin
{
public string userinfo_guid { get; set; }
public string account { get; set; }
public string full_name { get; set; }
public string email { get; set; }
}
2022-10-14 16:08:54 +08:00
public class JwtGet : JwtLogin
{
public int nbf { get; set; }
public int exp { get; set; }
}
}