Commit 48b6124e authored by Sandeep Sagar Panjala's avatar Sandeep Sagar Panjala

initial commit

parent 7875c98c
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The appointment log.
/// </summary>
public class AppointmentLog
{
/// <summary>
/// Gets or sets the appointment log id.
/// </summary>
[Key, Identity]
public int AppointmentLogId { get; set; }
/// <summary>
/// Gets or sets the provider location id.
/// </summary>
//public int ProviderLocationId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the visit type.
/// </summary>
public char? VisitType { get; set; }
/// <summary>
/// Gets or sets the patient type.
/// </summary>
public char? PatientType { get; set; }
/// <summary>
/// Gets or sets the charge type.
/// </summary>
public char? ChargeType { get; set; }
/// <summary>
/// Gets or sets the appointment date.
/// </summary>
public DateTime AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public TimeSpan AppointmentTime { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public TimeSpan AppointmentEndTime { get; set; }
/// <summary>
/// Gets or sets the appointment notes.
/// </summary>
public string? AppointmentNotes { get; set; }
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
public int? CouponId { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public decimal Amount { get; set; }
/// <summary>
/// Gets or sets the discount.
/// </summary>
public decimal Discount { get; set; }
/// <summary>
/// Gets or sets the app charges.
/// </summary>
public decimal AppCharges { get; set; }
/// <summary>
/// Gets or sets the wallet amount.
/// </summary>
public decimal? WalletAmount { get; set; }
/// <summary>
/// Gets or sets the total.
/// </summary>
public decimal Total { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the patient family id.
/// </summary>
public int? PatientFamilyId { get; set; }
/// <summary>
/// Gets or sets the patient family id.
/// </summary>
public double? Percentage { get; set; }
/// <summary>
/// Gets or sets the department id.
/// </summary>
public int? DepartmentId { get; set; }
/// <summary>
/// Gets or sets payment type.
/// </summary>
public string? PaymentType { get; set; }
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int? VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the charge types id.
/// </summary>
public int? ChargeTypesId { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the appointment type id.
/// </summary>
public int? AppointmentTypeId { get; set; }
/// <summary>
/// Gets or sets the pay type id.
/// </summary>
public int PayTypeId { get; set; }
/// <summary>
/// Gets or sets the pay type id.
/// </summary>
public int TokenNumber { get; set; }
/// <summary>
/// Gets or sets the SpecializationId.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the receipt type id.
/// </summary>
public int ReceiptTypeId { get; set; }
/// <summary>
/// Gets or sets the receipt area type id.
/// </summary>
public int ReceiptAreaTypeId { get; set; }
/// <summary>
/// Gets or sets the provider availability id.
/// </summary>
public int ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the provider availability id.
/// </summary>
public int ConsultationTypeId { get; set; }
/// <summary>
/// Gets or sets the registration charges.
/// this value is used to add in Patient table (while inserting new patient either identify or unidentify patient.)
/// </summary>
public decimal? PatientRegistrationCharges { get; set; }
/// <summary>
/// Gets or sets the provider availability charge type id.
/// </summary>
public int? DoctorSpecializationChargeModuleDetailsId { get; set; }
/// <summary>
/// Gets or sets the session id.
/// </summary>
public int? SessionId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The appointment support log.
/// </summary>
public class AppointmentSupportLog
{
/// <summary>
/// Gets or sets the appointment support log id.
/// </summary>
[Key, Identity]
public long AppointmentSupportLogId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
[IgnoreUpdate]
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the assignee id.
/// </summary>
public int? AssigneeId { get; set; }
/// <summary>
/// Gets or sets the audio.
/// </summary>
public string Audio { get; set; }
/// <summary>
/// Gets or sets the video.
/// </summary>
public string Video { get; set; }
/// <summary>
/// Gets or sets the document.
/// </summary>
public string Document { get; set; }
/// <summary>
/// Gets or sets the invoice.
/// </summary>
public string Invoice { get; set; }
/// <summary>
/// Gets or sets the comments.
/// </summary>
public string Comments { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the call status.
/// </summary>
public string CallStatus { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The appointment symptoms.
/// </summary>
public class AppointmentSymptom
{
/// <summary>
/// Gets or sets appointment symptom Id.
/// </summary>
[Key, Identity]
public int AppointmentSymptomId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
public int? AppointmentId { get; set; }
/// <summary>
/// Gets or sets the admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int? AdmissionId { get; set; }
/// <summary>
/// Gets or sets symptoms.
/// </summary>
public string Symptoms { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The appointment transaction.
/// </summary>
public class AppointmentTransaction
{
/// <summary>
/// Gets or sets the appointment transaction id.
/// </summary>
[Key, Identity]
public int AppointmentTransactionId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
[IgnoreUpdate]
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets the Transaction id.
/// </summary>
[IgnoreUpdate]
public string TransactionId { get; set; }
/// <summary>
/// Gets or sets the transaction.
/// </summary>
[IgnoreUpdate]
public string Transaction { get; set; }
/// <summary>
/// Gets or sets the transaction date.
/// </summary>
[IgnoreUpdate]
public DateTime TransactionDate { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the bank reference.
/// </summary>
public string BankReference { get; set; }
/// <summary>
/// Gets or sets the bank code.
/// </summary>
public string BankCode { get; set; }
/// <summary>
/// Gets or sets the payment id.
/// </summary>
public long PaymentId { get; set; }
/// <summary>
/// Gets or sets the payment mode id.
/// </summary>
public int PaymentModeId { get; set; }
/// <summary>
/// Gets or sets the refund id.
/// </summary>
public int? RefundId { get; set; }
/// <summary>
/// Gets or sets the payment status id.
/// </summary>
public int? PaymentStatusId { get; set; }
/// <summary>
/// Gets or sets the settled amount.
/// </summary>
public decimal? SettledAmount { get; set; }
/// <summary>
/// Gets or sets the payout id.
/// </summary>
public int? PayoutId { get; set; }
/// <summary>
/// Gets or sets the settled date.
/// </summary>
public DateTime? SettledDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public double? Percentage { get; set; }
/// <summary>
/// Gets or sets the status code.
/// </summary>
public int? SalucroStatusCode { get; set; }
/// <summary>
/// Gets or sets the salucro transaction id.
/// </summary>
public string SalucroTransactionId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the receipt type id.
/// </summary>
public int ReceiptTypeId { get; set; }
/// <summary>
/// Gets or sets the receipt area type id.
/// </summary>
public int ReceiptAreaTypeId { get; set; }
/// <summary>
/// Gets or sets the voucher number.
/// </summary>
[IgnoreUpdate]
public string VoucherNumber { get; set; }
/// <summary>
/// Gets or sets the SendedVia.
/// </summary>
public string SendedVia { get; set; }
/// <summary>
/// Gets or sets the Received in.
/// </summary>
public string ReceivedIn { get; set; }
/// <summary>
/// Gets or sets the status check in progress.
/// </summary>
public bool StatusCheckInProgress { get; set; }
/// <summary>
/// Gets or sets the receipt area type id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the pay status.
/// </summary>
public char? PayStatus { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The appointment types
/// </summary>
public class AppointmentType
{
/// <summary>
/// Gets or sets the appointment type.
/// </summary>
/// <value>
/// The appointment type.
/// </value>
[Key, Identity]
public int AppointmentTypeId { get; set; }
/// <summary>
/// Gets or sets the name of the appointment.
/// </summary>
/// <value>
/// The name of the appointment.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the color of the row.
/// </summary>
/// <value>
/// The color of the row.
/// </value>
public string RowColor { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The visit type.
/// </summary>
public class AssessmentType
{
/// <summary>
/// Gets or sets the assessment type id.
/// </summary>
[Key, Identity]
public int AssessmentTypeId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The auditLog.
/// </summary>
public class AuditLog
{
/// <summary>
/// Gets or sets the auditLog id.
/// </summary>
[Key, Identity]
public int AuditLogId { get; set; }
/// <summary>
/// Gets or sets the Log type.
/// </summary>
public int LogTypeId { get; set; }
/// <summary>
/// Gets or sets the log date.
/// </summary>
[IgnoreUpdate]
public DateTime LogDate { get; set; }
/// <summary>
/// Gets or sets the app type.
/// </summary>
public short LogFrom { get; set; }
/// <summary>
/// Gets or sets the user id.
/// </summary>
public int? AccountId { get; set; }
/// <summary>
/// Gets or sets the auditLog code.
/// </summary>
public string LogDescription { get; set; }
/// <summary>
/// Gets or sets the Location id.
/// </summary>
public int? LocationId { get; set; }
}
}
\ No newline at end of file
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities
{
/// <summary>
/// The AuthorityMaster table
/// </summary>
public class AuthorityMaster
{
/// <summary>
/// Gets or sets the Authority Master identifier.
/// </summary>
/// <value>
/// The Authority Master identifier.
/// </value>
[Key, Identity]
public int AuthorityMasterId { get; set; }
/// <summary>
/// Gets or sets the Authority.
/// </summary>
/// <value>
/// The Authority.
/// </value>
public string Authority { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="AuthorityMaster"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class Bed
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int BedId { get; set; }
/// <summary>
/// Gets or sets the BedType.
/// </summary>
public string BedType { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int RoomId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string BedNumber { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int BedStatusId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The encounter.
/// </summary>
public class BehavioralHealth
{
/// <summary>
/// Gets or sets the encounter id.
/// </summary>
[Key, Identity]
public int BehavioralHealthId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
[IgnoreUpdate]
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets the encounter date.
/// </summary>
[IgnoreUpdate]
public DateTime BehavioralHealthDate { get; set; }
/// <summary>
/// Gets or sets the problem history.
/// </summary>
public string? ProblemHistory { get; set; }
/// <summary>
/// Gets or sets the medical history.
/// </summary>
public string? MedicalHistory { get; set; }
/// <summary>
/// Gets or sets the current support.
/// </summary>
public string? CurrentSupport { get; set; }
/// <summary>
/// Gets or sets the current living.
/// </summary>
public string? CurrentLiving { get; set; }
/// <summary>
/// Gets or sets the educational history.
/// </summary>
public string? EducationalHistory { get; set; }
/// <summary>
/// Gets or sets the client strengths.
/// </summary>
public string? ClientStrengths { get; set; }
/// <summary>
/// Gets or sets the out come measures.
/// </summary>
public string? OutComeMeasures { get; set; }
/// <summary>
/// Gets or sets the substance history.
/// </summary>
public string? SubstanceHistory { get; set; }
/// <summary>
/// Gets or sets the work history.
/// </summary>
public string? WorkHistory { get; set; }
/// <summary>
/// Gets or sets the abuse history.
/// </summary>
public string? AbuseHistory { get; set; }
/// <summary>
/// Gets or sets the religion spirituality.
/// </summary>
public string? ReligionSpirituality { get; set; }
/// <summary>
/// Gets or sets the mental status.
/// </summary>
public string? MentalStatus { get; set; }
/// <summary>
/// Gets or sets the family relationships.
/// </summary>
public string? FamilyRelationships { get; set; }
/// <summary>
/// Gets or sets the relapse predictors.
/// </summary>
public string? RelapsePredictors { get; set; }
/// <summary>
/// Gets or sets the patient questionnaire.
/// </summary>
public string? PatientQuestionnaire { get; set; }
/// <summary>
/// Gets or sets the generalised anxiety disorder.
/// </summary>
public string? GeneralisedAnxietyDisorder { get; set; }
/// <summary>
/// Gets or sets the burns depression.
/// </summary>
public string? BurnsDepression { get; set; }
/// <summary>
/// Gets or sets the aims.
/// </summary>
public string? Aims { get; set; }
/// <summary>
/// Gets or sets the geno gram.
/// </summary>
public string? Genogram { get; set; }
/// <summary>
/// Gets or sets the notes.
/// </summary>
public string? Notes { get; set; }
/// <summary>
/// Gets or sets the vitals.
/// </summary>
public string? Vitals { get; set; }
/// <summary>
/// Gets or sets the referral provider.
/// </summary>
public string? ReferralProvider { get; set; }
/// <summary>
/// Gets or sets the follow up.
/// </summary>
public string? FollowUp { get; set; }
/// <summary>
/// Gets or sets the medications.
/// </summary>
public string? Medications { get; set; }
/// <summary>
/// Gets or sets the treatment plan.
/// </summary>
public string? TreatmentPlan { get; set; }
/// <summary>
/// Gets or sets the medication comment.
/// </summary>
public string? MedicationComment { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
\ No newline at end of file
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities
{
public class BirthCertificate
{
/// <summary>
/// Gets or sets the birth certificate id.
/// </summary>
[Key, Identity]
public int BirthCertificateId { get; set; }
/// <summary>
/// Gets or sets the birth certificate no.
/// </summary>
public string BirthCertificateNo { get; set; }
/// <summary>
/// Gets or sets the child name.
/// </summary>
public string ChildName { get; set; }
/// <summary>
/// Gets or sets the date of birth.
/// </summary>
public DateTime? DateOfBirth { get; set; }
/// <summary>
/// Gets or sets the time of birth.
/// </summary>
public string TimeOfBirth { get; set; }
/// <summary>
/// Gets or sets the sex.
/// </summary>
public string Sex { get; set; }
/// <summary>
/// Gets or sets the place of birth.
/// </summary>
public string PlaceOfBirth { set; get; }
/// <summary>
/// Gets or sets the age of mother before marriage.
/// </summary>
public int? AgeOfMotherAtMarriage { get; set; }
/// <summary>
/// Gets or sets the informants name.
/// </summary>
public string InformantsName { get; set; }
/// <summary>
/// Gets or sets the informants address.
/// </summary>
public string InformantsAddress { get; set; }
/// <summary>
/// Gets or sets the patientId.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the admission id.
/// </summary>
public int AdmissionId { get; set; }
/// <summary>
/// Gets or sets the active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
public int? BabyWeight { get; set; }
public string TypeOfDelivery { get; set; }
public string MethodOfDelivery { get; set; }
public string DurationOfPregnancy { get; set; }
public string NoOfChildBorn { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities
{
public class BookScanAppointment
{
/// <summary>
/// Gets or sets the book scan appointment id.
/// </summary>
[Key, Identity]
public int BookScanAppointmentId { get; set; }
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
public int ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the payment status.
/// </summary>
public bool PaymentStatus { get; set; }
/// <summary>
/// Gets or sets the pay type id.
/// </summary>
public int? PayTypeId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the appointment date.
/// </summary>
public DateTime AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public TimeSpan AppointmentTime { get; set; }
/// <summary>
/// Gets or sets the payment number.
/// </summary>
public string PaymentNumber { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the old appointment time.
/// </summary>
public TimeSpan? OldAppointmentTime { get; set; }
/// <summary>
/// Gets or sets the old appointment date.
/// </summary>
public DateTime? OldAppointmentDate { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
public string Reason { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
public string RescheduleReason { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public string Status { get; set; } = "B";
/// <summary>
/// Gets or sets the booked status.
/// </summary>
public string BookedStatus { get; set; }
/// <summary>
/// Gets or sets the appointment end time.
/// </summary>
public TimeSpan AppointmentEndTime { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double Amount { get; set; }
/// <summary>
/// Gets or sets the charge category id.
/// </summary>
public int? ChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the is salucro appointment.
/// </summary>
public bool IsSalucroAppointment { get; set; }
/// <summary>
/// Gets or sets the requisition number.
/// </summary>
public string RequisitionNumber { get; set; }
/// <summary>
/// Gets or sets the Indication.
/// </summary>
public string Indication { get; set; }
/// <summary>
/// Gets or sets the authorityId.
/// </summary>
public int? AuthorityId { get; set; }
/// <summary>
/// Gets or sets the reasonId.
/// </summary>
public int? ReasonId { get; set; }
/// <summary>
/// Gets or sets the discountPerItem.
/// </summary>
public int? DiscountPercentage { get; set; }
/// <summary>
/// Gets or sets the discountPerItemInRupees.
/// </summary>
public double? DiscountAmount { get; set; }
/// <summary>
/// Gets or sets the insurance id.
/// </summary>
public char? PaymentType { get; set; }
/// <summary>
/// Gets or sets the Scan Appointment Type.
/// </summary>
public string ScanAppointmentType { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double? ActualAmount { get; set; }
public string Gravida { get; set; }
public string PeriodOfGestation { get; set; }
public DateTime? EDD { get; set; }
public bool? Obstetric { get; set; }
public string AccompaniedBy { get; set; }
public string Findings { get; set; }
public string Remarks { get; set; }
public string Reasons { get; set; }
public string Dispatched { get; set; }
public string BabyDetails { get; set; }
public bool PndtReport { get; set; }
public int? ScanScrollResult { get; set; }
public bool IsDispatched { get; set; }
public bool IsPatRegPaid { get; set; }
public int? ProviderId { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities
{
public class CallHistory
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int Id { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int Type { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string FirstName { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string LastName { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string Comments { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string MobileNumber { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool IsActive { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Status { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string? CallStart { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string? CallEnd { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string? CallDuration { get; set; }
}
}
using System.ComponentModel.DataAnnotations.Schema;
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary> The call Log.</summary>
public class CallLog
{
[Key, Identity]
public int CallLogId { get; set; }
public int CallLogTypeId { get; set; }
public int AccountId { get; set; }
public int? OpponentId { get; set; }
public int? TelemedicineId { get; set; }
public string AppointmentNo { get; set; }
public string Payload { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public string Note { get; set; }
public string Info { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities
{
public class CaseType
{
/// <summary>
///
/// </summary>
[Key, Identity]
public int CaseTypeId { get; set; }
/// <summary>
///
/// </summary>
public string CaseTypeName { get; set; }
/// <summary>
///
/// </summary>
public string Code { get; set; }
/// <summary>
///
/// </summary>
public bool Active { get; set; }
/// <summary>
///
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
///
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
///
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
///
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class Charge
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int ChargeId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ChargeGroupId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string ChargeName { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int RepeatTypeId { get; set; }
/// <summary>
/// Gets or sets the automatic type identifier.
/// </summary>
/// <value>
/// The automatic type identifier.
/// </value>
public int? AutomaticTypeId { get; set; }
/// <summary>
/// Gets or sets the charge type identifier.
/// </summary>
/// <value>
/// The charge type identifier.
/// </value>
public int? ChargeTypeId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the modules master identifier.
/// </summary>
/// <value>
/// The modules master identifier.
/// </value>
public int? ModulesMasterId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The visit type.
/// </summary>
public class ChargeCategory
{
/// <summary>
/// Gets or sets the charge types id.
/// </summary>
[Key, Identity]
public int ChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the charge category name.
/// </summary>
public string ChargeCategoryName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the default.
/// </summary>
/// <value>
/// The default.
/// </value>
public bool? Default { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class ChargeGroup
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int ChargeGroupId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int DepartmentId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string ChargeGroupName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The visit type.
/// </summary>
public class ChargeTypes
{
/// <summary>
/// Gets or sets the charge types id.
/// </summary>
[Key, Identity]
public int ChargeTypesId { get; set; }
/// <summary>
/// Gets or sets the charge name.
/// </summary>
public string ChargeName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary> The chat.</summary>
public class Chat
{
/// <summary>Gets or sets the chat id.</summary>
/// <summary>
/// Gets or sets the country id.
/// </summary>
[Key, Identity]
public int ChatId { get; set; }
/// <summary>Gets or sets the sender id.</summary>
public int SenderId { get; set; }
/// <summary>Gets or sets the sender type.</summary>
public string SenderType { get; set; }
/// <summary>Gets or sets the receiver id.</summary>
public int ReceiverId { get; set; }
/// <summary>Gets or sets the receiver type.</summary>
public string ReceiverType { get; set; }
/// <summary>Gets or sets the created date.</summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>Gets or sets the message.</summary>
public string Message { get; set; }
}
}

namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
/// <summary>
/// The encounter.
/// </summary>
public class CommonEncounter
{
/// <summary>
/// Gets or sets the gyn encounter id.
/// </summary>
[Key, Identity]
public int CommonEncounterId { get; set; }
/// <summary>
/// Gets or sets provider id.
/// </summary>
public string? FamilyHistory { get; set; }
/// <summary>
/// Gets or sets reason.
/// </summary>
public string? ProblemList { get; set; }
public bool? Active { get; set; }
/// <summary>
/// Gets or set consultant doctor.
/// </summary>
public string? BirthHistory { get; set; }
public string? Surgeries { get; set; }
/// <summary>
/// Gets or sets appointment id.
/// </summary>
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets appointment id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets created date.
/// </summary>
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets appointment id.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets created date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets appointment id.
/// </summary>
public int ModifiedBy { get; set; }
public string? GPLA { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The company.
/// </summary>
public class Company
{
/// <summary>
/// Gets or sets the company id.
/// </summary>
[Key,Identity]
public int CompanyId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the location.
/// </summary>
public string Location { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the type of.
/// </summary>
public string TypeOf { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Shared.Dapper.Attributes;
/// <summary>
/// The component.
/// </summary>
[Table("Component", Schema = "template")]
public class Component
{
/// <summary>
/// Gets or sets the component type id.
/// </summary>
[Key, Identity]
public int ComponentId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the component type id.
/// </summary>
public int ComponentTypeId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the ceated date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the active.
/// </summary>
public bool Active { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Shared.Dapper.Attributes;
/// <summary>
/// The component type.
/// </summary>
[Table("ComponentType", Schema = "template")]
public class ComponentType
{
/// <summary>
/// Gets or sets the component type id.
/// </summary>
[Key, Identity]
public int ComponentTypeId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value sub name.
/// </summary>
public string SubName { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The visit type.
/// </summary>
public class ConsultationType
{
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
[Key, Identity]
public int? ConsultationTypeId { get; set; }
/// <summary>
/// Gets or sets the visitor name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities
{
public class ContactDetails
{
// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int Id { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int Type { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
///
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string Details { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool IsActive { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
public class Counselling
{
[Key, Identity]
public int CounsellingId { get; set; }
public int CounsellingTypeId { get; set; }
[IgnoreUpdate]
public string CounsellingNo { get; set; }
public int LocationId { get; set; }
public int PatientId { get; set; }
public int PackageModuleId { get; set; }
public int ChargeCategoryId { get; set; }
public short TotalQuantity { get; set; }
public decimal SubTotal { get; set; }
public string DiscountType { get; set; }
public decimal? DiscountPercentage { get; set; }
public decimal? DiscountAmount { get; set; }
public decimal PackageDiscount { get; set; }
public decimal Discount { get; set; }
public decimal Total { get; set; }
public string PatientSignature { get; set; }
public string CounsellorSignature { get; set; }
public bool IsDraft { get; set; }
public bool Active { get; set; }
public bool IsInUse { get; set; }
public int? PayTypeId { get; set; }
public int? InsuranceCompanyId { get; set; }
public int? TPAId { get; set; }
public string PatientOrganization { get; set; }
[IgnoreUpdate]
public int CreatedBy { get; set; }
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
public int? ModifiedBy { get; set; }
public DateTime? ModifiedDate { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
public class CounsellingDetail
{
[Key, Identity]
public int CounsellingDetailId { get; set; }
public int CounsellingId { get; set; }
public int PackageModuleDetailId { get; set; }
public short Quantity { get; set; }
public decimal? Amount { get; set; }
public bool IsFree { get; set; }
public bool Active { get; set; }
[IgnoreUpdate]
public int CreatedBy { get; set; }
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
public int? ModifiedBy { get; set; }
public DateTime? ModifiedDate { get; set; }
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment