Skip to content

UserDto

Namespace: SlottyMedia.Backend.Dtos

The User Data Transfer Object

public class UserDto

Inheritance ObjectUserDto

Properties

UserId

Gets or sets the User Id.

public Guid UserId { get; set; }

Property Value

Guid

Username

Gets or sets the Username.

public string Username { get; set; }

Property Value

String

Description

Gets or sets the Description of the User.

public string Description { get; set; }

Property Value

String

CreatedAt

Gets or sets the date and time when the User was created.

public DateTime CreatedAt { get; set; }

Property Value

DateTime

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

UserDto

ToString()

This method returns the UserDto as a string.

public string ToString()

Returns

String