phronCare/Domain/Entities/EPatient.cs

25 lines
889 B
C#
Raw Normal View History

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; }
}
}