feat(api,core,domain): Получение снапшотов работы роботов
This commit is contained in:
25
PARR.Domain/DTOs/User/UserDto.cs
Normal file
25
PARR.Domain/DTOs/User/UserDto.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user