/
GhostIn
/
MatuningApi
Обзор
Документация
Войти
/
GhostIn
/
MatuningApi
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
laba/four
Matuning/Domain/Models/Notifications/Notification.cs
17 строк
592 B
GhostInn
Lab3
28 сен 2024, 19:26
28 сен 2024, 19:26
3bd04b3
Код
Авторство
О чём код?
using Matuning.Domain.Enums; using Matuning.Domain.Models.Users; namespace Matuning.Domain.Models.Notifications; public class Notification { public int NotificationId { get; set; } public int UserId { get; set; } public NotificationType NotificationType { get; set; } public int ReferenceId { get; set; } // Может ссылаться на part_id, service_id и т.д. public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public bool ReadStatus { get; set; } = false; // Навигационные свойства public User User { get; set; } }