namespace IOL.BookmarkThing.Server.Api.Internal.Dtos; public class UserArchiveDto { public DateTime Created { get; set; } public UserArchiveUser User { get; set; } public List Entries { get; set; } public class UserArchiveUser { public UserArchiveUser(User user) { Created = user.Created; Username = user.Username; } public DateTime Created { get; set; } public string Username { get; set; } } public class UserArchiveEntry { public UserArchiveEntry(Entry entry) { Url = entry.Url; Description = entry.Description; Tags = entry.Tags; } public Uri Url { get; set; } public string Description { get; set; } public string Tags { get; set; } } }