create CreateHistoryCommand

This commit is contained in:
2025-08-25 17:22:26 +02:00
parent 99083a68aa
commit 78100ef24f
2 changed files with 57 additions and 4 deletions

View File

@@ -38,14 +38,28 @@ public class EnvelopeHistory
public DateTime AddedWhen { get; set; }
[Column("ACTION_DATE", TypeName = "datetime")]
public DateTime ActionDate { get; set; } = DateTime.Now;
public DateTime? ActionDate { get; set; } = DateTime.Now;
[Column("COMMENT", TypeName = "nvarchar(max)")]
public string Comment { get; set; }
public string
#if NET
?
#endif
Comment { get; set; }
public virtual User Sender { get; set; }
public virtual User
#if NET
?
#endif
Sender
{ get; set; }
public virtual Receiver Receiver { get; set; }
public virtual Receiver
#if NET
?
#endif
Receiver
{ get; set; }
#if NETFRAMEWORK
[NotMapped]