Files
parr_api/PARR.Domain/DTOs/User/UserDto.cs

26 lines
577 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace PARR.Domain.DTOs.User
{
//todo: Не делал маппингов
public record UserDto : UserBaseDto
{
public Guid Id { get; set; }
public DateTimeOffset DateCreated { get; set; }
public DateTimeOffset? LastLogon { get; set; }
//todo:
//public List<RoleResponse>? Roles { get; set; }
}
public record UserBaseDto
{
public required string Ip { get; set; }
public string Name { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
}
}