16 lines
396 B
C#
16 lines
396 B
C#
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;
|
|
}
|
|
} |