- Erstellt „Read-DTO“ - Erstellt „Create-DTO - Erstellt „Update-DTO“ um nur „DateValid“ zu aktualisieren.
10 lines
275 B
C#
10 lines
275 B
C#
namespace EnvelopeGenerator.Application.DTOs.EnvelopeReceiverReadOnly
|
|
{
|
|
public record EnvelopeReceiverReadOnlyUpdateDto(
|
|
long Id,
|
|
DateTime DateValid,
|
|
string ChangedWho)
|
|
{
|
|
public DateTime ChangedWhen { get; } = DateTime.Now;
|
|
};
|
|
} |