All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 6m16s
25 lines
978 B
C#
25 lines
978 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Domain.Entities
|
|
{
|
|
public partial class EInstitution
|
|
{
|
|
public int Id { get; set; }
|
|
[Required(ErrorMessage = "El nombre de la institucion es obligatorio.")]
|
|
public string Name { get; set; } = null!;
|
|
[Required(ErrorMessage = "El tipo de institucion es obligatorio.")]
|
|
public string Type { get; set; } = null!;
|
|
public string? Streetaddress { get; set; }
|
|
public string? City { get; set; }
|
|
[Required(ErrorMessage = "La provincia es obligatoria.")]
|
|
public string? Province { get; set; } = string.Empty;
|
|
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; }
|
|
public double? Latitude { get; set; } = 0;
|
|
public double? Longitude { get; set; } = 0;
|
|
|
|
}
|
|
} |