erp-platform/api/modules/Kurs.Notifications/Kurs.Notifications.Domain/Entities/Notification.cs
Sedat ÖZTÜRK e1a9562b22 init project
2025-05-06 09:45:49 +03:00

20 lines
684 B
C#

using System;
using Volo.Abp.Domain.Entities.Auditing;
namespace Kurs.Notifications.Entities;
public class Notification : FullAuditedEntity<Guid>
{
public Guid? NotificationRuleId { get; set; }
public required string NotificationChannel { get; set; }
public required string NotificationType { get; set; }
// Bildirim tipine göre bildirimi alacak olan hedef bilgisini içerir
public required string Identifier { get; set; } //UserId, Email, Phone..
public Guid? UserId { get; set; }
public required string Message { get; set; }
public bool IsSent { get; set; }
public bool IsRead { get; set; }
public DateTime? ReadTime { get; set; }
}