-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathBookDto.cs
More file actions
38 lines (32 loc) · 820 Bytes
/
BookDto.cs
File metadata and controls
38 lines (32 loc) · 820 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System;
using Keeptrack.Common.System;
namespace Keeptrack.WebApi.Contracts.Dto;
/// <summary>
/// Book data transfer object.
/// </summary>
public class BookDto : IHasId
{
/// <summary>
/// Book ID.
/// </summary>
public string? Id { get; set; }
/// <summary>
/// Book title.
/// </summary>
/// <example>The Hobbit</example>
public string? Title { get; set; }
/// <summary>
/// Book author.
/// </summary>
/// <example>J.R.R. Tolkien</example>
public string? Author { get; set; }
/// <summary>
/// Book series.
/// </summary>
/// <example>Middle-earth Universe</example>
public string? Series { get; set; }
/// <summary>
/// Book finished reading date.
/// </summary>
public DateOnly? FinishedAt { get; set; }
}