Skip to main content

Subscriptions Data Model

Subscriptions represent the specific products and services purchased by a Customer under an Agreement.

Entity Relationship Diagram

Core Entities

Subscription (com.sureink.cloudmsa.model.subscription.Subscription)

The active entitlement record.

  • Key Fields:
    • name: Descriptive name of the subscription.
    • dateStart / dateEnd: The active period for this specific subscription line item.
    • totalAmount: The total contract value for this subscription.
    • mrr: Monthly Recurring Revenue contribution.
    • isActive: Status flag.
    • sellType: Indicates if this is a New Business, Renewal, or Upsell.

Subscription Type (com.sureink.cloudmsa.model.subscription.SubscriptionType)

Defines the category or template for the subscription (e.g., "Standard License", "Storage Pack").

Relationships

Subscription -> Agreement

  • Type: Many-to-One
  • Description: Every Subscription must belong to a Master Subscription Agreement.

Subscription to Project

  • Type: Many-to-Many
  • Description: Subscriptions can be assigned to specific Projects to enable functionality for that scope of work.

Subscription -> Payment

  • Type: One-to-Many
  • Description: Tracks the financial transactions (payments, refunds) associated with this subscription.