From f41199c389408afb1f410974d98376f89525aa5c Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 11 Feb 2026 10:56:20 +0100 Subject: [PATCH] Add LangCode property to EmailTemplate entity Introduced a required LangCode property to the EmailTemplate entity, mapped to the LANG_CODE column in the database as varchar(5). This supports language-specific email templates. --- EnvelopeGenerator.Domain/Entities/EmailTemplate.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/EnvelopeGenerator.Domain/Entities/EmailTemplate.cs b/EnvelopeGenerator.Domain/Entities/EmailTemplate.cs index b0572418..c20f99b6 100644 --- a/EnvelopeGenerator.Domain/Entities/EmailTemplate.cs +++ b/EnvelopeGenerator.Domain/Entities/EmailTemplate.cs @@ -24,6 +24,10 @@ namespace EnvelopeGenerator.Domain.Entities [Column("SUBJECT", TypeName = "nvarchar(512)")] public string Subject { get; set; } + [Required] + [Column("LANG_CODE", TypeName = "varchar(5)")] + public string LangCode { get; set; } + [Required] [Column("ADDED_WHEN", TypeName = "datetime")] [DefaultValue("GETDATE()")]