using System.ComponentModel.DataAnnotations;
namespace Domain.Entities
{
    public class ECustomerAddress
    {
        public int Id { get; set; }
        public int CustomersId { get; set; }
        [Required(ErrorMessage = "Debe un nombre de sucursal/ubicacion.")]
        public string? BusinessName { get; set; }
        [Required(ErrorMessage = "Debe ingresar una direccion valida.")]
        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; }
    }
}