Multi-Platform Package Manager for Stable Diffusion
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
596 B

using LiteDB;
using StabilityMatrix.Core.Models.Api;
1 year ago
namespace StabilityMatrix.Core.Database;
1 year ago
/// <summary>
/// Cache entry for the result of a Civit model query response
/// </summary>
public class CivitModelQueryCacheEntry
{
// This is set as the hash of the request object (ObjectHash.GetMd5Guid)
public Guid Id { get; set; }
public DateTimeOffset? InsertedAt { get; set; }
public CivitModelsRequest? Request { get; set; }
[BsonRef("CivitModels")]
public List<CivitModel>? Items { get; set; }
public CivitMetadata? Metadata { get; set; }
}