source: ChapterX.Domain/DTOs/StoryDto.cs@ b373fea

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

Added files

  • Property mode set to 100644
File size: 1.3 KB
Line 
1using ChapterX.Domain.DTOs;
2
3namespace ChapterX.API.DTOs
4{
5 public class StoryDto
6 {
7 public int Id { get; set; }
8 public bool MatureContent { get; set; }
9 public string ShortDescription { get; set; } = string.Empty;
10 public string? Image { get; set; }
11 public string Content { get; set; } = string.Empty;
12 public DateTime CreatedAt { get; set; }
13 public DateTime UpdatedAt { get; set; }
14
15 // FK
16 public int UserId { get; set; }
17 // Navigation
18 public WriterDto Writer { get; set; } = null!;
19 public ICollection<StatusDto> Statuses { get; set; } = [];
20 public ICollection<ChapterDto> Chapters { get; set; } = [];
21 public ICollection<HasGenreDto> HasGenres { get; set; } = [];
22 public ICollection<LikesDto> Likes { get; set; } = [];
23 public ICollection<CommentDto> Comments { get; set; } = [];
24 public ICollection<CollaborationDto> Collaborations { get; set; } = [];
25 public ICollection<AISuggestionDto> AISuggestions { get; set; } = [];
26 public ICollection<NotifyDto> Notifies { get; set; } = [];
27 public ICollection<ReadingListItemsDto> ReadingListItems { get; set; } = [];
28 public ICollection<NeedApprovalDto> NeedApprovals { get; set; } = [];
29 }
30}
Note: See TracBrowser for help on using the repository browser.