diff --git a/EnvelopeGenerator.Application/DTOs/EnvelopeHistory/EnvelopeHistoryCreateDto.cs b/EnvelopeGenerator.Application/DTOs/EnvelopeHistory/EnvelopeHistoryCreateDto.cs index 2999935d..92264d05 100644 --- a/EnvelopeGenerator.Application/DTOs/EnvelopeHistory/EnvelopeHistoryCreateDto.cs +++ b/EnvelopeGenerator.Application/DTOs/EnvelopeHistory/EnvelopeHistoryCreateDto.cs @@ -4,5 +4,6 @@ int EnvelopeId, string UserReference, int Status, - DateTime? ActionDate); + DateTime? ActionDate, + string? Comment = null); } \ No newline at end of file diff --git a/EnvelopeGenerator.Application/DTOs/EnvelopeHistory/EnvelopeHistoryDto.cs b/EnvelopeGenerator.Application/DTOs/EnvelopeHistory/EnvelopeHistoryDto.cs index 8f242bc0..deef909e 100644 --- a/EnvelopeGenerator.Application/DTOs/EnvelopeHistory/EnvelopeHistoryDto.cs +++ b/EnvelopeGenerator.Application/DTOs/EnvelopeHistory/EnvelopeHistoryDto.cs @@ -6,5 +6,6 @@ string UserReference, int Status, DateTime AddedWhen, - DateTime? ActionDate); + DateTime? ActionDate, + string? Comment = null); } \ No newline at end of file diff --git a/EnvelopeGenerator.Domain/Entities/EnvelopeHistory.cs b/EnvelopeGenerator.Domain/Entities/EnvelopeHistory.cs index ada07298..0166f0fb 100644 --- a/EnvelopeGenerator.Domain/Entities/EnvelopeHistory.cs +++ b/EnvelopeGenerator.Domain/Entities/EnvelopeHistory.cs @@ -30,5 +30,8 @@ namespace EnvelopeGenerator.Domain.Entities [Column("ACTION_DATE", TypeName = "datetime")] public DateTime? ActionDate { get; set; } + + [Column("COMMENT", TypeName = "nvarchar(max)")] + public string? Comment { get; set; } } } \ No newline at end of file