oqtane.framework/Oqtane.Shared/Models/Notification.cs
2020-06-03 19:46:47 -04:00

28 lines
934 B
C#

using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Oqtane.Models
{
public class Notification : IDeletable
{
public int NotificationId { get; set; }
public int SiteId { get; set; }
public int? FromUserId { get; set; }
public string FromDisplayName { get; set; }
public string FromEmail { get; set; }
public int? ToUserId { get; set; }
public string ToDisplayName { get; set; }
public string ToEmail { get; set; }
public int? ParentId { get; set; }
public string Subject { get; set; }
public string Body { get; set; }
public DateTime CreatedOn { get; set; }
public bool IsDelivered { get; set; }
public DateTime? DeliveredOn { get; set; }
public string DeletedBy { get; set; }
public DateTime? DeletedOn { get; set; }
public bool IsDeleted { get; set; }
}
}