using EnvelopeGenerator.Application.Common.Query; namespace EnvelopeGenerator.Application.DocStatus.Commands; /// /// /// public record ModifyDocStatusCommandBase : EnvelopeReceiverQueryBase { /// /// /// public virtual int EnvelopeId { get; set; } /// /// /// public virtual int ReceiverId { get; set; } /// /// Gets or sets the display value associated with the status. /// public virtual string? Value { get; set; } /// /// Maps the current command to a new instance of the specified type. /// /// /// public TDest To() where TDest : ModifyDocStatusCommandBase, new() => new() { Key = Key, Envelope = Envelope, Receiver = Receiver, Value = Value }; }