aba4173827
Share template keys across email and push with independent editors and revisions. Render localized actions and preserve version-one delivery. Ref: IT-1627
14 lines
494 B
C#
14 lines
494 B
C#
using HrynCo.DAL.Abstract.Entities;
|
|
|
|
namespace HrynCo.NotificationService.DAL.EF.Entities;
|
|
|
|
internal sealed class PushTemplateDefinitionEntity : Entity
|
|
{
|
|
public Guid ServiceId { get; set; }
|
|
public required string Key { get; set; }
|
|
public TemplateEntity Template { get; set; } = null!;
|
|
public Guid Revision { get; set; } = Guid.NewGuid();
|
|
public List<PushTemplateVariableData> Variables { get; set; } = [];
|
|
public List<PushTemplateEntity> Languages { get; set; } = [];
|
|
}
|