Initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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!;
|
||||
}
|
||||
Reference in New Issue
Block a user