phronCare/Domain/Entities/ECustomerAddress.cs

31 lines
1.0 KiB
C#
Raw Normal View History

2025-04-03 15:49:04 -03:00
using System;
using System.Collections.Generic;
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; }
[Required(ErrorMessage = "Debe un nombre de sucursal/ubicacion.")]
2025-04-03 15:49:04 -03:00
public string? BusinessName { get; set; }
[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; }
}
}