Initial commit

This commit is contained in:
2026-04-23 21:38:24 -04:00
commit 63e12a9636
1762 changed files with 1672620 additions and 0 deletions
@@ -0,0 +1,23 @@
using PowderCoating.Core.Enums;
using System.ComponentModel.DataAnnotations;
namespace PowderCoating.Application.DTOs.Notification;
public class NotificationTemplateDto
{
public int Id { get; set; }
public NotificationType NotificationType { get; set; }
public NotificationChannel Channel { get; set; }
public string DisplayName { get; set; } = string.Empty;
public string? Subject { get; set; }
public string Body { get; set; } = string.Empty;
public bool IsEmail => Channel == NotificationChannel.Email;
public DateTime? UpdatedAt { get; set; }
}
public class UpdateNotificationTemplateDto
{
public int Id { get; set; }
[StringLength(300)] public string? Subject { get; set; }
[Required] public string Body { get; set; } = string.Empty;
}