School Commit Init

This commit is contained in:
2024-08-31 12:07:21 +03:00
commit 0b130ee18c
2801 changed files with 4720552 additions and 0 deletions
@@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
namespace ProfessionalProfile.Domain
{
public class Notification
{
[Key]
public int notificationId { get; set;}
public int userId { get; set; }
public string activity { get; set; }
public DateTime timestamp { get; set; }
public string details { get; set; }
public bool isRead { get; set; }
// Navigation properties
[JsonIgnore]
public User? User { get; set; }
}
}