add put vor customer

This commit is contained in:
Lars Unruh
2023-06-08 12:36:57 +02:00
parent c805ce20a8
commit 7b1aaacfb5
6 changed files with 74 additions and 11 deletions

View File

@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace AB.Contracts;
@@ -11,16 +6,16 @@ public class CustomerForCreationDto
{
[Required]
public string Salutaion { get; set; }
[Required]
public string Name1 { get; set; }
public string? Name2 { get; set; }
public string? Email { get; set; }
public string? Iban { get; set; }
public string? PhoneNumber { get; set; }