Foxnouns.NET/Foxnouns.Backend/Database/Models/DataExport.cs

12 lines
314 B
C#

using NodaTime;
namespace Foxnouns.Backend.Database.Models;
public class DataExport : BaseModel
{
public Snowflake UserId { get; init; }
public User User { get; init; } = null!;
public required string Filename { get; init; }
public static readonly Duration Expiration = Duration.FromDays(15);
}