source: ChapterX.Domain/Entities/Likes.cs@ e882b92

main
Last change on this file since e882b92 was e882b92, checked in by kikisrbinoska <srbinoskakristina07@…>, 13 days ago

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

  • Property mode set to 100644
File size: 376 bytes
Line 
1using ChapterX.Domain.Shared;
2
3namespace ChapterX.Domain.Entities
4{
5 public class Likes : IEntity
6 {
7 public int Id { get; set; }
8 public int UserId { get; set; }
9 public int StoryId { get; set; }
10 public DateTime LikedAt { get; set; }
11 public User User { get; set; } = null!;
12 public Story Story { get; set; } = null!;
13 }
14}
Note: See TracBrowser for help on using the repository browser.