Files
hrynco-notification-service/HrynCo.NotificationService.DAL.EF/Entities/EmailTemplateDefinitionEntity.cs
T
agrynco aba4173827 feat(templates): add localized push templates and actions
Share template keys across email and push with independent editors and revisions. Render localized actions and preserve version-one delivery.

Ref: IT-1627
2026-10-31 09:38:05 +02:00

15 lines
553 B
C#

using HrynCo.DAL.Abstract.Entities;
namespace HrynCo.NotificationService.DAL.EF.Entities;
internal sealed class EmailTemplateDefinitionEntity : Entity
{
public TemplateEntity Template { get; set; } = null!;
public Guid ServiceId { get; set; }
public ServiceEntity Service { get; set; } = null!;
public required string Key { get; set; }
public Guid Revision { get; set; } = Guid.NewGuid();
public List<EmailTemplateVariableData> Variables { get; set; } = [];
public List<EmailTemplateEntity> Languages { get; set; } = [];
}