2025-04-21 19:41:26 -03:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Domain.Entities
|
2025-04-20 19:58:17 -03:00
|
|
|
|
{
|
|
|
|
|
|
public partial class EInstitution
|
|
|
|
|
|
{
|
|
|
|
|
|
public int Id { get; set; }
|
2025-04-21 19:41:26 -03:00
|
|
|
|
[Required(ErrorMessage = "El nombre de la institucion es obligatorio.")]
|
2025-04-20 19:58:17 -03:00
|
|
|
|
public string Name { get; set; } = null!;
|
2025-04-21 19:41:26 -03:00
|
|
|
|
[Required(ErrorMessage = "El tipo de institucion es obligatorio.")]
|
2025-04-20 19:58:17 -03:00
|
|
|
|
public string Type { get; set; } = null!;
|
|
|
|
|
|
public string? Streetaddress { get; set; }
|
|
|
|
|
|
public string? City { get; set; }
|
2025-04-21 19:41:26 -03:00
|
|
|
|
[Required(ErrorMessage = "La provincia es obligatoria.")]
|
|
|
|
|
|
public string? Province { get; set; } = string.Empty;
|
2025-04-20 19:58:17 -03:00
|
|
|
|
public string? Phone { get; set; }
|
|
|
|
|
|
public string? Email { get; set; }
|
|
|
|
|
|
public string? Operatingroominfo { get; set; }
|
|
|
|
|
|
public DateTime Createdat { get; set; }
|
|
|
|
|
|
public bool Isactive { get; set; }
|
2025-04-21 19:41:26 -03:00
|
|
|
|
public double? Latitude { get; set; } = 0;
|
|
|
|
|
|
public double? Longitude { get; set; } = 0;
|
2025-04-20 19:58:17 -03:00
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|