Class UpdateEventDto
Data transfer object for updating an existing event with all its properties and associations.
Inheritance
UpdateEventDto
Assembly: OEMS.Core.dll
Syntax
public class UpdateEventDto
Properties
ArchiveDate
Declaration
public DateTime? ArchiveDate { get; set; }
Property Value
CategoryId
Gets or sets the identifier of the event category.
Declaration
[Required(ErrorMessage = "Kategorie muss gewählt werden")]
public Guid CategoryId { get; set; }
Property Value
Type |
Description |
Guid |
The GUID of the category this event belongs to.
|
CreationDate
Declaration
[Required]
public DateTime CreationDate { get; set; }
Property Value
CreatorId
Declaration
[Required]
public Guid CreatorId { get; set; }
Property Value
CurrentParticipants
Gets or sets the current number of registered participants.
Declaration
public int CurrentParticipants { get; set; }
Property Value
Type |
Description |
int |
The number of users currently registered for the event.
|
CustomNotes
Declaration
public string CustomNotes { get; set; }
Property Value
Description
Gets or sets the description of the event.
Declaration
[Required(ErrorMessage = "Beschreibung ist erforderlich")]
public string Description { get; set; }
Property Value
Type |
Description |
string |
A detailed description of the event content and purpose.
|
EndDateTime
Gets or sets the end date and time of the event.
Declaration
[Required(ErrorMessage = "Enddatum ist erforderlich")]
public DateTime EndDateTime { get; set; }
Property Value
Type |
Description |
DateTime |
The timestamp when the event concludes.
|
ExternalLink
Declaration
public string ExternalLink { get; set; }
Property Value
Files
Declaration
public List<EventFileDto> Files { get; set; }
Property Value
GroupId
Declaration
public Guid? GroupId { get; set; }
Property Value
Id
Gets or sets the unique identifier of the event to update.
Declaration
[Required]
public Guid Id { get; set; }
Property Value
Type |
Description |
Guid |
The GUID of the event being updated.
|
InvitedUserIds
Declaration
public List<Guid> InvitedUserIds { get; set; }
Property Value
IsGroupEvent
Declaration
public bool IsGroupEvent { get; set; }
Property Value
IsPublic
Declaration
[Required]
public bool IsPublic { get; set; }
Property Value
LocationId
Gets or sets the identifier of the event location.
Declaration
[Required(ErrorMessage = "Ort muss gewählt werden")]
public Guid LocationId { get; set; }
Property Value
Type |
Description |
Guid |
The GUID of the location where the event takes place.
|
MaxParticipants
Gets or sets the maximum number of participants allowed for the event.
Declaration
[Required(ErrorMessage = "Maximale Teilnehmerzahl ist erforderlich")]
[Range(1, 2147483647, ErrorMessage = "Teilnehmerzahl muss größer als 0 sein")]
public int? MaxParticipants { get; set; }
Property Value
Type |
Description |
int? |
The maximum capacity for event participants, must be greater than 0.
|
OrganizationId
Declaration
[Required]
public Guid OrganizationId { get; set; }
Property Value
Processes
Declaration
public List<CreateProcessDto> Processes { get; set; }
Property Value
SourceTemplateId
Declaration
public Guid? SourceTemplateId { get; set; }
Property Value
SourceTemplateName
Declaration
public string SourceTemplateName { get; set; }
Property Value
StartDateTime
Gets or sets the start date and time of the event.
Declaration
[Required(ErrorMessage = "Startdatum ist erforderlich")]
public DateTime StartDateTime { get; set; }
Property Value
Type |
Description |
DateTime |
The timestamp when the event begins.
|
Status
Declaration
[Required]
public EventStatus Status { get; set; }
Property Value
Title
Gets or sets the title of the event.
Declaration
[Required(ErrorMessage = "Titel ist erforderlich")]
public string Title { get; set; }
Property Value
Type |
Description |
string |
The event title that will be displayed to users.
|