Files
StoreWeb/Modules/Store.Shops/Entities/ShopApiAuthEntity.cs
T
2026-10-29 11:34:35 +08:00

29 lines
981 B
C#

using FreeSql.DataAnnotations;
namespace Store.Shops.Entities;
/// <summary>旧库 bxx.shop_api_auth 映射;不自动同步生产结构。</summary>
[Table(Name = "bxx.shop_api_auth")]
public sealed class ShopApiAuthEntity
{
[Column(Name = "id", IsPrimary = true, IsIdentity = true)]
public int Id { get; set; }
[Column(Name = "ShopId")]
public string ShopId { get; set; } = "";
[Column(Name = "AppKey")]
public string AppKey { get; set; } = "";
[Column(Name = "AppSecret")]
public string AppSecret { get; set; } = "";
[Column(Name = "AccessToken")]
public string AccessToken { get; set; } = "";
[Column(Name = "RefreshToken")]
public string RefreshToken { get; set; } = "";
[Column(Name = "ApiAuthStatus")]
public string ApiAuthStatus { get; set; } = "";
[Column(Name = "ExpiresTime")]
public DateTime? ExpiresTime { get; set; }
[Column(Name = "UpdateTime")]
public DateTime? UpdateTime { get; set; }
}