Better profile caching.

This commit is contained in:
Burak Kaan Köse
2026-03-20 00:15:10 +01:00
parent d38317f0be
commit 4a20ea2577
10 changed files with 422 additions and 74 deletions
@@ -0,0 +1,24 @@
using System;
using SQLite;
namespace Wino.Core.Domain.Entities.Shared;
public class WinoAccountAddOnCache
{
[PrimaryKey]
public Guid AccountId { get; set; }
public bool HasAiPack { get; set; }
public int? AiUsageCount { get; set; }
public int? AiUsageLimit { get; set; }
public DateTime? AiBillingPeriodStartUtc { get; set; }
public DateTime? AiBillingPeriodEndUtc { get; set; }
public bool HasUnlimitedAccounts { get; set; }
public DateTime LastUpdatedUtc { get; set; }
}