Class Organization
Represents an organization in the OEMS system that serves as a container for events, users, and organizational resources.
Assembly: OEMS.Core.dll
Syntax
public class Organization
Properties
BrandingSettings
Gets or sets the branding configuration for the organization.
Declaration
public string BrandingSettings { get; set; }
Property Value
Type |
Description |
string |
A JSON string or CSS placeholder containing custom branding settings such as colors, fonts, and styling.
|
CreationDate
Gets or sets the date and time when the organization was created.
Declaration
[Required]
public DateTime CreationDate { get; set; }
Property Value
Type |
Description |
DateTime |
The timestamp of organization creation in UTC.
|
DomainName
Declaration
[Required]
[StringLength(100)]
[RegularExpression("^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,}$", ErrorMessage = "Bitte geben Sie einen gültigen Domainnamen ein (z.B. 'example.com')")]
public string DomainName { get; set; }
Property Value
EmailTemplates
Declaration
public virtual ICollection<EmailTemplate> EmailTemplates { get; set; }
Property Value
EventCategories
Declaration
public virtual ICollection<EventCategory> EventCategories { get; set; }
Property Value
Events
Declaration
public virtual ICollection<Event> Events { get; set; }
Property Value
FileID
Declaration
public Guid FileID { get; set; }
Property Value
Groups
Declaration
public virtual ICollection<Group> Groups { get; set; }
Property Value
Id
Gets or sets the unique identifier for the organization.
Declaration
[Key]
public Guid Id { get; set; }
Property Value
Type |
Description |
Guid |
A GUID that uniquely identifies the organization across the system.
|
Locations
Declaration
public virtual ICollection<Location> Locations { get; set; }
Property Value
Name
Gets or sets the display name of the organization.
Declaration
[Required]
[StringLength(100)]
public string Name { get; set; }
Property Value
Type |
Description |
string |
The human-readable name of the organization, limited to 100 characters.
|
OrganizationUsers
Declaration
public virtual ICollection<OrganizationUser> OrganizationUsers { get; set; }
Property Value
ProcessTemplates
Declaration
public virtual ICollection<ProcessTemplate> ProcessTemplates { get; set; }
Property Value