phronCare/Domain/Entities/EPatient.cs
Leandro Hernan Rojas 8623488221
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 5m24s
Update ADD Patients y Institutions Models in API
2025-04-20 19:58:17 -03:00

25 lines
889 B
C#

using System.ComponentModel.DataAnnotations;
namespace Domain.Entities
{
public class EPatient
{
public int Id { get; set; }
[Required(ErrorMessage = "Debe ingresar un nombre.")]
public string Firstname { get; set; } = null!;
public string Lastname { get; set; } = null!;
public int? DocumenttypesId { get; set; }
public string? DocumentNumber { get; set; }
public string? AffiliateNumber { get; set; }
public DateOnly? Birthdate { get; set; }
public string? Gender { get; set; }
public string? Phone { get; set; }
public string? Email { get; set; }
public string? Address { get; set; }
public string? Notes { get; set; }
public int? CustomerId { get; set; }
public DateTime Createdat { get; set; }
public DateTime? Modifiedat { get; set; }
}
}