Models
Parent namespace: Backend
Namespaces
-
Backend.Models.Domain
Classes
| Type | Description |
|---|---|
MailRecipient | Represents a mail recipient with their email address and name. This entity is used to manage and store information about individuals who are recipients of email communications within the system. The MailRecipient class includes properties for the recipient's email address (Mail) and their name (Name), allowing for personalized email communications and better organization of recipient information for various email-related functionalities, such as notifications, newsletters, or other forms of communication sent to members or users of the system. |
TargetAudienceHelper | Provides helper methods for working with the TargetAudience enum, including functionality to determine if a member belongs to a specific target audience based on their study enrollments. The TargetAudienceHelper class includes the IsMemberInTargetAudience method, which checks if a given member falls within the specified target audience by evaluating their study enrollments and academic standing. This helper class is essential for enforcing eligibility criteria for activities and ensuring that members are appropriately categorized based on their academic progress within the system. |
Enums
| Type | Description |
|---|---|
MailinglistVisibility | Controls where a curated mailing list is shown to members. General lists appear everywhere (registration, account settings, the yearly renewal page); YearlyRenewalOnly lists appear only on the yearly study-renewal page, alongside the General lists. |
TargetAudience | Represents the target audience for an activity, allowing for the specification of which groups of members are eligible to participate in a given activity. The TargetAudience enum defines various audience options, such as FirstYears, SecondYears, ThirdYearsAndAbove, and Masters, which can be combined using bitwise operations to create more specific audience groups. This entity is used to manage and enforce eligibility criteria for activities based on the academic standing of members, ensuring that activities are appropriately targeted and accessible to the intended audience within the system. |