#nullable enable using Bit.Core.Tools.Models.Business; namespace Bit.Core.Tools.Entities; /// /// An entity that can be referenced by a . /// public interface IReferenceable { /// /// Identifies the entity that generated the event. /// Guid Id { get; set; } /// /// Contextual information included in the event. /// /// /// Do not store secrets in this field. /// string? ReferenceData { get; set; } /// /// Returns when the entity is a user. /// Otherwise returns . /// bool IsUser(); }