using Oms.Domain.Shared; using SqlSugar; namespace Oms.Domain.OrdersAggregate.Entities; [SugarTable("t_sales_store")] public class SalesStore : OmsAuditedAggregateRoot { public int CustomerId { get; set; } public string PlatformCode { get; set; } = string.Empty; public string StoreNickname { get; set; } = string.Empty; public string? PlatformStoreId { get; set; } public string? PlatformAccount { get; set; } public string? SiteCountry { get; set; } public string? SellerId { get; set; } public string AuthStatus { get; set; } = "active"; public DateTime? AuthTime { get; set; } public DateTime? TokenExpireTime { get; set; } public DateTime? RefreshExpireTime { get; set; } public string? AccessToken { get; set; } public string? RefreshToken { get; set; } [SugarColumn(IsJson = true, ColumnDataType = "json", IsNullable = true)] public string? TokenExtraJson { get; set; } public bool IsAutoFulfill { get; set; } public string? Remark { get; set; } }