PlotDirector/PlotLine/Models/ProjectRestorePointModels.cs
2026-06-05 16:15:49 +01:00

22 lines
754 B
C#

namespace PlotLine.Models;
public sealed class ProjectRestorePoint
{
public int ProjectRestorePointID { get; set; }
public int ProjectID { get; set; }
public string ProjectName { get; set; } = string.Empty;
public string RestorePointName { get; set; } = string.Empty;
public string RestorePointType { get; set; } = "Manual";
public DateTime CreatedDateUtc { get; set; }
public string? JsonData { get; set; }
public long JsonSizeBytes { get; set; }
public string? Notes { get; set; }
}
public sealed class ProjectRestorePointDownload
{
public string FileName { get; init; } = string.Empty;
public string ContentType { get; init; } = "application/json";
public string Json { get; init; } = string.Empty;
}