namespace EnvelopeGenerator.Application.Common.Query; /// /// Stellt eine Abfrage dar, um die Details eines Empfängers zu lesen. /// um spezifische Informationen über einen Empfänger abzurufen. /// public record ReceiverQueryBase { /// /// ID des Empfängers /// public virtual int? Id { get; set; } /// /// E-Mail Adresse des Empfängers /// public virtual string? EmailAddress { get; set; } /// /// Eindeutige Signatur des Empfängers /// public virtual string? Signature { get; set; } /// /// Checks whether any of the specified query criteria have a value. /// /// /// This property returns true if at least one of the fields /// , , or is not null. /// Usage example: The query can be executed only if at least one criterion is specified. /// public bool HasAnyCriteria => Id is not null || EmailAddress is not null || Signature is not null; }