Make EmailTemplateDto mutable, add LangCode property

Changed EmailTemplateDto properties from init-only to mutable (get/set), removed 'required' from Name, and added a new LangCode property with a default value. Also updated using directives and added conditional compilation in EmailTemplate.cs for .NET Framework compatibility. No functional changes to EmailTemplate class.
This commit is contained in:
2026-02-11 11:00:18 +01:00
parent f41199c389
commit cfcd43b0ed
2 changed files with 14 additions and 7 deletions

View File

@@ -1,9 +1,11 @@
using System;
using DigitalData.Core.Abstractions.Interfaces;
using DigitalData.Core.Abstractions.Interfaces;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using EnvelopeGenerator.Domain.Interfaces.Auditing;
#if NETFRAMEWORK
using System;
#endif
namespace EnvelopeGenerator.Domain.Entities
{