add put vor customer
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
|
||||
26
AB.Contracts/CustomerForUpdateDto.cs
Normal file
26
AB.Contracts/CustomerForUpdateDto.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AB.Contracts
|
||||
{
|
||||
public class CustomerForUpdateDto
|
||||
{
|
||||
|
||||
public string? Salutaion { get; set; }
|
||||
|
||||
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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user