using EnvelopeGenerator.Domain; namespace EnvelopeGenerator.Application.DocStatus.Commands; /// /// /// public class CreateDocStatusCommand { /// /// Gets or sets the ID of the associated envelope. /// public int EnvelopeId { get; set; } /// /// Gets or sets the ID of the receiver associated with this status. /// public int ReceiverId { get; set; } /// /// Gets the current status code. /// public Constants.DocumentStatus Status => Value is null ? Constants.DocumentStatus.Created : Constants.DocumentStatus.Signed; /// /// Gets the timestamp when the status was changed. Retrns the AddedWhen value. /// public DateTime? StatusChangedWhen => AddedWhen; /// /// Gets timestamp when this record was added. Returns the current date and time. /// public DateTime AddedWhen { get; } = DateTime.Now; /// /// Gets or sets the display value associated with the status. /// public string? Value { get; set; } }