Class UserDto
Data transfer object for user information.
Inherited Members
Namespace: OEMS.Core.Application.DTOs.User
Assembly: OEMS.Core.dll
Syntax
public class UserDto
Remarks
Used for transferring user data between application layers without exposing domain entities directly.
Properties
User's email address.
Declaration
public string Email { get; set; }
Property Value
Type | Description |
---|---|
string |
FirstName
User's first name.
Declaration
public string FirstName { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Unique identifier for the user.
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid |
IsActive
Indicates if the user account is active.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsAdmin
Indicates if the user has system administrator privileges.
Declaration
public bool IsAdmin { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
System administrators can perform operations like creating new organizations and managing system-wide settings.
LastName
User's last name.
Declaration
public string LastName { get; set; }
Property Value
Type | Description |
---|---|
string |
UserName
Username for authentication.
Declaration
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
string |