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.Domain/DTOs/StoryDto.cs

    ra6e33d1 re882b92  
    77        public int Id { get; set; }
    88        public bool MatureContent { get; set; }
     9        public string Title { get; set; } = string.Empty;
    910        public string ShortDescription { get; set; } = string.Empty;
    1011        public string? Image { get; set; }
    1112        public string Content { get; set; } = string.Empty;
     13        public string Status { get; set; } = "draft";
    1214        public DateTime CreatedAt { get; set; }
    1315        public DateTime UpdatedAt { get; set; }
     
    1719        // Navigation
    1820        public WriterDto Writer { get; set; } = null!;
    19         public ICollection<StatusDto> Statuses { get; set; } = [];
    2021        public ICollection<ChapterDto> Chapters { get; set; } = [];
    2122        public ICollection<HasGenreDto> HasGenres { get; set; } = [];
     
    2425        public ICollection<CollaborationDto> Collaborations { get; set; } = [];
    2526        public ICollection<AISuggestionDto> AISuggestions { get; set; } = [];
    26         public ICollection<NotifyDto> Notifies { get; set; } = [];
    2727        public ICollection<ReadingListItemsDto> ReadingListItems { get; set; } = [];
    2828        public ICollection<NeedApprovalDto> NeedApprovals { get; set; } = [];
Note: See TracChangeset for help on using the changeset viewer.