Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
//-----------------------------------------------------------------------
// <copyright file="BucketRevision.cs" company="aliasvault">
// Copyright (c) aliasvault. All rights reserved.
// Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasVault.Shared.Models.WebApi.V2.Vault;
/// <summary>
/// The current revision of a single data bucket, addressed by the manifest that owns it and its kind.
/// </summary>
public class BucketRevision
{
/// <summary>Gets or sets the id of the manifest that owns this bucket.</summary>
public required Guid ManifestId { get; set; }
/// <summary>Gets or sets the bucket kind.</summary>
public required VaultDataBucketCategory Category { get; set; }
/// <summary>Gets or sets the current (latest) revision number for this bucket.</summary>
public required long Revision { get; set; }
}