supplier und migration
This commit is contained in:
14
Webshop.Application/DTOs/SupplierDto.cs
Normal file
14
Webshop.Application/DTOs/SupplierDto.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// src/Webshop.Application/DTOs/SupplierDto.cs
|
||||
namespace Webshop.Application.DTOs
|
||||
{
|
||||
public class SupplierDto
|
||||
{
|
||||
public Guid Id { get; set; } = Guid.NewGuid(); // Für PUT/GET, bei POST optional
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string? ContactPerson { get; set; }
|
||||
public string? Email { get; set; }
|
||||
public string? PhoneNumber { get; set; }
|
||||
public Guid? AddressId { get; set; } // Wenn Sie Adressen haben, sonst null
|
||||
public string? Notes { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user