ee4c988a0d
Remove duplicate IEntity, Entity, ITransaction, IUnitOfWork, EfRepository, EfUnitOfWork, EfTransactionAdapter — now consumed from HrynCo.DAL.Abstract and HrynCo.DAL.EF packages (1.0.1). Ref: IT-0
21 lines
645 B
C#
21 lines
645 B
C#
using HrynCo.DAL.Abstract.Entities;
|
|
|
|
namespace HrynCo.NotificationService.DAL.EF.Entities;
|
|
|
|
internal class EmailTemplateEntity : Entity
|
|
{
|
|
public required string ServiceName { get; set; }
|
|
public required string Key { get; set; }
|
|
public required string LanguageCode { get; set; }
|
|
public required string Subject { get; set; }
|
|
public required string HtmlBody { get; set; }
|
|
public required string TextBody { get; set; }
|
|
public List<EmailTemplateVariableData> Variables { get; set; } = [];
|
|
}
|
|
|
|
internal class EmailTemplateVariableData
|
|
{
|
|
public required string Name { get; set; }
|
|
public bool Required { get; set; }
|
|
}
|