Rename ChangedWhen to ActionDate; add wrapper for compatibility

Renamed the ChangedWhen property to ActionDate in the History entity, preserving the database mapping. Added a ChangedWhen property as a wrapper around ActionDate to maintain backward compatibility with existing code.
This commit is contained in:
2026-02-23 09:38:13 +01:00
parent 0d78e9b8f5
commit f5f137396e

View File

@@ -35,7 +35,9 @@ namespace EnvelopeGenerator.Domain.Entities
public DateTime AddedWhen { get; set; } public DateTime AddedWhen { get; set; }
[Column("ACTION_DATE", TypeName = "datetime")] [Column("ACTION_DATE", TypeName = "datetime")]
public DateTime? ChangedWhen { get; set; } public DateTime? ActionDate { get; set; }
public DateTime? ChangedWhen { get => ActionDate; set => ActionDate = value; }
[Column("COMMENT", TypeName = "nvarchar(max)")] [Column("COMMENT", TypeName = "nvarchar(max)")]
public string public string