update
This commit is contained in:
@@ -4,15 +4,13 @@ namespace Webshop.Application.DTOs.Customers
|
||||
{
|
||||
public class UpdateCustomerProfileDto
|
||||
{
|
||||
[Required]
|
||||
[Required(ErrorMessage = "Vorname ist erforderlich.")]
|
||||
[MaxLength(100)]
|
||||
public string FirstName { get; set; } = string.Empty;
|
||||
|
||||
[Required]
|
||||
[Required(ErrorMessage = "Nachname ist erforderlich.")]
|
||||
[MaxLength(100)]
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
|
||||
// PhoneNumber könnte auch hier sein, falls der User das ändern darf
|
||||
// public string? PhoneNumber { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user