Class Event
Represents an event in the OEMS system with scheduling, participation, and management capabilities.
Inherited Members
Namespace: OEMS.Core.Domain.Klassen
Assembly: OEMS.Core.dll
Syntax
public class Event
Properties
ArchiveDate
Gets or sets the date and time when the event was archived.
Declaration
public DateTime? ArchiveDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The timestamp when the event was archived, or null if not archived. |
CategoryId
Gets or sets the category identifier for this event.
Declaration
[Required]
public Guid CategoryId { get; set; }
Property Value
Type | Description |
---|---|
Guid | A GUID referencing the event category that classifies this event. |
CreationDate
Gets or sets the date and time when the event was created.
Declaration
[Required]
public DateTime CreationDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime | The timestamp of event creation. |
Creator
Gets or sets the user who created this event.
Declaration
[ForeignKey("CreatorId")]
public virtual User Creator { get; set; }
Property Value
Type | Description |
---|---|
User | The User entity representing the event creator. |
CreatorId
Gets or sets the user identifier of the event creator.
Declaration
[Required]
public Guid CreatorId { get; set; }
Property Value
Type | Description |
---|---|
Guid | A GUID referencing the user who created this event. |
CurrentParticipants
Gets or sets the current number of participants registered for the event.
Declaration
[Required]
public int CurrentParticipants { get; set; }
Property Value
Type | Description |
---|---|
int | The count of users currently participating in the event. |
Description
Gets or sets the detailed description of the event.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | A text description providing additional information about the event. |
EndDateTime
Gets or sets the end date and time of the event.
Declaration
[Required]
public DateTime EndDateTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime | The timestamp when the event concludes. |
EventCategory
Gets or sets the category for this event.
Declaration
[ForeignKey("CategoryId")]
public virtual EventCategory EventCategory { get; set; }
Property Value
Type | Description |
---|---|
EventCategory | The EventCategory entity that classifies this event. |
EventFiles
Gets or sets the collection of files associated with this event.
Declaration
public virtual ICollection<EventFile> EventFiles { get; set; }
Property Value
Type | Description |
---|---|
ICollection<EventFile> | A collection of EventFile entities representing documents and media for this event. |
EventParticipations
Gets or sets the collection of participations for this event.
Declaration
public virtual ICollection<EventParticipation> EventParticipations { get; set; }
Property Value
Type | Description |
---|---|
ICollection<EventParticipation> | A collection of EventParticipation entities representing users participating in this event. |
EventProcesses
Gets or sets the collection of processes associated with this event.
Declaration
public virtual ICollection<EventProcess> EventProcesses { get; set; }
Property Value
Type | Description |
---|---|
ICollection<EventProcess> | A collection of EventProcess entities representing workflow processes for this event. |
Feedbacks
Gets or sets the collection of feedback provided for this event.
Declaration
public virtual ICollection<Feedback> Feedbacks { get; set; }
Property Value
Type | Description |
---|---|
ICollection<Feedback> | A collection of Feedback entities representing participant feedback and comments. |
Group
Gets or sets the group associated with this event, if applicable.
Declaration
[ForeignKey("GroupId")]
public virtual Group Group { get; set; }
Property Value
Type | Description |
---|---|
Group | The Group entity for group-specific events, or null for organization-wide events. |
GroupId
Gets or sets the group identifier if this is a group-specific event.
Declaration
public Guid? GroupId { get; set; }
Property Value
Type | Description |
---|---|
Guid? | A nullable GUID referencing the group for which this event is organized, or null for organization-wide events. |
Id
Gets or sets the unique identifier for the event.
Declaration
[Key]
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid | A GUID that uniquely identifies the event across the system. |
InvitedUserIds
Gets or sets the list of user identifiers who are specifically invited to the event.
Declaration
public List<Guid>? InvitedUserIds { get; set; }
Property Value
Type | Description |
---|---|
List<Guid> | A list of GUIDs representing invited users, or null if no specific invitations. |
IsGroupEvent
Gets or sets a value indicating whether this is a group-specific event.
Declaration
[Required]
public bool IsGroupEvent { get; set; }
Property Value
Type | Description |
---|---|
bool | true if the event is restricted to a specific group; otherwise, false. |
IsPublic
Gets or sets a value indicating whether the event is publicly visible.
Declaration
[Required]
public bool IsPublic { get; set; }
Property Value
Type | Description |
---|---|
bool | true if the event is visible to all organization members; otherwise, false. |
Location
Gets or sets the location where this event takes place.
Declaration
[ForeignKey("LocationId")]
public virtual Location Location { get; set; }
Property Value
Type | Description |
---|---|
Location | The Location entity representing the venue for this event. |
LocationId
Gets or sets the location identifier where the event takes place.
Declaration
[Required]
public Guid LocationId { get; set; }
Property Value
Type | Description |
---|---|
Guid | A GUID referencing the location entity for this event. |
MaxParticipants
Gets or sets the maximum number of participants allowed for the event.
Declaration
[Required]
public int MaxParticipants { get; set; }
Property Value
Type | Description |
---|---|
int | The maximum capacity for event participation. |
Organization
Gets or sets the organization that owns this event.
Declaration
[ForeignKey("OrganizationId")]
public virtual Organization Organization { get; set; }
Property Value
Type | Description |
---|---|
Organization | The Organization entity that created and manages this event. |
OrganizationId
Gets or sets the organization identifier that owns this event.
Declaration
[Required]
public Guid OrganizationId { get; set; }
Property Value
Type | Description |
---|---|
Guid | A GUID referencing the organization that created and manages this event. |
StartDateTime
Gets or sets the start date and time of the event.
Declaration
[Required]
public DateTime StartDateTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime | The timestamp when the event begins. |
Status
Gets or sets the current status of the event.
Declaration
[Required]
public EventStatus Status { get; set; }
Property Value
Type | Description |
---|---|
EventStatus | An EventStatus enumeration value indicating the current state of the event. |
Title
Gets or sets the title of the event.
Declaration
[Required]
[StringLength(200)]
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string | A descriptive title for the event, limited to 200 characters. |