Class UserDto
- Namespace
- Raytha.Application.Users
- Assembly
- Raytha.Application.dll
public record UserDto : BaseAuditableEntityDto, IBaseEntityDto, IEquatable<BaseEntityDto>, IEquatable<BaseAuditableEntityDto>, IEquatable<UserDto>
- Inheritance
-
UserDto
- Implements
-
- Inherited Members
-
Properties
CreatorUser
public AuditableUserDto CreatorUser { get; init; }
Property Value
- AuditableUserDto
EmailAddress
public string EmailAddress { get; init; }
Property Value
- string
FirstName
public string FirstName { get; init; }
Property Value
- string
FullName
public string FullName { get; }
Property Value
- string
IsActive
public bool IsActive { get; init; }
Property Value
- bool
IsAdmin
public bool IsAdmin { get; init; }
Property Value
- bool
LastLoggedInTime
public DateTime? LastLoggedInTime { get; init; }
Property Value
- DateTime?
LastModifierUser
public AuditableUserDto LastModifierUser { get; init; }
Property Value
- AuditableUserDto
LastName
public string LastName { get; init; }
Property Value
- string
UserGroups
public IEnumerable<UserGroupDto> UserGroups { get; init; }
Property Value
- IEnumerable<UserGroupDto>
Methods
GetProjection()
public static Expression<Func<User, UserDto>> GetProjection()
Returns
- Expression<Func<User, UserDto>>
GetProjection(User)
public static UserDto GetProjection(User entity)
Parameters
entity
User
Returns
- UserDto