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;
    }
}
