From ab038df8b9069c11a9b0ae94ab6bc36d26ee9b32 Mon Sep 17 00:00:00 2001 From: TekH Date: Fri, 6 Mar 2026 14:43:27 +0100 Subject: [PATCH] Update nullability for Title and Comment properties Removed nullable annotation from Title, making it non-nullable. Changed Comment to be nullable with conditional compilation support for nullable reference types. --- EnvelopeGenerator.Domain/Entities/Envelope.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/EnvelopeGenerator.Domain/Entities/Envelope.cs b/EnvelopeGenerator.Domain/Entities/Envelope.cs index 5ba90338..479d7010 100644 --- a/EnvelopeGenerator.Domain/Entities/Envelope.cs +++ b/EnvelopeGenerator.Domain/Entities/Envelope.cs @@ -76,11 +76,14 @@ namespace EnvelopeGenerator.Domain.Entities #if nullable ? #endif - Title - { get; set; } + Title { get; set; } [Column("COMMENT", TypeName = "nvarchar(128)")] - public string Comment { get; set; } + public string +#if nullable + ? +#endif + Comment { get; set; } [Column("CONTRACT_TYPE")] public int? ContractType { get; set; }