38 lines
885 B
C#
38 lines
885 B
C#
using System.Collections.Generic;
|
|
using WebVentaCoche.Enums;
|
|
|
|
namespace WebVentaCoche.ViewModels
|
|
{
|
|
public class AccountDetailsViewModel
|
|
{
|
|
public string Id { get; set; } = null!;
|
|
|
|
public string Name { get; set; } = null!;
|
|
|
|
public string Surname { get; set; } = null!;
|
|
|
|
public string Email { get; set; } = null!;
|
|
|
|
public string PhoneNumber { get; set; } = null!;
|
|
|
|
public UserType UserType { get; set; }
|
|
|
|
public List<AddressViewModel> Addresses { get; set; } = new();
|
|
}
|
|
|
|
public class AddressViewModel
|
|
{
|
|
public int? Id { get; set; }
|
|
|
|
public string Street { get; set; } = null!;
|
|
|
|
public string City { get; set; } = null!;
|
|
|
|
public string State { get; set; } = null!;
|
|
|
|
public string ZipCode { get; set; } = null!;
|
|
|
|
public string Country { get; set; } = null!;
|
|
}
|
|
}
|