using HospitalManagementSystem.Doctors;
using HospitalManagementSystem.Enums;
using System;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities.Auditing;

namespace HospitalManagementSystem.Appointments
{
    public class Appointment : FullAuditedEntity<Guid>
    {
        public string? FirstName { get; set; }
        public string? LastName { get; set; }
        public GenderEnum? Gender { get; set; }
        public string? Mobile { get; set; }
        public string? Address { get; set; }
        public string? Email { get; set; }
        public string? DOB { get; set; }
        public Guid? DoctorId { get; set; }
        [ForeignKey("DoctorId")]
        public virtual Doctor? Doctor { get; set; }
        public DateTime? DateOfAppointment { get; set; }
        public string? TimeOfAppointment { get; set; }
        public string? InjuryORContion { get; set; }
        public string? Note { get; set; }
    }
}
