using System; using Wino.Core.Domain.Enums; namespace Wino.Core.Domain.Models.MailItem { /// /// Defines a single rule for toggling user actions if needed. /// For example: If user wants to mark a mail as read, but it's already read, then it should be marked as unread. /// /// /// /// public record ToggleRequestRule(MailOperation SourceAction, MailOperation TargetAction, Func Condition); }