42 lines
974 B
C#
42 lines
974 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FrontendWebApi.Models
|
|
{
|
|
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; }
|
|
}
|
|
|
|
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; }
|
|
}
|
|
|
|
public class JwtGet : JwtLogin
|
|
{
|
|
public int nbf { get; set; }
|
|
public int exp { get; set; }
|
|
}
|
|
}
|