Class CreateOrganizationDto
Data transfer object for creating a new organization
Inherited Members
Namespace: OEMS.Core.Application.DTOs.Organization
Assembly: OEMS.Core.dll
Syntax
public class CreateOrganizationDto
Properties
AdminEmail
Email address for the organization admin
Declaration
[EmailAddress(ErrorMessage = "Bitte geben Sie eine gültige E-Mail-Adresse ein.")]
public string AdminEmail { get; set; }
Property Value
Type | Description |
---|---|
string |
BrandingSettings
Branding settings in JSON format
Declaration
[Required(ErrorMessage = "Branding-Einstellungen sind erforderlich.")]
public string BrandingSettings { get; set; }
Property Value
Type | Description |
---|---|
string |
DomainName
Domain name associated with the organization
Declaration
[Required(ErrorMessage = "Die Domain ist erforderlich.")]
public string DomainName { get; set; }
Property Value
Type | Description |
---|---|
string |
ErrorMessage
Error message in case of failure
Declaration
public string? ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
string |
FileId
ID of the organization logo file
Declaration
public Guid FileId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Name
Name of the organization
Declaration
[Required(ErrorMessage = "Der Name der Organisation ist erforderlich.")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OrganizationId
ID of the created organization
Declaration
public Guid OrganizationId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Success
Indicates if the operation was successful
Declaration
public bool Success { get; set; }
Property Value
Type | Description |
---|---|
bool |