supplier und migration

This commit is contained in:
Tizian.Breuch
2025-07-23 12:33:01 +02:00
parent c3292d6739
commit 1fe88fac3a
8 changed files with 195 additions and 3 deletions

View 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; }
}
}