chore: alle Projekte in das Verzeichnis src verschieben
This commit is contained in:
16
src/WorkFlow.Application/DTO/BaseUpdateDto.cs
Normal file
16
src/WorkFlow.Application/DTO/BaseUpdateDto.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using DigitalData.Core.Abstractions;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WorkFlow.Application.DTO
|
||||
{
|
||||
public record BaseUpdateDto : IUnique<int>
|
||||
{
|
||||
public required int Id { get; init; }
|
||||
|
||||
[JsonIgnore]
|
||||
public required string ChangedWho { get; set; } = "UNKNOWN";
|
||||
|
||||
[JsonIgnore]
|
||||
public required DateTime ChangedWhen = DateTime.Now;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user