source: ChapterX.Domain/DTOs/ReadingListDto.cs@ a6e33d1

main
Last change on this file since a6e33d1 was 877c13c, checked in by kikisrbinoska <srbinoskakristina07@…>, 4 months ago

Added files

  • Property mode set to 100644
File size: 570 bytes
Line 
1namespace ChapterX.API.DTOs
2{
3 public class ReadingListDto
4 {
5 public int Id { get; set; }
6 public string Name { get; set; } = string.Empty;
7 public string? Content { get; set; }
8 public bool IsPublic { get; set; }
9 public DateTime CreatedAt { get; set; }
10 public DateTime UpdatedAt { get; set; }
11
12 // FK
13 public int UserId { get; set; }
14
15 // Navigation
16 public UserDto User { get; set; } = null!;
17 public ICollection<ReadingListItemsDto> ReadingListItems { get; set; } = [];
18 }
19}
Note: See TracBrowser for help on using the repository browser.