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/Entities/Story.cs

    ra6e33d1 re882b92  
    1616        public string? Image { get; set; }
    1717        public string Content { get; set; } = string.Empty;
     18        public string Status { get; set; } = "draft";
    1819        public DateTime CreatedAt { get; set; }
    1920        public DateTime UpdatedAt { get; set; }
     
    2122        public int UserId { get; set; }
    2223        public Writer Writer { get; set; } = null!;
    23         public ICollection<Status> Statuses { get; set; } = [];
    2424        public ICollection<Chapter> Chapters { get; set; } = [];
    2525        public ICollection<HasGenre> HasGenres { get; set; } = [];
     
    2828        public ICollection<Collaboration> Collaborations { get; set; } = [];
    2929        public ICollection<AISuggestion> AISuggestions { get; set; } = [];
    30         public ICollection<Notify> Notifies { get; set; } = [];
     30        public ICollection<Notification> Notifications { get; set; } = [];
    3131        public ICollection<ReadingListItems> ReadingListItems { get; set; } = [];
    3232        public ICollection<NeedApproval> NeedApprovals { get; set; } = [];
Note: See TracChangeset for help on using the changeset viewer.