diff --git a/DigitalData.UserManager.Application/DTOs/User/UserReadDto.cs b/DigitalData.UserManager.Application/DTOs/User/UserReadDto.cs index b44afce..fbfef1b 100644 --- a/DigitalData.UserManager.Application/DTOs/User/UserReadDto.cs +++ b/DigitalData.UserManager.Application/DTOs/User/UserReadDto.cs @@ -12,23 +12,29 @@ namespace DigitalData.UserManager.Application.DTOs.User public string? Name { get; set; } - public string Username { get; set; } + public required string Username { get; set; } public string? Shortname { get; set; } public string? Email { get; set; } - public string Language { get; set; } + public required string Language { get; set; } public string? Comment { get; set; } public bool Deleted { get; set; } - public string DateFormat { get; set; } + public required string DateFormat { get; set; } - public string AddedWho { get; set; } + public string? ChangedWho { get; set; } - public bool Active { get; set; } + public required DateTime? ChangedWhen { get; set; } + + public string? AddedWho { get; init; } + + public required DateTime AddedWhen { get; init; } + + public bool Active { get; set; } [JsonIgnore] [NotMapped]