UserInformationDto
Namespace: SlottyMedia.Backend.Dtos
The User Information Data Transfer Object. It differs to UserDto by not persisting recentForums.
public class UserInformationDto
Inheritance Object → UserInformationDto
Properties
UserId
Gets or sets the User Id.
public Nullable<Guid> UserId { get; set; }
Property Value
Username
Gets or sets the Username.
public string Username { get; set; }
Property Value
Description
Gets or sets the Description of the User.
public string Description { get; set; }
Property Value
ProfilePic
ProfilePic of a user
public string ProfilePic { get; set; }
Property Value
FriendsAmount
Amount of Follow4Follows of User
public int FriendsAmount { get; set; }
Property Value
SpacesAmount
Amount of Spaces of a User
public int SpacesAmount { get; set; }
Property Value
CreatedAt
Gets or sets the date and time when the User was created.
public DateTime CreatedAt { get; set; }
Property Value
Constructors
UserInformationDto(Boolean)
Initializes a new instance of the UserInformationDto class.
public UserInformationDto(bool isLoading)
Parameters
isLoading Boolean
Methods
Mapper()
This method maps the UserInformationDto to the User Dao.
public UserDao Mapper()
Returns
UserDao
Mapper(UserDao)
Maps the User Dao to the UserInformationDto.
public UserInformationDto Mapper(UserDao user)
Parameters
user UserDao