UserDto
Namespace: SlottyMedia.Backend.Dtos
The User Data Transfer Object
public class UserDto
Properties
UserId
Gets or sets the User Id.
public 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
CreatedAt
Gets or sets the date and time when the User was created.
public DateTime CreatedAt { get; set; }
Property Value
Constructors
UserDto()
Initializes a new instance of the UserDto class.
public UserDto()
Methods
Mapper()
This method maps the User Dto to the User Dao.
public UserDao Mapper()
Returns
UserDao
Mapper(UserDao)
Maps the User Dao to the User Dto.
public UserDto Mapper(UserDao user)
Parameters
user UserDao
Returns
ToString()
This method returns the UserDto as a string.
public string ToString()