Ignore:
Timestamp:
08/24/26 20:57:09 (13 days ago)
Author:
kikisrbinoska <srbinoskakristina07@…>
Branches:
main
Parents:
a6e33d1
Message:

Added corrected entitef from the ER diagram and changes for the logic to be coresponding to the ddl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ChapterX.API/DTOs/StoryDto.cs

    ra6e33d1 re882b92  
    99        public int Id { get; set; }
    1010        public bool MatureContent { get; set; }
     11        public string Title { get; set; } = string.Empty;
    1112        public string ShortDescription { get; set; } = string.Empty;
    1213        public string? Image { get; set; }
    1314        public string Content { get; set; } = string.Empty;
     15        public string Status { get; set; } = "draft";
    1416        public DateTime CreatedAt { get; set; }
    1517        public DateTime UpdatedAt { get; set; }
     
    1921        // Navigation
    2022        public WriterDto Writer { get; set; } = null!;
    21         public ICollection<StatusDto> Statuses { get; set; } = [];
    2223        public ICollection<ChapterDto> Chapters { get; set; } = [];
    2324        public ICollection<HasGenreDto> HasGenres { get; set; } = [];
     
    2627        public ICollection<CollaborationDto> Collaborations { get; set; } = [];
    2728        public ICollection<AISuggestionDto> AISuggestions { get; set; } = [];
    28         public ICollection<NotifyDto> Notifies { get; set; } = [];
    2929        public ICollection<ReadingListItemsDto> ReadingListItems { get; set; } = [];
    3030        public ICollection<NeedApprovalDto> NeedApprovals { get; set; } = [];
Note: See TracChangeset for help on using the changeset viewer.