14 lines
546 B
C#
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; }
|
|
}
|
|
} |