Search Results for

    Show / Hide Table of Contents

    Class EventCategory

    Represents a categorization system for events within an organization.

    Inheritance
    object
    EventCategory
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OEMS.Core.Domain.Klassen
    Assembly: OEMS.Core.dll
    Syntax
    public class EventCategory

    Properties

    Color

    Gets or sets the color associated with the event category.

    Declaration
    [Required]
    [StringLength(7)]
    public string Color { get; set; }
    Property Value
    Type Description
    string

    A hex color code string (e.g., #FF5733) for visual identification, limited to 7 characters.

    Description

    Gets or sets the description of the event category.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    string

    An optional detailed description of the category's purpose and usage.

    Events

    Gets or sets the collection of events that belong to this category.

    Declaration
    public virtual ICollection<Event> Events { get; set; }
    Property Value
    Type Description
    ICollection<Event>

    A collection of Event entities that are classified under 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 optional icon identifier or name for visual representation of the category.

    Id

    Gets or sets the unique identifier for the event category.

    Declaration
    [Key]
    public Guid Id { get; set; }
    Property Value
    Type Description
    Guid

    A GUID that uniquely identifies the event category.

    Name

    Gets or sets the name of the event category.

    Declaration
    [Required]
    [StringLength(100)]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    A descriptive name for the category, limited to 100 characters.

    Organization

    Gets or sets the organization that owns this event category.

    Declaration
    [ForeignKey("OrganizationId")]
    public virtual Organization Organization { get; set; }
    Property Value
    Type Description
    Organization

    The Organization entity that created and manages this category.

    OrganizationId

    Gets or sets the organization identifier that owns this category.

    Declaration
    [Required]
    public Guid OrganizationId { get; set; }
    Property Value
    Type Description
    Guid

    A GUID referencing the organization that created this category.

    In this article
    Back to top Generated by DocFX