Class EventCategoryDto
Data transfer object representing an event category with its properties and selection state.
Inherited Members
Namespace: OEMS.Core.Application.DTOs.Event
Assembly: OEMS.Core.dll
Syntax
public class EventCategoryDto
Properties
Color
Gets or sets the color theme for the event category.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
string | A color code (typically hex) used for visual identification of the category. |
Description
Gets or sets the description of the event category.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | A detailed description of what events belong to this category. |
Icon
Gets or sets the icon identifier for the event category.
Declaration
public string Icon { get; set; }
Property Value
Type | Description |
---|---|
string | An icon identifier or path used for visual representation of the category. |
Id
Gets or sets the unique identifier of the event category.
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid | The GUID that uniquely identifies this category. |
IsSelected
Gets or sets whether this category is currently selected in the UI.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
bool | True if the category is selected for UI operations, otherwise false. |
Name
Gets or sets the name of the event category.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The display name of the category. |
OrganizationId
Gets or sets the identifier of the organization that owns this category.
Declaration
public Guid OrganizationId { get; set; }
Property Value
Type | Description |
---|---|
Guid | The GUID of the organization this category belongs to. |