File size: 697 Bytes
47e77e5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;

namespace TaskTrackingSystem.Database.AppDbContextModels;

public partial class Notification
{
    public long Id { get; set; }

    public long RecipientId { get; set; }

    public long? SenderId { get; set; }

    public byte NotificationType { get; set; }

    public string Title { get; set; } = null!;

    public string Body { get; set; } = null!;

    public string SourceType { get; set; } = null!;

    public long SourceId { get; set; }

    public bool IsRead { get; set; }

    public DateTime? ReadAt { get; set; }

    public DateTime? CreatedAt { get; set; }

    public virtual User Recipient { get; set; } = null!;

    public virtual User? Sender { get; set; }
}