Files
JWLMerge/JWLMerge.BackupFileServices/Models/ManifestFile/UserDataBackup.cs
2018-01-21 07:42:02 +00:00

37 lines
1.1 KiB
C#

namespace JWLMerge.BackupFileServices.Models.ManifestFile
{
/// <summary>
/// The user data backup.
/// Part of the manifest.
/// </summary>
public class UserDataBackup
{
/// <summary>
/// The last modified date of the database in ISO 8601, e.g. "2018-01-17T14:37:27+00:00"
/// Corresponds to the value in the LastModifiedDate table.
/// </summary>
public string LastModifiedDate { get; set; }
/// <summary>
/// The name of the source device (e.g. the name of the PC).
/// </summary>
public string DeviceName { get; set; }
/// <summary>
/// The database name (always "userData.db"?)
/// </summary>
public string DatabaseName { get; set; }
/// <summary>
/// A sha256 hash of the associated database file.
/// </summary>
public string Hash { get; set; }
/// <summary>
/// The database schema version.
/// Note that the database records its own schema version in the user_version header pragma.
/// </summary>
public int SchemaVersion { get; set; }
}
}