main
|
Last change
on this file since 73b69b2 was 877c13c, checked in by kikisrbinoska <srbinoskakristina07@…>, 4 months ago |
|
Added files
|
-
Property mode
set to
100644
|
|
File size:
1.4 KB
|
| Rev | Line | |
|---|
| [877c13c] | 1 | using Microsoft.AspNetCore.DataProtection.KeyManagement;
|
|---|
| 2 | using System.Net.NetworkInformation;
|
|---|
| 3 | using System.Xml.Linq;
|
|---|
| 4 |
|
|---|
| 5 | namespace ChapterX.API.DTOs
|
|---|
| 6 | {
|
|---|
| 7 | public class StoryDto
|
|---|
| 8 | {
|
|---|
| 9 | public int Id { get; set; }
|
|---|
| 10 | public bool MatureContent { get; set; }
|
|---|
| 11 | public string ShortDescription { get; set; } = string.Empty;
|
|---|
| 12 | public string? Image { get; set; }
|
|---|
| 13 | public string Content { get; set; } = string.Empty;
|
|---|
| 14 | public DateTime CreatedAt { get; set; }
|
|---|
| 15 | public DateTime UpdatedAt { get; set; }
|
|---|
| 16 |
|
|---|
| 17 | // FK
|
|---|
| 18 | public int UserId { get; set; }
|
|---|
| 19 | // Navigation
|
|---|
| 20 | public WriterDto Writer { get; set; } = null!;
|
|---|
| 21 | public ICollection<StatusDto> Statuses { get; set; } = [];
|
|---|
| 22 | public ICollection<ChapterDto> Chapters { get; set; } = [];
|
|---|
| 23 | public ICollection<HasGenreDto> HasGenres { get; set; } = [];
|
|---|
| 24 | public ICollection<LikesDto> Likes { get; set; } = [];
|
|---|
| 25 | public ICollection<CommentDto> Comments { get; set; } = [];
|
|---|
| 26 | public ICollection<CollaborationDto> Collaborations { get; set; } = [];
|
|---|
| 27 | public ICollection<AISuggestionDto> AISuggestions { get; set; } = [];
|
|---|
| 28 | public ICollection<NotifyDto> Notifies { get; set; } = [];
|
|---|
| 29 | public ICollection<ReadingListItemsDto> ReadingListItems { get; set; } = [];
|
|---|
| 30 | public ICollection<NeedApprovalDto> NeedApprovals { get; set; } = [];
|
|---|
| 31 | }
|
|---|
| 32 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.