21 lines
797 B
C#
21 lines
797 B
C#
// src/Webshop.Application/DTOs/Customers/AddressDto.cs
|
|
using System;
|
|
using Webshop.Domain.Enums;
|
|
|
|
namespace Webshop.Application.DTOs.Customers
|
|
{
|
|
public class AddressDto
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Street { get; set; } = string.Empty;
|
|
public string HouseNumber { get; set; } = string.Empty;
|
|
public string City { get; set; } = string.Empty;
|
|
public string PostalCode { get; set; } = string.Empty;
|
|
public string Country { get; set; } = string.Empty;
|
|
public AddressType Type { get; set; }
|
|
|
|
// Fügen Sie auch FirstName und LastName hinzu, falls diese in der Adresse gespeichert sind
|
|
public string FirstName { get; set; } = string.Empty;
|
|
public string LastName { get; set; } = string.Empty;
|
|
}
|
|
} |