Skip to content

ProfilePicDto

Namespace: SlottyMedia.Backend.Dtos

The Profile Picture Data Transfer Object

public class ProfilePicDto

Inheritance ObjectProfilePicDto

Properties

UserId

Gets or sets the User Id.

public Guid UserId { get; set; }

Property Value

Guid

ProfilePic

Gets or sets the Profile Picture in binary.

public string ProfilePic { get; set; }

Property Value

String

Constructors

ProfilePicDto()

Initializes a new instance of the ProfilePicDto class.

public ProfilePicDto()

Methods

Mapper()

This method maps the ProfilePicDto to a UserDao.

public UserDao Mapper()

Returns

UserDao

Mapper(UserDao)

This method maps the UserDao to a ProfilePicDto.

public ProfilePicDto Mapper(UserDao userDao)

Parameters

userDao UserDao

Returns

ProfilePicDto

ToString()

This method overrides the ToString method to return the ProfilePicDto as a string.

public string ToString()

Returns

String