15 lines
556 B
C#
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!;
|
|
}
|