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

initial commit

parent 48b6124e
namespace Hims.Domain.Entities
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The cpt code.
/// </summary>
public class CPTCode
{
/// <summary>
/// Gets or sets the CPT code id.
/// </summary>
[Key, Identity]
public int CPTCodeId { get; set; }
/// <summary>
/// Gets or sets the code.
/// </summary>
public string Code { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public string Description { 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 country.
/// </summary>
public class Country
{
/// <summary>
/// Gets or sets the country id.
/// </summary>
[Key, Identity]
public int CountryId { get; set; }
/// <summary>
/// Gets or sets the country name.
/// </summary>
public string CountryName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the country code.
/// </summary>
public string CountryCode { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the iso code.
/// </summary>
public string ISOCode { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the sms url.
/// </summary>
public string? SMSUrl { get; set; }
/// <summary>
/// Gets or sets the sms from.
/// </summary>
public string? SMSFrom { get; set; }
/// <summary>
/// Gets or sets the sms authorization.
/// </summary>
public string? SMSAuthorization { get; set; }
/// <summary>
/// Gets or sets the sms username.
/// </summary>
public string? SMSUsername { get; set; }
/// <summary>
/// Gets or sets the Currency.
/// </summary>
public string Currency { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the Currency symbol.
/// </summary>
public char CurrencySymbol { 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
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class Coupon
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int CouponId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string CouponCode { get; set; }
/// <summary>
/// Gets or sets the coupon type.
/// </summary>
public char CouponType { get; set; }
/// <summary>
/// Gets or sets the coupon value.
/// </summary>
public decimal CouponValue { get; set; }
/// <summary>
/// Gets or sets the valid from.
/// </summary>
public DateTime ValidFrom { get; set; }
/// <summary>
/// Gets or sets the valid to.
/// </summary>
public DateTime ValidTo { 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 allowed per user.
/// </summary>
public int? AllowedPerUser { get; set; }
/// <summary>
/// Gets or sets the Provider Ids.
/// </summary>
public string? NotAllowedProviderIds { get; set; }
/// <summary>
/// Gets or sets the Patient Ids.
/// </summary>
public string? NotAllowedPatientIds { get; set; }
/// <summary>
/// Gets or sets the Allowed for first appointment value.
/// </summary>
public bool? AllowedForFirstAppointment { get; set; }
/// <summary>
/// Gets the description.
/// </summary>
public string? Description { 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 CpxRelatedToDepartment
{
[Key, Identity]
public int CpxRelatedToDepartmentId { get; set; }
public string CpxRelatedToDepartmentName { 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; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The appointment.
/// </summary>
public class Cubicle
{
/// <summary>
/// Gets or sets the widget id.
/// </summary>
[Key, Identity]
public int CubicleId { get; set; }
/// <summary>
/// Gets or sets the widget name.
/// </summary>
public string Name { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the account id.
/// </summary>
public int? AccountId { get; set; }
/// <summary>
/// Gets or sets the active status id.
/// </summary>
public int ActiveStatusId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
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 Location id.
/// </summary>
public int? LocationId { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The appointment.
/// </summary>
public class DashboardConfig
{
/// <summary>
/// Gets or sets the config id.
/// </summary>
[Key, Identity]
public int DashboardConfigId { get; set; }
/// <summary>
/// Gets or sets the widget id.
/// </summary>
public int DashboardWidgetId { get; set; }
/// <summary>
/// Gets or sets the dashboard configuration master identifier.
/// </summary>
/// <value>
/// The dashboard configuration master identifier.
/// </value>
public int DashboardConfigMasterId { get; set; }
/// <summary>
/// Gets or sets the parameters.
/// </summary>
/// <value>
/// The parameters.
/// </value>
public string? DefaultValues { get; set; }
/// <summary>
/// Gets or sets the row number.
/// </summary>
public int RowNumber { get; set; }
/// <summary>
/// Gets or sets the size.
/// </summary>
public int Size { get; set; }
/// <summary>
/// Gets or sets the sequence number.
/// </summary>
public int SequenceNumber { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
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 credential.
/// </summary>
public class DashboardConfigMaster
{
/// <summary>
/// Gets or sets the account credential id.
/// </summary>
[Key, Identity]
public int DashboardConfigMasterId { get; set; }
/// <summary>
/// Gets or sets the account id.
/// </summary>
public int? AccountId { get; set; }
/// <summary>
/// Gets or sets the role identifier.
/// </summary>
/// <value>
/// The role identifier.
/// </value>
public int? RoleId { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The appointment.
/// </summary>
public class DashboardWidget
{
/// <summary>
/// Gets or sets the widget id.
/// </summary>
[Key, Identity]
public int DashboardWidgetId { get; set; }
/// <summary>
/// Gets or sets the widget name.
/// </summary>
public string Name { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the widget type id.
/// </summary>
public int DashboardWidgetTypeId { get; set; }
/// <summary>
/// Gets or sets the dashboard widget count type identifier.
/// </summary>
/// <value>
/// The dashboard widget count type identifier.
/// </value>
public int? DashboardWidgetCountTypeId { get; set; }
/// <summary>
/// Gets or sets the stored procedure name.
/// </summary>
public string StoredProcedureName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the icon.
/// </summary>
/// <value>
/// The icon.
/// </value>
public string Icon { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the created by.
/// </summary>
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 status.
/// </summary>
public bool Active { get; set; }
}
}
namespace Hims.Shared.EntityModels
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The appointment.
/// </summary>
public class DashboardWidgetRole
{
/// <summary>
/// Gets or sets the widget id.
/// </summary>
[Key, Identity]
public int DashboardWidgetRoleId { get; set; }
/// <summary>
/// Gets or sets the widget id.
/// </summary>
public int DashboardWidgetId { get; set; }
/// <summary>
/// Gets or sets the role id.
/// </summary>
public int RoleId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The pharmacy product.
/// </summary>
public class DemandBook
{
/// <summary>
/// Gets or sets the pharmacy product id.
/// </summary>
[Key, Identity]
public int DemandBookId { get; set; }
/// <summary>
/// Gets or sets the product name.
/// </summary>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the required quantity.
/// </summary>
public int? RequiredQty { get; set; }
/// <summary>
/// Gets or sets the pharmacy product id.
/// </summary>
public int? PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets a 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 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 dental encounter.
/// </summary>
public class DentalEncounter
{
/// <summary>
/// Gets or sets the dental encounter id.
/// </summary>
[Key, Identity]
public int DentalEncounterId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
[IgnoreUpdate]
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets the dental encounter date.
/// </summary>
[IgnoreUpdate]
public DateTime DentalEncounterDate { 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 medical history.
/// </summary>
public string? MedicalHistory { get; set; }
/// <summary>
/// Gets or sets the dental history.
/// </summary>
public string? DentalHistory { get; set; }
/// <summary>
/// Gets or sets the family history.
/// </summary>
public string? FamilyHistory { get; set; }
/// <summary>
/// Gets or sets the oral hygiene.
/// </summary>
public string? OralHygiene { get; set; }
/// <summary>
/// Gets or sets the clinical findings.
/// </summary>
public string? ClinicalFindings { get; set; }
/// <summary>
/// Gets or sets the diagnosis.
/// </summary>
public string? Diagnosis { get; set; }
/// <summary>
/// Gets or sets the medications.
/// </summary>
public string? Medications { get; set; }
/// <summary>
/// Gets or sets the personal habits.
/// </summary>
public string? PersonalHabits { get; set; }
/// <summary>
/// Gets or sets the chief complaints.
/// </summary>
public string? ChiefComplaints { get; set; }
/// <summary>
/// Gets or sets the medication comment.
/// </summary>
public string? MedicationComment { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Domain.Entities
{
using global::Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary> The chat.</summary>
public class Denverchart
{
/// <summary>Gets or sets the denver chart id.</summary>
/// <summary>
/// Gets or sets the denver chart id.
/// </summary>
[Key, Identity]
public int DenverchartId { get; set; }
/// <summary>Gets or sets the itemname.</summary>
public string ItemName { get; set; }
/// <summary>Gets or sets the date of visit.</summary>
public string DateOfVisit { get; set; }
/// <summary>Gets or sets the comments.</summary>
public string Comments { get; set; }
/// <summary>Gets or sets the receiver type.</summary>
public int CreatedBy { get; set; }
/// <summary>Gets or sets the created date.</summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>Gets or sets status.</summary>
public bool Active { get; set; }
/// <summary>Gets or sets the itemname.</summary>
public int AppointmentId { get; set; }
/// <summary>Gets or sets the date of visit.</summary>
public string DenverChartData { get; set; }
public string Question { get; set; }
/// <summary>
/// Gets or sets the encrypted appointment id.
/// </summary>
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class Department
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int DepartmentId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string DepartmentName { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string DeptType { 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 Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The department consumption.
/// </summary>
public class DepartmentConsumption
{
/// <summary>
/// Gets or sets the department consumption identifier.
/// </summary>
/// <value>
/// The department consumption identifier.
/// </value>
[Key, Identity]
public int DepartmentConsumptionId { get; set; }
/// <summary>
/// Gets or sets the pharmacy departmental stock identifier.
/// </summary>
/// <value>
/// The pharmacy departmental stock identifier.
/// </value>
public int PharmacyDepartmentalStockId { get; set; }
/// <summary>
/// Gets or sets the quantity consumed.
/// </summary>
/// <value>
/// The quantity consumed.
/// </value>
public int QuantityConsumed { get; set; }
/// <summary>
/// Gets or sets the consumed by.
/// </summary>
/// <value>
/// The consumed by.
/// </value>
public int ConsumedBy { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the reason for consumption.
/// </summary>
/// <value>
/// The reason for consumption.
/// </value>
public string ReasonForConsumption { 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 DietConditionDetail
{
/// <summary>
/// Gets or sets the diet item id.
/// </summary>
[Key, Identity]
public int ConditionDetailId { get; set; }
public string Quantity { get; set; }
public int? DietItemsId { get; set; }
public int? MeasureId { get; set; }
public int? DietSlotId { get; set; }
public int? ConditionId { 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 DietConditionHeader
{
/// <summary>
/// Gets or sets the diet item id.
/// </summary>
[Key, Identity]
public int ConditionId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string ConditionName { get; set; }
/// <summary>
/// Gets or sets the active or inactive.
/// </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 string ShiftIds { 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 DietEncounter
{
/// <summary>
///
/// </summary>
[Key, Identity]
public int DietEncounterId { get; set; }
/// <summary>
///
/// </summary>
[IgnoreUpdate]
public int? AppointmentId { get; set; }
/// <summary>
///
/// </summary>
public DateTime DietEcounterDate { get; set; }
/// <summary>
/// AdmissionId
/// </summary>
public int? AdmissionId { get; set; }
/// <summary>
/// Active
/// </summary>
public bool Active { get; set; }
/// <summary>
/// DietPlanPrescribed
/// </summary>
public string DietPlanPrescribed { get; set; }
/// <summary>
/// OpNutritionScreeningForm
/// </summary>
public string OpNutritionScreeningForm { get; set; }
/// <summary>
/// OpNutritionalAssessmentForm
/// </summary>
public string OpNutritionalAssessmentForm { get; set; }
public string IpNutritionalScreeningForm { get; set; }
public string PediatricCDCScreeningForm { get; set; }
public string DietGuideLines { get; set; }
public string SyndromesFormP { get; set; }
[IgnoreUpdate]
public int CreatedBy { get; set; }
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
public int? ModifiedBy { get; set; }
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// order prescription
/// </summary>
public string? OrderPrescription { get; set; }
/// <summary>
/// Referral Form
/// </summary>
public string? ReferralForm { get; set; }
public string SpecialFeature { get; set; }
public int? PatientId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class DietGuidLines
{
/// <summary>
/// Gets or sets the diet guidlines id.
/// </summary>
[Key, Identity]
public int DietGuidLinesId { get; set; }
public string DietGuidLinesName { get; set; }
public string DocumentUrl { get; set; }
/// <summary>
/// Gets or sets the pdf link.
/// </summary>
public string PdfLink { get; set; }
public int? DietTypeId { 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 size.
/// </summary>
public float Size { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string ContentType { 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 DietItems
{
/// <summary>
/// Gets or sets the diet item id.
/// </summary>
[Key, Identity]
public int DietItemsId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string DietItemsName { get; set; }
/// <summary>
/// Gets or sets the active or inactive.
/// </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 MeasureId { get; set; }
}
}

using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
public class DietPlan
{/// <summary>
/// Gets or sets the diet plan id.
/// </summary>
[Key, Identity]
public int DietPlanId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the diet guide lines id.
/// </summary>
public int DietGuidLinesId { get; set; }
/// <summary>
/// Gets or sets the encounter type.
/// </summary>
public string EncounterType { get; set; }
/// <summary>
/// Gets or sets the encounter id.
/// </summary>
public int? EncounterId { get; set; }
/// <summary>
/// Gets or sets the status.
/// </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 a value indicating whether active.
/// </summary>
public bool Active { 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 DietSlots
{
/// <summary>
/// Gets or sets the diet id.
/// </summary>
[Key,Identity]
public int DietSlotId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the start time.
/// </summary>
public TimeSpan StartTime { get; set; }
/// <summary>
/// Gets or sets the end time.
/// </summary>
public TimeSpan EndTime { get; set; }
/// <summary>
/// Gets or sets the active or inactive.
/// </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 Location id.
/// </summary>
public int LocationId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary> The chat.</summary>
public class Discharge
{
/// <summary>
/// Gets or sets the discharge identifier.
/// </summary>
/// <value>
/// The discharge identifier.
/// </value>
[Key, Identity]
public int DischargeId { 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 discharge date.
/// </summary>
/// <value>
/// The discharge date.
/// </value>
public DateTime DischargeDate { get; set; }
/// <summary>
/// Gets or sets the discharge time.
/// </summary>
/// <value>
/// The discharge time.
/// </value>
public TimeSpan DischargeTime { get; set; }
/// <summary>
/// Gets or sets the condition on discharge.
/// </summary>
/// <value>
/// The condition on discharge.
/// </value>
public string ConditionOnDischarge { get; set; }
/// <summary>
/// Gets or sets the final diagnosis.
/// </summary>
/// <value>
/// The final diagnosis.
/// </value>
public string FinalDiagnosis { get; set; }
/// <summary>
/// Gets or sets the history of illness.
/// </summary>
/// <value>
/// The history of illness.
/// </value>
public string HistoryOfIllness { get; set; }
/// <summary>
/// Gets or sets the diet.
/// </summary>
/// <value>
/// The diet.
/// </value>
public string Diet { get; set; }
/// <summary>
/// Gets or sets the discharge summary.
/// </summary>
/// <value>
/// The discharge summary.
/// </value>
public string DischargeSummary { get; set; }
/// <summary>
/// Gets or sets the discharge follow up date.
/// </summary>
/// <value>
/// The discharge follow up date.
/// </value>
public DateTime? DischargeFollowUpDate { get; set; }
/// <summary>
/// Gets or sets the discharge follow up days.
/// </summary>
/// <value>
/// The discharge follow up days.
/// </value>
public int? DischargeFollowUpDays { get; set; }
/// <summary>
/// Gets or sets the follow up summary.
/// </summary>
/// <value>
/// The follow up summary.
/// </value>
public string FollowUpSummary { get; set; }
/// <summary>
/// Gets or sets the discharge status identifier.
/// </summary>
/// <value>
/// The discharge status identifier.
/// </value>
public int DischargeStatusId { get; set; }
/// <summary>
/// Gets or sets the is death.
/// </summary>
/// <value>
/// The is death.
/// </value>
public bool? IsDeath { get; set; }
/// <summary>
/// Gets or sets the death date.
/// </summary>
/// <value>
/// The death date.
/// </value>
public DateTime? DeathDate { get; set; }
/// <summary>
/// Gets or sets the death time.
/// </summary>
/// <value>
/// The death time.
/// </value>
public TimeSpan? DeathTime { get; set; }
/// <summary>
/// Gets or sets the cause of death.
/// </summary>
/// <value>
/// The cause of death.
/// </value>
public string CauseOfDeath { get; set; }
/// <summary>
/// Gets or sets the discharge instruction identifier.
/// </summary>
/// <value>
/// The discharge instruction identifier.
/// </value>
public string DischargeInstructionId { get; set; }
///// <summary>
///// Gets or sets the discharge instruction name.
///// </summary>
///// <value>
///// The discharge instruction name.
///// </value>
//public string? DischargeInstructionName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Discharge"/> 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; }
///// <summary>
///// Gets or sets the discharge instruction name.
///// </summary>
///// <value>
///// The discharge instruction name.
///// </value>
//public string? DischargeInstructionName { get; set; }
/// <summary>
/// Gets or sets the history of illness.
/// </summary>
/// <value>
/// The Past history.
/// </value>
public string PastHistory { get; set; }
/// <summary>
/// Gets or sets the history of illness.
/// </summary>
/// <value>
/// Advise
/// </value>
public string DischargeAdvise { get; set; }
/// <summary>
/// Gets or sets the history of illness.
/// </summary>
/// <value>
/// The Surgery Details.
/// </value>
public string Surgery { get; set; }
/// <summary>
/// Gets or sets list of surgoen name.
/// </summary>
// public Array? SurgeonName { get; set; } = null;
/// <summary>
/// Gets or sets the GeneralExamination.
/// </summary>
public string GeneralExamination { get; set; }
/// <summary>
/// Gets or sets the LocalExamination.
/// </summary>
public string LocalExamination { get; set; }
/// <summary>
/// Gets or sets the HospitalCourse.
/// </summary>
public string HospitalCourse { get; set; }
/// <summary>
/// Gets or sets the OperativeProcedure.
/// </summary>
public string OperativeProcedure { get; set; }
/// <summary>
/// Gets or sets the OperativeNotes.
/// </summary>
public string OperativeNotes { get; set; }
/// <summary>
/// Gets or sets the ConsultantSignature by provider.
/// </summary>
/// <value>
/// The providerid of provider.
/// </value>
public int? ConsultantSignature { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The role.
/// </summary>
public class DischargeInstruction
{
/// <summary>
/// Gets or sets the role id.
/// </summary>
[Key, Identity]
public int DischargeInstructionId { get; set; }
/// <summary>
/// Gets or sets the role name.
/// </summary>
public string DischargeInstructionName { 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 Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The discount module.
/// </summary>
public class DiscountModule
{
/// <summary>
/// Gets or sets the discount module id.
/// </summary>
[Key, Identity]
public int DiscountModuleId { get; set; }
/// <summary>
/// Gets or sets the module name.
/// </summary>
public string ModuleName { get; set; }
/// <summary>
/// Gets or sets the icon.
/// </summary>
public string Icon { get; set; }
/// <summary>
/// Gets or sets the roles.
/// </summary>
public string Roles { 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 Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The discounts per module.
/// </summary>
public class DiscountsPerModule
{
/// <summary>
/// Gets or sets the discounts per module id.
/// </summary>
[Key, Identity]
public int DiscountsPerModuleId { get; set; }
/// <summary>
/// Gets or sets the discounts module id.
/// </summary>
public int DiscountModuleId { get; set; }
/// <summary>
/// Gets or sets the role id.
/// </summary>
public int RoleId { get; set; }
/// <summary>
/// Gets or sets the allowed percentage.
/// </summary>
public int AllowedPercentage { 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 date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The Docto rAppointment Notice.
/// </summary>
public class DoctorAppointmentNotice
{
/// <summary>
///
/// </summary>
[Key, Identity]
public int DoctorAppointmentNoticeId { get; set; }
public int LocationId { get; set; }
public int ProviderId { get; set; }
public DateTime FromDate { get; set; }
public DateTime ToDate { get; set; }
public string Description { 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 DoctorAvailabilityVisitType
{
/// <summary>
/// Gets or sets the Provider Availability Visit Id
/// </summary>
[Key, Identity]
public int DoctorAvailabilityVisitTypeId { 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; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int? ProviderId { get; set; }
/// <summary>
/// Gets or sets the specialization id.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The doctor device details.
/// </summary>
public class DoctorDeviceDetails
{
/// <summary>
/// Gets or sets the doctor device details id.
/// </summary>
[Key, Identity]
public int DoctorDeviceDetailsId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether is webcam on.
/// </summary>
public bool IsWebcamOn { get; set; }
/// <summary>
/// Gets or sets a value indicating whether is mic on.
/// </summary>
public bool IsMicOn { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets the caller id.
/// </summary>
public string? CallerId { get; set; }
/// <summary>
/// Gets or sets the ringed at.
/// </summary>
public DateTime? RingedAt { get; set; }
/// <summary>
/// Gets or sets the call started at.
/// </summary>
public DateTime? CallStartedAt { get; set; }
/// <summary>
/// Gets or sets the call lifted at.
/// </summary>
public DateTime? CallLiftedAt { get; set; }
/// <summary>
/// Gets or sets the call ended at.
/// </summary>
public DateTime? CallEndedAt { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public string? Duration { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public string? Status { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
public string? Reason { 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 DoctorSpecializationMap
{
/// <summary>
/// Gets or sets the doctor specialization map identifier.
/// </summary>
/// <value>
/// The doctor specialization map identifier.
/// </value>
[Key, Identity]
public long DoctorSpecializationMapId { get; set; }
/// <summary>
/// Gets or sets the specialization identifier.
/// </summary>
/// <value>
/// The specialization identifier.
/// </value>
public int SpecializationId { get; set; }
/// <summary>
/// Gets or sets the consultation type identifier.
/// </summary>
/// <value>
/// The consultation type identifier.
/// </value>
public int ConsultationTypeId { 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 follow up days.
/// </summary>
/// <value>
/// The follow up days.
/// </value>
public int? FollowUpDays { get; set; }
/// <summary>
/// Gets or sets the visits.
/// </summary>
/// <value>
/// The visits.
/// </value>
public int? FollowUpDaysLimit { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int LocationId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
public class DoctorUnitMaster
{
/// <summary>
/// Gets or sets the tag doctor identifier.
/// </summary>
/// <value>
/// The tag doctor identifier.
/// </value>
[Key, Identity]
public int DoctorUnitMasterId { get; set; }
/// <summary>
/// Gets or sets doctor.
/// </summary>
/// <value>
/// The name of doctor.
/// </value>
public string UnitName { get; set; }
/// <summary>
/// Gets or sets designation
/// </summary>
/// <value>
/// the name of designation
/// </value>
public string Code { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
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 locationId.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets active.
/// </summary>
/// <value>
/// The active.
/// </value>
public bool? Active { 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