source: ChapterX.Domain/Entities/Notification.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: 705 bytes
Line 
1using ChapterX.Domain.Shared;
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using System.Text;
6using System.Threading.Tasks;
7
8namespace ChapterX.Domain.Entities
9{
10 public class Notification : IEntity
11 {
12 public int Id { get; set; }
13 public string Content { get; set; } = string.Empty;
14 public string ContentType { get; set; } = string.Empty;
15 public bool IsRead { get; set; }
16 public string? Link { get; set; }
17 public DateTime CreatedAt { get; set; }
18
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; }
23 }
24}
Note: See TracBrowser for help on using the repository browser.