2022-10-14 16:08:54 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2022-11-14 13:36:02 +08:00
|
|
|
|
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-28 09:18:49 +08:00
|
|
|
|
|
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-28 09:18:49 +08:00
|
|
|
|
|
2022-10-14 16:08:54 +08:00
|
|
|
|
public class JwtGet : JwtLogin
|
|
|
|
|
{
|
|
|
|
|
public int nbf { get; set; }
|
|
|
|
|
public int exp { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|