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/Notification.cs

    ra6e33d1 re882b92  
    1212        public int Id { get; set; }
    1313        public string Content { get; set; } = string.Empty;
     14        public string ContentType { get; set; } = string.Empty;
    1415        public bool IsRead { get; set; }
     16        public string? Link { get; set; }
    1517        public DateTime CreatedAt { get; set; }
    16         public int? RecipientUserId { get; set; }
    17         public string? Type { get; set; }
    18         public string? Link { get; set; }
    1918
    20         public ICollection<ContentType> ContentTypes { get; set; } = [];
    21         public ICollection<Notify> Notifies { get; set; } = [];
    22 
     19        public int UserId { get; set; }
     20        public int? StoryId { get; set; }
     21        public User User { get; set; } = null!;
     22        public Story? Story { get; set; }
    2323    }
    2424}
Note: See TracChangeset for help on using the changeset viewer.