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.
This commit is contained in:
2026-03-06 14:43:27 +01:00
parent 302249451b
commit ab038df8b9

View File

@@ -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; }