Coverage Summary for Class: InviteStatus (com.georgeci.moneysurfer.domain.model)

Class Class, % Method, % Branch, % Line, % Instruction, %
InviteStatus 100% (1/1) 100% (1/1) 100% (5/5) 100% (36/36)


 package com.georgeci.moneysurfer.domain.model
 
 /**
  * Lifecycle of a [WorkspaceInvite].
  *
  * - [PENDING] — created by an owner; awaiting recipient action.
  * - [ACCEPTED] — recipient joined; a [WorkspaceMember] row exists for them.
  * - [DECLINED] — recipient declined; terminal.
  * - [CANCELLED] — owner revoked before response; terminal.
  * - [EXPIRED] — `now > expiresAt`. Computed client-side for display when status is still
  *   PENDING; only persisted if a flow explicitly transitions the doc.
  */
 enum class InviteStatus {
     PENDING,
     ACCEPTED,
     DECLINED,
     CANCELLED,
     EXPIRED,
 }