Commit b53dca30 authored by Sandeep Sagar Panjala's avatar Sandeep Sagar Panjala

initial commit

parent 8aaa646c
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The account.
/// </summary>
public class ProgressReport
{
/// <summary>
/// Gets or sets the account id.
/// </summary>
[Key, Identity]
public int ProgressReportId { get; set; }
/// <summary>
/// Gets or sets the role id.
/// </summary>
public int AdmissionId { get; set; }
/// <summary>
/// Gets or sets the salt key.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the Guid.
/// </summary>
public DateTime CreatedDate { get; set; }
}
}
\ No newline at end of file
namespace Hims.Domain.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class ProgressReportAssessments
{
/// <summary>
/// Gets or sets the progress report assessments id.
/// </summary>
[Key, Identity]
public int ProgressReportAssessmentsId { get; set; }
/// <summary>
/// Gets or sets the progress report id.
/// </summary>
public int ProgressReportId { get; set; }
/// <summary>
/// Gets or sets the date.
/// </summary>
public DateTime Date { 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 assessment type id.
/// </summary>
public int AssessmentTypeId { get; set; }
/// <summary>
/// Gets or sets the Value.
/// </summary>
public string Value { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class ProgressReportDiet
{
/// <summary>
/// Gets or sets the progress report diet id.
/// </summary>
[Key, Identity]
public int ProgressReportDietId { get; set; }
/// <summary>
/// Gets or sets the progress report id.
/// </summary>
public int ProgressReportId { get; set; }
/// <summary>
/// Gets or sets the meal type id.
/// </summary>
public int? MealTypeId { 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 duration.
/// </summary>
public int Duration { get; set; }
/// <summary>
/// Gets or sets the medication duration type id.
/// </summary>
public int MedicationDurationTypeId { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
public DateTime StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public DateTime EndDate { get; set; }
/// <summary>
/// Gets or sets the stop date.
/// </summary>
public DateTime? StopDate { get; set; }
/// <summary>
/// Gets or sets the stop reason.
/// </summary>
public string StopReason { get; set; }
/// <summary>
/// Gets or sets the stop reason.
/// </summary>
public string DietInstructions { get; set; }
/// <summary>
/// Gets or sets the is morning.
/// </summary>
public bool IsMorning { get; set; }
/// <summary>
/// Gets or sets the is afternoon.
/// </summary>
public bool IsAfternoon { get; set; }
/// <summary>
/// Gets or sets the is night.
/// </summary>
public bool IsNight { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The account.
/// </summary>
public class ProgressReportMedication
{
/// <summary>
/// Gets or sets the account id.
/// </summary>
[Key, Identity]
public int ProgressReportMedicationId { get; set; }
public int ProgressReportId { get; set; }
public int PharmacyProductId { get; set; }
public float Unit { get; set; }
public int Duration { get; set; }
public int MedicationDurationTypeId { get; set; }
public bool Active { get; set; }
public string Instructions { get; set; }
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
[IgnoreUpdate]
public int CreatedBy { get; set; }
public DateTime? ModifiedDate { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public DateTime? StopDate { get; set; }
public int? ModifiedBy { get; set; }
public string StopReason { get; set; }
}
}
\ No newline at end of file
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The account.
/// </summary>
public class ProgressReportMedicationDaily
{
/// <summary>
/// Gets or sets the account id.
/// </summary>
[Key, Identity]
public int ProgressReportMedicationDailyId { get; set; }
/// <summary>
/// Gets or sets the role id.
/// </summary>
public int ProgressReportMedicationFrequencyId { get; set; }
/// <summary>
/// Gets or sets the salt key.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the Guid.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the medication date.
/// </summary>
/// <value>
/// The medication date.
/// </value>
public DateTime MedicationDate { 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 modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ProgressReportMedicationDaily"/> is status.
/// </summary>
/// <value>
/// <c>true</c> if status; otherwise, <c>false</c>.
/// </value>
public bool Status { get; set; }
}
}
\ No newline at end of file
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The account.
/// </summary>
public class ProgressReportMedicationFrequency
{
/// <summary>
/// Gets or sets the account id.
/// </summary>
[Key, Identity]
public int ProgressReportMedicationFrequencyId { get; set; }
/// <summary>
/// Gets or sets the role id.
/// </summary>
public int ProgressReportMedicationId { get; set; }
/// <summary>
/// Gets or sets the medication instruction type identifier.
/// </summary>
/// <value>
/// The medication instruction type identifier.
/// </value>
public int MedicationInstructionTypeId { get; set; }
}
}
\ No newline at end of file
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class ProgressReportNote
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int ProgressReportNoteId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ProgressReportId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public DateTime Date { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string Note { 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 coupon.
/// </summary>
public class ProgressReportVitals
{
/// <summary>
/// Gets or sets the progress report vitals id.
/// </summary>
[Key, Identity]
public int ProgressReportVitalsId { get; set; }
/// <summary>
/// Gets or sets the progress report id.
/// </summary>
public int ProgressReportId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public DateTime? Date { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int? VitalTypeId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int VitalTypeValue { 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 vitals.
/// </summary>
public string? Vitals { get; set; }
/// <summary>
/// Gets or sets the unit name.
/// </summary>
public string? UnitName { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider.
/// </summary>
public class Provider
{
/// <summary>
/// Gets or sets the provider id.
/// </summary>
[Key, Identity]
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the salutation.
/// </summary>
public string? Salutation { get; set; }
/// <summary>
/// Gets or sets the first name.
/// </summary>
public string FirstName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the middle name.
/// </summary>
public string? MiddleName { get; set; }
/// <summary>
/// Gets or sets the last name.
/// </summary>
public string LastName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the full name.
/// </summary>
public string FullName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the friendly name.
/// </summary>
public string FriendlyName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the date of birth.
/// </summary>
public DateTime? DateOfBirth { get; set; }
/// <summary>
/// Gets or sets the age.
/// </summary>
public short? Age { get; set; }
/// <summary>
/// Gets or sets the experience.
/// </summary>
public double? Experience { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public char? Gender { get; set; }
/// <summary>
/// Gets or sets the marital status.
/// </summary>
public char? MaritalStatus { get; set; }
/// <summary>
/// Gets or sets the email.
/// </summary>
public string? Email { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string? Mobile { get; set; }
/// <summary>
/// Gets or sets the NPI.
/// </summary>
public string? NPI { get; set; }
/// <summary>
/// Gets or sets the country.
/// </summary>
public int? CountryId { get; set; }
/// <summary>
/// Gets or sets the department id.
/// </summary>
public int DepartmentId { get; set; }
/// <summary>
/// Gets or sets the salutation id.
/// </summary>
public int? SalutationId { get; set; }
/// <summary>
/// Gets or sets the profile image url.
/// </summary>
public string? ProfileImageUrl { get; set; }
/// <summary>
/// Gets or sets the thumbnail url.
/// </summary>
public string? ThumbnailUrl { get; set; }
/// <summary>
/// Gets or sets the approval status.
/// </summary>
public bool? ApprovalStatus { get; set; }
/// <summary>
/// Gets or sets the approved date.
/// </summary>
public DateTime? ApprovedDate { get; set; }
/// <summary>
/// Gets or sets the rejected reason.
/// </summary>
public string? RejectedComments { get; set; }
/// <summary>
/// Gets or sets the rejected date.
/// </summary>
public DateTime? RejectedDate { get; set; }
/// <summary>
/// Gets or sets the guid.
/// </summary>
[IgnoreUpdate]
public Guid Guid { get; set; }
/// <summary>
/// Gets or sets the theme.
/// </summary>
public string? Theme { get; set; }
/// <summary>
/// Gets or sets a value indicating whether enable email alerts.
/// </summary>
public bool EnableEmailAlerts { get; set; }
/// <summary>
/// Gets or sets a value indicating whether enable sms alerts.
/// </summary>
public bool EnableSMSAlerts { get; set; }
/// <summary>
/// Gets or sets a value indicating whether enable desktop notifications.
/// </summary>
public bool EnableDesktopNotifications { get; set; }
/// <summary>
/// Gets or sets a value indicating whether enable mobile notifications.
/// </summary>
public bool EnableMobileNotifications { get; set; }
/// <summary>
/// Gets or sets the services.
/// </summary>
public Array? Services { get; set; } = null;
/// <summary>
/// Gets or sets the specializations.
/// </summary>
public Array? Specializations { get; set; } = null;
/// <summary>
/// Gets or sets the about.
/// </summary>
public string? About { get; set; }
/// <summary>
/// Gets or sets the rating.
/// </summary>
public double Rating { get; set; }
/// <summary>
/// Gets or sets the awards honors.
/// </summary>
public string? AwardsHonors { get; set; }
/// <summary>
/// Gets or sets the educations.
/// </summary>
public string? Educations { get; set; }
/// <summary>
/// Gets or sets the memberships.
/// </summary>
public string? Memberships { get; set; }
/// <summary>
/// Gets or sets the registrations.
/// </summary>
public string? Registrations { get; set; }
/// <summary>
/// Gets or sets the experiences.
/// </summary>
public string? Experiences { get; set; }
/// <summary>
/// Gets or sets the languages.
/// </summary>
public string? Languages { 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 provider no.
/// </summary>
public string? ProviderNo { get; set; }
/// <summary>
/// Gets or sets the health identifier no.
/// </summary>
public string? HealthIdentifierNo { get; set; }
/// <summary>
/// Gets or sets the prescriber no.
/// </summary>
public string? PrescriberNo { get; set; }
/// <summary>
/// Gets or sets the address line.
/// </summary>
public string? AddressLine { get; set; }
/// <summary>
/// Gets or sets the city.
/// </summary>
public string? City { get; set; }
/// <summary>
/// Gets or sets the state.
/// </summary>
public string? State { get; set; }
/// <summary>
/// Gets or sets the zip code.
/// </summary>
public string? ZipCode { get; set; }
/// <summary>
/// Gets or sets the signature.
/// </summary>
public string? Signature { get; set; }
/// <summary>
/// Gets or sets the clinic picture.
/// </summary>
public string? ClinicPicture { get; set; }
/// <summary>
/// Gets or sets the type.
/// </summary>
/// <value>
/// The type.
/// </value>
public char? Type { get; set; }
/// <summary>
/// Gets or sets the employee.
/// </summary>
/// <value>
/// The employee.
/// </value>
public char? Employee { get; set; }
/// <summary>
/// Gets or sets the type of the doctor.
/// </summary>
/// <value>
/// The type of the doctor.
/// </value>
public char? DoctorType { get; set; }
/// <summary>
/// Gets or sets the pan card no.
/// </summary>
/// <value>
/// The pan card no.
/// </value>
public string? PanCardNo { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider location.
/// </summary>
public class ProviderAvailability
{
/// <summary>
/// Gets or sets the provider location id.
/// </summary>
[Key, Identity]
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the consultation duration.
/// </summary>
public int? ConsultationTypeId { 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 start date.
/// </summary>
public string? StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? EndDate { get; set; }
/// <summary>
/// Gets or sets the specialization id.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the available days.
/// </summary>
public string AvailableDay { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the start date.
/// </summary>
public string? StartTime { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? EndTime { get; set; }
/// <summary>
/// Gets or sets the available date.
/// </summary>
public string? AvailableDate { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
public string? LeaveStartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? LeaveEndDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool IsLeave { get; set; }
/// <summary>
/// Gets or sets the no of new patient.
/// </summary>
public int? NoOfNewPatient { get; set; }
/// <summary>
/// Gets or sets the no of new patient.
/// </summary>
public int? NoOfOfflinePatient { get; set; }
/// <summary>
/// Gets or sets the no of new patient.
/// </summary>
public int NewPatientSlots { get; set; }
/// <summary>
/// Gets or sets the no of new patient.
/// </summary>
public int? OfflineSlots { get; set; }
/// <summary>
/// Gets or sets the general slots.
/// </summary>
public int GeneralSlots { get; set; }
/// <summary>
/// Gets or sets the provider availability id.
/// </summary>
public int TotalSlots { get; set; }
/// <summary>
/// Gets or sets the specializations.
/// </summary>
public int? SpecializationDuration { get; set; }
/// <summary>
/// Getes or sets the doctorweekId.
/// </summary>
public int? DoctorWeekId { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider location.
/// </summary>
public class ProviderAvailabilityChargeType
{
/// <summary>
/// Gets or sets the Provider Availability Charge Type id
/// </summary>
[Key, Identity]
public int ProviderAvailabilityChargeTypeId { get; set; }
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int ChargeTypesId { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int Charge { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int? ProviderId { 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; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
public DateTime? StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public DateTime? EndDate { get; set; }
/// <summary>
/// Gets or sets the specialization id.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the consultation type id.
/// </summary>
public int ConsultationTypeId { get; set; }
/// <summary>
/// Gets or sets the parts of day id.
/// </summary>
public int? PartsOfDayId { get; set; }
/// <summary>
/// Gets or sets the followup days
/// </summary>
public int? FollowUpDays { get; set; }
/// <summary>
/// Gets or sets the follow up days limit.
/// </summary>
public int? FollowUpDaysLimit { 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 ProviderAvailabilityForMultipleDays
{
/// <summary>
/// Gets or sets the provider location id.
/// </summary>
[Key, Identity]
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the consultation duration.
/// </summary>
public int? ConsultationTypeId { 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 start date.
/// </summary>
public string? StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? EndDate { get; set; }
/// <summary>
/// Gets or sets the specialization id.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the available days.
/// </summary>
public string AvailableDay { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the start date.
/// </summary>
public string? StartTime { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? EndTime { get; set; }
/// <summary>
/// Gets or sets the free follow up days.
/// </summary>
public int? FreeFollowUpDays { get; set; }
/// <summary>
/// Gets or sets the fee followup days limit.
/// </summary>
public int? FreeFollowUpDaysLimit { get; set; }
/// <summary>
/// Gets or sets the available date.
/// </summary>
public DateTime AvailableDate { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
public string? LeaveStartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? LeaveEndDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool IsLeave { get; set; }
/// <summary>
/// Gets or sets the no of new patient.
/// </summary>
public int? NoOfNewPatient { get; set; }
/// <summary>
/// Gets or sets the no of new patient.
/// </summary>
public int? NoOfOfflinePatient { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int? SpecializationDuration { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider location.
/// </summary>
public class ProviderAvailabilitySlot
{
/// <summary>
/// Gets or sets the provider availability slot id.
/// </summary>
[Key, Identity]
public int ProviderAvailabilitySlotId { get; set; }
/// <summary>
/// Gets or sets the provider location id.
/// </summary>
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the specialization id.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the available days.
/// </summary>
public string AvailableDay { get; set; } = string.Empty;
/// <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 start date.
/// </summary>
public string? StartTime { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? EndTime { get; set; }
/// <summary>
/// Gets or sets the free follow up days.
/// </summary>
public int? FreeFollowUpDays { get; set; }
/// <summary>
/// Gets or sets the fee followup days limit.
/// </summary>
public int? FreeFollowUpDaysLimit { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider location.
/// </summary>
public class ProviderAvailabilityVisitType
{
/// <summary>
/// Gets or sets the Provider Availability Visit Id
/// </summary>
[Key, Identity]
public int ProviderAvailabilityVisitTypeId { get; set; }
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int? VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int? Duration { 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; }
public int? ProviderId { get; set; }
public int? SpecializationId { get; set; }
public int? LocationId { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider.
/// </summary>
public class ProviderBankAccount
{
/// <summary>
/// Gets or sets the provider id.
/// </summary>
[Key, Identity]
public int ProviderBankAccountId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the full name.
/// </summary>
public string FullName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the account number.
/// </summary>
public string AccountNumber { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the ifsc code.
/// </summary>
public string IFSCCode { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the percentage.
/// </summary>
public double Percentage { get; set; }
/// <summary>
/// Gets or sets the email.
/// </summary>
public string? Email { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string? Mobile { 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 provider location.
/// </summary>
public class ProviderBreak
{
/// <summary>
/// Gets or sets the provider location id.
/// </summary>
[Key, Identity]
public int? ProviderBreakId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the consultation duration.
/// </summary>
public int? ConsultationTypeId { 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 start date.
/// </summary>
public string? StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? EndDate { get; set; }
/// <summary>
/// Gets or sets the specialization id.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the available days.
/// </summary>
public string BreakDay { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the start date.
/// </summary>
public string? StartTime { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? EndTime { get; set; }
/// <summary>
/// Gets or sets the available date.
/// </summary>
public string? BreakDate { get; set; }
/// <summary>
/// Gets or sets the Break Type.
/// </summary>
public string? BreakType { get; set; }
/// <summary>
/// Gets or sets the Break Block.
/// </summary>
public string? BreakBlock { get; set; }
/// <summary>
/// Getes or sets the doctorweekId.
/// </summary>
public int? DoctorWeekId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The provider consultation room.
/// </summary>
public class ProviderConsultationRoom
{
/// <summary>
/// Gets or sets the provider consultation room identifier.
/// </summary>
/// <value>
/// The provider consultation room identifier.
/// </value>
[Key,Identity]
public int ProviderConsultationRoomId { get; set; }
/// <summary>
/// Gets or sets the provider identifier.
/// </summary>
/// <value>
/// The provider identifier.
/// </value>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the room identifier.
/// </summary>
/// <value>
/// The room identifier.
/// </value>
public int RoomId { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int LocationId { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider document.
/// </summary>
public class ProviderDocument
{
/// <summary>
/// Gets or sets the provider document id.
/// </summary>
[Key, Identity]
public int ProviderDocumentId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
[IgnoreUpdate]
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the document name.
/// </summary>
public string DocumentName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the document type.
/// </summary>
public string DocumentType { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the description.
/// </summary>
public string? Description { get; set; }
/// <summary>
/// Gets or sets the document url.
/// </summary>
public string DocumentUrl { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the thumbnail url.
/// </summary>
public string ThumbnailUrl { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the uploaded date.
/// </summary>
public DateTime UploadedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { 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 provider encounter.
/// </summary>
public class ProviderEncounter
{
/// <summary>
/// Gets or sets the provider general advice id.
/// </summary>
[Key, Identity]
public int ProviderGeneralAdviceId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the general advice id.
/// </summary>
public string? GeneralAdviceIds { get; set; }
/// <summary>
/// Gets or sets the icd id.
/// </summary>
public string? ICDIds { get; set; }
/// <summary>
/// Gets or sets the look up value ids for reactions.
/// </summary>
public string? ReactionIds { get; set; }
/// <summary>
/// Gets or sets the look up value ids for hospitalization.
/// </summary>
public string? HospitalizationIds { get; set; }
/// <summary>
/// Gets or sets the look up value ids for pcare.
/// </summary>
public string? PCareIds { get; set; }
/// <summary>
/// Gets or sets the look up value ids for initial.
/// </summary>
public string? InitialIds { get; set; }
/// <summary>
/// Gets or sets the look up value ids for site.
/// </summary>
public string? SiteIds { get; set; }
/// <summary>
/// Gets or sets the look up value ids for vaccine.
/// </summary>
public string? VaccineIds { 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 created by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the lab order value ids.
/// </summary>
public string? LabOrderValueIds { get; set; }
/// <summary>
/// Gets or sets the radiology value ids.
/// </summary>
public string? RadiologyValueIds { get; set; }
/// <summary>
/// Gets or sets the lookup value ids for allergy.
/// </summary>
public string? AllergyIds { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider leave.
/// </summary>
public class ProviderLeave
{
/// <summary>
/// Gets or sets the provider leave id.
/// </summary>
[Key, Identity]
public long ProviderLeaveId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
[IgnoreUpdate]
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the leave date.
/// </summary>
public DateTime LeaveDate { get; set; }
/// <summary>
/// Gets or sets the provider location id.
/// </summary>
public int? ProviderLocationId { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
public string Reason { 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 provider availability id.
/// </summary>
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the provider leave end time.
/// </summary>
public TimeSpan? ProviderLeaveEndTime { get; set; }
/// <summary>
/// Gets or sets the provider leave start time.
/// </summary>
public TimeSpan? ProviderLeaveStartTime { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider location.
/// </summary>
public class ProviderLocation
{
/// <summary>
/// Gets or sets the provider location id.
/// </summary>
[Key, Identity]
public int ProviderLocationId { get; set; }
/// <summary>a
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the consultation duration.
/// </summary>
public short? ConsultationDuration { get; set; }
/// <summary>
/// Gets or sets the consultation charges.
/// </summary>
public decimal? ConsultationCharges { get; set; }
/// <summary>
/// Gets or sets the telemedicine duration.
/// </summary>
public short? TelemedicineDuration { get; set; }
/// <summary>
/// Gets or sets the telemedicine charges.
/// </summary>
public decimal? TelemedicineCharges { get; set; }
/// <summary>
/// Gets or sets the in patient duration.
/// </summary>
public short? InPatientDuration { get; set; }
/// <summary>
/// Gets or sets the out patient duration.
/// </summary>
public short? OutPatientDuration { get; set; }
/// <summary>
/// Gets or sets the casualty duration.
/// </summary>
public short? CasualtyDuration { get; set; }
/// <summary>
/// Gets or sets the follow up days.
/// </summary>
public short? FollowUpDays { get; set; }
/// <summary>
/// Gets or sets the available days.
/// </summary>
public string AvailableDays { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the Availability.
/// </summary>
public string Availability { get; set; } = string.Empty;
/// <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 follow up days for ip.
/// </summary>
public short? FollowUpDaysForIp { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public string Duration { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the is telemedicine.
/// </summary>
public bool IsTelemedicine { get; set; }
/// <summary>
/// Gets or sets the is online consultation.
/// </summary>
public bool IsOnlineConsultation { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The provider location operation.
/// </summary>
public class ProviderLocationOperation
{
/// <summary>
/// Gets or sets the provider location operation identifier.
/// </summary>
/// <value>
/// The provider location operation identifier.
/// </value>
[Key, Identity]
public int ProviderLocationOperationId { get; set; }
/// <summary>
/// Gets or sets the provider identifier.
/// </summary>
/// <value>
/// The provider identifier.
/// </value>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the practice location identifier.
/// </summary>
/// <value>
/// The practice location identifier.
/// </value>
public int PracticeLocationId { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
/// <value>
/// The duration.
/// </value>
public int Duration { get; set; }
/// <summary>
/// Gets or sets the available days.
/// </summary>
/// <value>
/// The available days.
/// </value>
public string AvailableDays { get; set; }
/// <summary>
/// Gets or sets the availability.
/// </summary>
/// <value>
/// The availability.
/// </value>
public string Availability { 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 visit type.
/// </summary>
public class ProviderScheduleCharge
{
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
[Key, Identity]
public int? ProviderScheduleChargeId { get; set; }
/// <summary>
/// Gets or sets the visitor name.
/// </summary>
public int SpecializationId { get; set; }
/// <summary>
/// Gets or sets the visit type for.
/// </summary>
public decimal SpecializationCharge { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the charge types id.
/// </summary>
public int ChargeTypesId { get; set; }
/// <summary>
/// Gets or sets the charge type charge.
/// </summary>
public string? ChargeTypeCharge { get; set; }
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the visit type duration.
/// </summary>
public string? VisitTypeDuration { 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 coupon.
/// </summary>
public class QuestionFeedback
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int QuestionFeedbackId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string Question { 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 radiology.
/// </summary>
public class Radiology
{
/// <summary>
/// Gets or sets the radiology id.
/// </summary>
[Key, Identity]
public int RadiologyId { get; set; }
/// <summary>Gets or sets the name.</summary>
public string Name { get; set; }
/// <summary>Gets or sets the type.</summary>
public string Type { 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 radiology value.
/// </summary>
public class RadiologyValue
{
/// <summary>
/// Gets or sets the radiology value id.
/// </summary>
[Key, Identity]
public int RadiologyValueId { get; set; }
/// <summary>Gets or sets the radiology id.</summary>
public int RadiologyId { get; set; }
/// <summary>Gets or sets the order code.</summary>
public string OrderCode { get; set; }
/// <summary>Gets or sets the code.</summary>
#pragma warning disable CS8632 // The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
public string? Code { get; set; }
#pragma warning restore CS8632 // The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
/// <summary>Gets or sets the name.</summary>
public string Name { get; set; }
/// <summary>Gets or sets the type.</summary>
#pragma warning disable CS8632 // The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
public string? Test { get; set; }
#pragma warning restore CS8632 // The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
/// <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
{
/// <summary>
/// The Reasons table
/// </summary>
public class Reasons
{
/// <summary>
/// Gets or sets the Reason identifier.
/// </summary>
/// <value>
/// The Reason identifier.
/// </value>
[Key, Identity]
public int ReasonsId { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
/// <value>
/// The reason.
/// </value>
public string Reason { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Reasons"/> 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; }
}
}
using Hims.Domain.Entities.Enums;
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The receipt model
/// </summary>
public class Receipt
{
/// <summary>
/// Gets or sets the chat identifier.
/// </summary>
/// <value>
/// The chat identifier.
/// </value>
[Key, Identity]
public int ReceiptId { get; set; }
/// <summary>
/// Gets or sets the admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int? AdmissionId { get; set; }
/// <summary>
/// Gets or sets the appointment identifier.
/// </summary>
/// <value>
/// The appointment identifier.
/// </value>
public int? AppointmentId { get; set; }
/// <summary>
/// Gets or sets the cost.
/// </summary>
/// <value>
/// The cost.
/// </value>
public double Cost { get; set; }
/// <summary>
/// Gets or sets the receipt type identifier.
/// </summary>
/// <value>
/// <c>cash</c> if credit; otherwise, <c>Refund</c> for Debt
/// </value>
public ReceiptType ReceiptTypeId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Receipt"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is advance.
/// </summary>
/// <value>
/// <c>true</c> if this instance is advance; otherwise, <c>false</c>.
/// </value>
public bool IsAdvance { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is refunded.
/// </summary>
/// <value>
/// <c>true</c> if this instance is refunded; otherwise, <c>false</c>.
/// </value>
public bool? IsRefunded { get; set; }
/// <summary>
/// Gets or sets the pay type identifier.
/// </summary>
/// <value>
/// The pay type identifier.
/// </value>
public int? PayTypeId { get; set; }
/// <summary>
/// Gets or sets the payment details.
/// </summary>
/// <value>
/// The payment details.
/// </value>
public string PaymentDetails { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is appointment receipt.
/// </summary>
/// <value>
/// <c>true</c> if this instance is appointment receipt; otherwise, <c>false</c>.
/// </value>
public bool IsAppointmentReceipt { 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 receipt area type identifier.
/// </summary>
/// <value>
/// The receipt area(module-wise) type identifier.
/// </value>
public ReceiptAreaType? ReceiptAreaTypeId { get; set; }
/// <summary>
/// Gets or sets the respective identifier acording to receipt type area.
/// </summary>
/// <value>
/// The identifier.
/// </value>
public int? RespectiveId { get; set; }
/// <summary>
/// Gets or sets the receipt area main identifier.
/// </summary>
/// <value>
/// The receipt area main identifier.
/// </value>
public int? ReceiptAreaMainId { get; set; }
/// <summary>
/// Gets or sets the patient registration detail identifier.
/// </summary>
/// <value>
/// The patient registration detail identifier.
/// </value>
// public int? PatientRegistrationDetailId { get; set; }
/// <summary>
/// Gets or sets the transaction identifier.
/// </summary>
/// <value>
/// The transaction identifier.
/// </value>
public int? TransactionId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is Salucro Admission Receipt.
/// </summary>
/// <value>
/// <c>true</c> if this instance is advance; otherwise, <c>false</c>.
/// </value>
public bool IsSalucroAdmissionReceipt { get; set; }
/// <summary>
/// Gets or sets the master bill identifier.
/// </summary>
/// <value>
/// The master bill identifier.
/// </value>
public int? MasterBillId { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The account.
/// </summary>
public class PatientReferredBy
{
/// <summary>
/// Gets or sets the ModulesMasterId.
/// </summary>
[Key, Identity]
public int PatientReferredById { get; set; }
/// <summary>
/// Gets or sets the ModuleName.
/// </summary>
public string Name { get; set; }
/// Gets or sets a value indicating whether this 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; }
}
}
\ No newline at end of file

namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
public class ReferralDoctor
{
/// <summary>
/// Gets or sets the ReferralDoctor id.
/// </summary>
[Key, Identity]
public int ReferralDoctorId { get; set; }
/// <summary>
/// Gets or sets the Salutation.
/// </summary>
public string Salutation { get; set; }
/// <summary>
/// Gets or sets the First name.
/// </summary>
public string FirstName { get; set; }
/// <summary>
/// Gets or sets the Last name.
/// </summary>
public string LastName { get; set; }
/// <summary>
/// Gets or sets the Referral doctor Full name.
/// </summary>
public string FullName { get; set; }
/// <summary>
/// Gets or sets the Mobile.
/// </summary>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the Email.
/// </summary>
public string Email { 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; }
}
}

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 ReferralForm
{
/// <summary>
/// Gets or sets the gyn encounter id.
/// </summary>
[Key, Identity]
public int ReferralFormId { get; set; }
/// <summary>
/// Gets or sets provider id.
/// </summary>
public string? ReferralDoctor { get; set; }
/// <summary>
/// Gets or sets reason.
/// </summary>
public string? Reason { get; set; }
/// <summary>
/// Gets or sets required date.
/// </summary>
public DateTime? RequiredDate { get; set; }
/// <summary>
/// Gets or sets time.
/// </summary>
public string? Time { get; set; }
/// <summary>
/// Gets or sets created date.
/// </summary>
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or set consultant doctor.
/// </summary>
public string? ConsultantDoctor { get; set; }
/// <summary>
/// Gets or sets the opinion.
/// </summary>
public string? Opinion { get; set; }
/// <summary>
/// Gets or sets active.
/// </summary>
public bool? Active { get; set; }
/// <summary>
/// Gets or sets appointment id.
/// </summary>
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets appointment id.
/// </summary>
public int? ProviderId { get; set; }
/// <summary>
/// Gets or sets appointment id.
/// </summary>
public int? ReferralDoctorId { get; set; }
/// <summary>
/// Gets or sets appointment id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets appointment id.
/// </summary>
public int AdmissionId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The refund.
/// </summary>
public class Refund
{
/// <summary>
/// Gets or sets the refund id.
/// </summary>
[Key, Identity]
public int RefundId { get; set; }
/// <summary>
/// Gets or sets the AppointmentTransaction id.
/// </summary>
public int AppointmentTransactionId { get; set; }
/// <summary>
/// Gets or sets the Refund Amount id.
/// </summary>
public long RefundAmount { get; set; }
/// <summary>
/// Gets or sets the Refund Status.
/// </summary>
public int RefundStatus { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the Refund completed Date.
/// </summary>
public DateTime? RefundCompletedDate { get; set; }
/// <summary>
/// Gets or sets the Refund transaction id.
/// </summary>
public int RefundTransactionId { 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 account.
/// </summary>
public class Register
{
/// <summary>
/// Gets or sets the account id.
/// </summary>
[Key, Identity]
public int RegisterId { get; set; }
/// <summary>
/// Gets or sets the role id.
/// </summary>
public int AdmissionId { get; set; }
/// <summary>
/// Gets or sets the first floor ad.
/// </summary>
public string? FirstFloorAD { get; set; }
/// <summary>
/// Gets or sets the second floor ad.
/// </summary>
public string? SecondFloorAD { get; set; }
/// <summary>
/// Gets or sets the third floor ad.
/// </summary>
public string? ThirdFloorAD { get; set; }
/// <summary>
/// Gets or sets the ff semiprivate ad.
/// </summary>
public string? FFSemiPrivateAD { get; set; }
/// <summary>
/// Gets or sets the ground floor ad.
/// </summary>
public string? GroundFloorAD { get; set; }
/// <summary>
/// Gets or sets the nicu register.
/// </summary>
public string? NICURegister { get; set; }
/// <summary>
/// Gets or sets the nicu delivery register.
/// </summary>
public string? NICUDeliveryRegister { get; set; }
/// <summary>
/// Gets or sets a value mid wife register.
/// </summary>
public string? MidWifeRegister { get; set; }
/// <summary>
/// Gets or sets the daycare ad.
/// </summary>
public string? DayCareAD { get; set; }
/// <summary>
/// Gets or sets a value nicu op register.
/// </summary>
public string? NICUOpRegister { get; set; }
/// <summary>
/// Gets or sets the emergency register.
/// </summary>
public string? EmergencyRegister { get; set; }
/// <summary>
/// Gets or sets the labour ward register.
/// </summary>
public string? LabourWardRegister { get; set; }
/// <summary>
/// Gets or sets the labour ward all register.
/// </summary>
public string? LabourWardAllRegister { get; set; }
/// <summary>
/// Gets or sets a value ot register.
/// </summary>
public string? OTRegister { get; set; }
/// <summary>
/// Gets or sets a ot all register.
/// </summary>
public string? OTAllRegister { get; set; }
/// <summary>
/// Gets or sets a icn register.
/// </summary>
public string? ICNRegister { get; set; }
public string? ThirdFloorLW { get; set; }
public string? ThirdFloorAllLW { 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 LocationId { get; set; }
public bool Active { get; set; }
}
}
\ No newline at end of file

namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
public class Relations
{
/// <summary>
/// Gets or sets the RelationsId of Relations table.
/// </summary>
[Key,Identity]
public int RelationsId { get; set; }
/// <summary>
/// Gets or sets the RelationName.
/// </summary>
public string RelationName { get; set; }
/// <summary>
/// Gets or sets the Ro.
/// </summary>
public string RO { get; set; }
/// <summary>
/// Gets or sets the Status.
/// </summary>
public bool ? Active { get; set; }
/// <summary>
/// Gets or sets id of creator.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets id of modifier.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets date of creation.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets date of modification.
/// </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 RequestDepartment
{
[Key, Identity]
public int RequestDepartmentId { get; set; }
public string RequestDepartmentName { get; set; }
public bool Active { get; set; }
[IgnoreUpdate]
public int CreatedBy { get; set; }
public int? ModifiedBy { get; set; }
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The retail pharmacy.
/// </summary>
public class RetailPharmacy
{
/// <summary>
/// Gets or sets the retail pharmacy id.
/// </summary>
[Key, Identity]
public int RetailPharmacyId { get; set; }
/// <summary>
/// Gets or sets the retail name.
/// </summary>
public string RetailName { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
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 Active.
/// </summary>
public bool Active { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The retail ware house link.
/// </summary>
public class RetailWareHouseLink
{
/// <summary>
/// Gets or sets the retail ware house link identifier.
/// </summary>
/// <value>
/// The retail ware house link identifier.
/// </value>
[Key, Identity]
public int RetailWareHouseLinkId { get; set; }
/// <summary>
/// Gets or sets the retail pharmacy identifier.
/// </summary>
/// <value>
/// The retail pharmacy identifier.
/// </value>
public int RetailPharmacyId { get; set; }
/// <summary>
/// Gets or sets the pharmacy ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int PharmacyWareHouseId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The pharmacy retail ware user.
/// </summary>
public class RetailWareUser
{
/// <summary>
/// Gets or sets the pharmacy allowed user fullname.
/// </summary>
/// <value>
/// The pharmacy allowed user fullname.
/// </value>
public string FullName { get; set; }
/// <summary>
/// Gets or sets the pharmacy ware house Name.
/// </summary>
/// <value>
/// The pharmacy ware house Name.
/// </value>
public string WareHouseName { get; set; }
/// <summary>
/// Gets or sets retail name.
/// </summary>
/// <value>
/// The retail name.
/// </value>
public string RetailName { get; set; }
/// <summary>
/// Gets or sets accountId
/// </summary>
/// <value>
/// The account id.
/// </value>
public int AccountId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The role.
/// </summary>
public class Role
{
/// <summary>
/// Gets or sets the role id.
/// </summary>
[Key, Identity]
public int RoleId { get; set; }
/// <summary>
/// Gets or sets the role name.
/// </summary>
public string RoleName { 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>
///
/// </summary>
public string? RoleConcept { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class Room
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int RoomId { get; set; }
/// <summary>
/// Gets or sets Beds count in a room.
/// </summary>
public int BedsCount { get; set; }
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
public int WardId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string RoomName { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int RoomRent { 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 charge category id.
/// </summary>
public int? ChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the module master identifier.
/// </summary>
/// <value>
/// The module master identifier.
/// </value>
[IgnoreUpdate]
public int ModulesMasterId { 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