diff --git a/src/Core/Vault/Entities/Cipher.cs b/src/Core/Vault/Entities/Cipher.cs index d585c93288..c8271f2cb0 100644 --- a/src/Core/Vault/Entities/Cipher.cs +++ b/src/Core/Vault/Entities/Cipher.cs @@ -27,10 +27,11 @@ public class Cipher : ITableObject, ICloneable public string Key { get; set; } /// - /// Deprecated as of Nov 2025. + /// Deprecated as of 2025-11-13. /// Source of truth is now CipherArchive (CipherId + UserId). /// Kept for backward compatibility during phased migration. /// + [Obsolete("Use CipherArchive table instead. This property will be removed in a future release.")] public DateTime? ArchivedDate { get; set; } public void SetNewId() diff --git a/src/Core/Vault/Entities/CipherArchive.cs b/src/Core/Vault/Entities/CipherArchive.cs index 692ef43180..d678e3f5ef 100644 --- a/src/Core/Vault/Entities/CipherArchive.cs +++ b/src/Core/Vault/Entities/CipherArchive.cs @@ -1,4 +1,6 @@ -using Bit.Core.Entities; +#nullable enable + +using Bit.Core.Entities; namespace Bit.Core.Vault.Entities; diff --git a/src/Infrastructure.EntityFramework/Vault/Models/CipherArchive.cs b/src/Infrastructure.EntityFramework/Vault/Models/CipherArchive.cs index ce04d28c34..c603c673e3 100644 --- a/src/Infrastructure.EntityFramework/Vault/Models/CipherArchive.cs +++ b/src/Infrastructure.EntityFramework/Vault/Models/CipherArchive.cs @@ -1,4 +1,4 @@ -using Bit.Infrastructure.EntityFramework.Models; +#nullable enable namespace Bit.Infrastructure.EntityFramework.Vault.Models;