36 lines
1011 B
C#
36 lines
1011 B
C#
using HospitalManagementSystem.Documents;
|
|
using HospitalManagementSystem.GlobalEnum;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|
|
|
namespace HospitalManagementSystem.Patients
|
|
{
|
|
public class Patient : AuditedAggregateRoot<Guid>
|
|
{
|
|
[Required]
|
|
public string PatientCardId { get; set; }
|
|
[Required]
|
|
public string Name { get; set; }
|
|
[Required]
|
|
public Gender Gender { get; set; }
|
|
[Required]
|
|
public string Mobile { get; set; }
|
|
[Required]
|
|
public string Email { get; set; }
|
|
[Required]
|
|
public int Age { get; set; }
|
|
[Required]
|
|
public string Address { get; set; }
|
|
[Required]
|
|
public string BloodGroup { get; set; }
|
|
public string InsuranceProvider { get; set; }
|
|
public EntityDocument? Images { get; set; }
|
|
}
|
|
}
|
|
|