phronCare/Domain/Entities/ECustomerAddress.cs
Leandro Hernan Rojas 0177366fc9
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 5m4s
Update Customers Update Create and List
2025-04-12 18:51:25 -03:00

31 lines
1.0 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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; }
}
}