blob: ec691b3802a3062b796c4b3622a0261ec2440f7e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
namespace IOL.BookmarkThing.Server.Api.Internal.Dtos;
public class UserArchiveDto
{
public DateTime Created { get; set; }
public UserArchiveUser User { get; set; }
public List<UserArchiveEntry> 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; }
}
}
|