2025-04-03 15:49:04 -03:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
2025-04-12 18:51:25 -03:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2025-04-03 15:49:04 -03:00
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Domain.Entities
|
|
|
|
|
|
{
|
|
|
|
|
|
public class ECustomerAddress
|
|
|
|
|
|
{
|
|
|
|
|
|
public int Id { get; set; }
|
2025-04-04 20:06:04 -03:00
|
|
|
|
public int CustomersId { get; set; }
|
2025-04-12 18:51:25 -03:00
|
|
|
|
[Required(ErrorMessage = "Debe un nombre de sucursal/ubicacion.")]
|
2025-04-03 15:49:04 -03:00
|
|
|
|
public string? BusinessName { get; set; }
|
2025-04-12 18:51:25 -03:00
|
|
|
|
[Required(ErrorMessage = "Debe ingresar una direccion valida.")]
|
2025-04-03 15:49:04 -03:00
|
|
|
|
public string? Streetaddress1 { get; set; }
|
|
|
|
|
|
public string? Streetaddress2 { get; set; }
|
|
|
|
|
|
public string? City { get; set; }
|
|
|
|
|
|
public string? Stateprovince { get; set; }
|
|
|
|
|
|
public string? Postalcode { get; set; }
|
|
|
|
|
|
public string? Country { get; set; }
|
|
|
|
|
|
public decimal? Latitude { get; set; }
|
|
|
|
|
|
public decimal? Longitude { get; set; }
|
|
|
|
|
|
public string? Phonenumber { get; set; }
|
|
|
|
|
|
public string? Email { get; set; }
|
|
|
|
|
|
public string? Notes { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|