refactor: Benutzer-DTOs und -Entitäten an die Datenbankstruktur angepasst
This commit is contained in:
@@ -3,5 +3,7 @@
|
||||
public record BaseUpdateDto()
|
||||
{
|
||||
public string ChangedWho { get; set; } = "UNAUTHORIZED";
|
||||
|
||||
public DateTime ChangedWhen { get; set; } = DateTime.Now;
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,6 @@ namespace DigitalData.UserManager.Application.DTOs.User
|
||||
public string? Comment { get; init; }
|
||||
public bool? Deleted { get; init; }
|
||||
public string DateFormat { get; init; } = "dd.MM.yyyy";
|
||||
public string? ChangedWho { get; init; }
|
||||
public bool Active { get; init; } = true;
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,7 @@ namespace DigitalData.UserManager.Application.DTOs.User
|
||||
string? Comment,
|
||||
bool? Deleted,
|
||||
string? DateFormat,
|
||||
bool? Active
|
||||
bool? Active,
|
||||
string AddedWho
|
||||
) : BaseUpdateDto();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user