-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathDTOs.cs
More file actions
24 lines (22 loc) · 684 Bytes
/
Copy pathDTOs.cs
File metadata and controls
24 lines (22 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System.Collections.Generic;
namespace OptimizeMePlease
{
public class AuthorDto_Optimized
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string UserName { get; set; }
public string Email { get; set; }
public int UserId { get; set; }
public int Age { get; set; }
public string Country { get; set; }
public ICollection<BookStruct> Books { get; set; }
}
public struct BookStruct
{
public int AuthorId { get; set; }
public string Title { get; set; }
public int PublishedYear { get; set; }
}
}