Skip to content

Commit

Permalink
docs: add some model links
Browse files Browse the repository at this point in the history
ENT-9213
  • Loading branch information
pwnage101 committed Aug 7, 2024
1 parent f00926a commit f52a758
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions openedx_events/enterprise/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ class EnterpriseCourseEnrollment:
class BaseEnterpriseFulfillment:
"""
Defines the common attributes of enterprise fulfillment classes, i.e. ``enterprise.EnterpriseFulfillmentSource``.
Django model definition:
https://github.com/openedx/edx-enterprise/blob/cc873d6/enterprise/models.py#L2213
"""

uuid = attr.ib(type=UUID)
Expand All @@ -150,6 +153,9 @@ class BaseEnterpriseFulfillment:
class LearnerCreditEnterpriseCourseEnrollment(BaseEnterpriseFulfillment):
"""
Attributes of an ``enterprise.LearnerCreditEnterpriseCourseEnrollment`` record.
Django model definition:
https://github.com/openedx/edx-enterprise/blob/cc873d6/enterprise/models.py#L2325
"""

transaction_id = attr.ib(type=UUID)
Expand All @@ -159,6 +165,9 @@ class LearnerCreditEnterpriseCourseEnrollment(BaseEnterpriseFulfillment):
class LicensedEnterpriseCourseEnrollment(BaseEnterpriseFulfillment):
"""
Attributes of an ``enterprise.LicensedEnterpriseCourseEnrollment`` record.
Django model definition:
https://github.com/openedx/edx-enterprise/blob/cc873d6/enterprise/models.py#L2355
"""

license_uuid = attr.ib(type=UUID)

0 comments on commit f52a758

Please sign in to comment.