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 | |
|---|
| 1 | using ChapterX.Domain.Shared;
|
|---|
| 2 | using System;
|
|---|
| 3 | using System.Collections.Generic;
|
|---|
| 4 | using System.Linq;
|
|---|
| 5 | using System.Text;
|
|---|
| 6 | using System.Threading.Tasks;
|
|---|
| 7 |
|
|---|
| 8 | namespace 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.