Class OrganizationCreationResultDto
Data transfer object with the result of organization creation operation including token information
Inherited Members
Namespace: OEMS.Core.Application.DTOs.Organization
Assembly: OEMS.Core.dll
Syntax
public class OrganizationCreationResultDto
Properties
AdminEmail
Email of the admin to be registered
Declaration
public string AdminEmail { get; set; }
Property Value
Type | Description |
---|---|
string |
AdminRegistrationToken
Registration token for the admin user
Declaration
public string AdminRegistrationToken { 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 |
OrganizationId
ID of the created organization
Declaration
public Guid OrganizationId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
OrganizationName
Name of the created organization
Declaration
public string OrganizationName { get; set; }
Property Value
Type | Description |
---|---|
string |
RegistrationUrl
URL for admin registration
Declaration
public string RegistrationUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
Success
Indicates whether the organization creation was successful
Declaration
public bool Success { get; set; }
Property Value
Type | Description |
---|---|
bool |
TokenExpiryDate
Expiry date of the registration token
Declaration
public DateTime TokenExpiryDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |