main
|
Last change
on this file since 3ae4bab was 877c13c, checked in by kikisrbinoska <srbinoskakristina07@…>, 4 months ago |
|
Added files
|
-
Property mode
set to
100644
|
|
File size:
570 bytes
|
| Rev | Line | |
|---|
| [877c13c] | 1 | namespace 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.