feat(templates): add service language template management
Add normalized service and template catalogs, scoped administration, migration, validation, and regression coverage. Ref: IT-1601
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using HrynCo.DAL.Abstract.Entities;
|
||||
|
||||
namespace HrynCo.NotificationService.DAL.EF.Entities;
|
||||
|
||||
internal sealed class EmailTemplateDefinitionEntity : Entity
|
||||
{
|
||||
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; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user