source: ChapterX.Domain/Entities/Notification.cs@ dc383dd

main
Last change on this file since dc383dd was 73b69b2, checked in by kikisrbinoska <srbinoskakristina07@…>, 3 months ago

Fixed reading lists,comments and likes

  • Property mode set to 100644
File size: 699 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 bool IsRead { get; set; }
15 public DateTime CreatedAt { get; set; }
16 public int? RecipientUserId { get; set; }
17 public string? Type { get; set; }
18 public string? Link { get; set; }
19
20 public ICollection<ContentType> ContentTypes { get; set; } = [];
21 public ICollection<Notify> Notifies { get; set; } = [];
22
23 }
24}
Note: See TracBrowser for help on using the repository browser.