Files
PowderCoatingLogix/src/PowderCoating.Core/Entities/NotificationTemplate.cs
T
2026-04-23 21:38:24 -04:00

15 lines
556 B
C#

using PowderCoating.Core.Enums;
namespace PowderCoating.Core.Entities;
public class NotificationTemplate : BaseEntity
{
public NotificationType NotificationType { get; set; }
public NotificationChannel Channel { get; set; }
public string DisplayName { get; set; } = string.Empty;
public string? Subject { get; set; } // null for SMS
public string Body { get; set; } = string.Empty; // HTML for Email, plain text for SMS
public bool IsActive { get; set; } = true;
public virtual Company Company { get; set; } = null!;
}