Skip to content

Applications

Billcountry Mwaniki edited this page Aug 25, 2020 · 3 revisions

The collection Applications sits under the package applications. It holds information about an application that is the parent to or indirectly owns other objects with the exception of users.

The following is the structure of an Application document:

  • AppId (primitive.ObjectId)
  • Name (string)
  • Status (uint8)
    • 0 active (default)
    • 1 pending-deletion(Deleted after 30 days)
  • BillingStatus (uint8)
    • 0 cleared (default)
    • 1 unpaid(Invoice sent but the bill is pending, <1 month old)
    • 2 overdue(Bill not paid for over 1 month)
  • BillingPeriod (uint8)
    • 0 Monthly (default)
    • 1 Weekly
    • 2 Quarterly
  • Created (time)

Related work

Clone this wiki locally