File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
src/NoFrixion.MoneyMoov/Models/Rules Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,26 @@ public class Rule : IValidatableObject, IWebhookPayload
9797
9898 public PaymentAccount ? Account { get ; set ; } = null ! ;
9999
100+ /// <summary>
101+ /// The number of authorisers required for this rule.
102+ /// </summary>
103+ public int AuthorisersRequiredCount { get ; set ; }
104+
105+ /// <summary>
106+ /// The number of distinct authorisers that have authorised the rule.
107+ /// </summary>
108+ public int AuthorisersCompletedCount { get ; set ; }
109+
110+ /// <summary>
111+ /// True if the rule can be authorised by the user who loaded it.
112+ /// </summary>
113+ public bool CanAuthorise { get ; set ; }
114+
115+ /// <summary>
116+ /// True if the current user has authorised.
117+ /// </summary>
118+ public bool HasCurrentUserAuthorised { get ; set ; }
119+
100120 /// <summary>
101121 /// The approval hash is used when approving the rule and to detect when critical
102122 /// fields change.
You can’t perform that action at this time.
0 commit comments