Files
ShopSolution-backend/Webshop.Application/DTOs/SupplierDto.cs
2025-07-23 12:33:01 +02:00

14 lines
546 B
C#

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