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

initial commit

parent b53dca30
namespace Hims.Domain.Entities.ChargeModules
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The charge module category.
/// </summary>
public class ChargeModuleCategory
{
/// <summary>
/// Gets or sets the charge module category identifier.
/// </summary>
/// <value>
/// The charge module category identifier.
/// </value>
[Key, Identity]
public int ChargeModuleCategoryId { get; set; }
/// <summary>
/// Gets or sets the charge category identifier.
/// </summary>
/// <value>
/// The charge category identifier.
/// </value>
public int ChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the modules master identifier.
/// </summary>
/// <value>
/// The modules master identifier.
/// </value>
public int ModulesMasterId { get; set; }
/// <summary>
/// Gets or sets the charge module template identifier.
/// </summary>
/// <value>
/// The charge module template identifier.
/// </value>
public int ChargeModuleTemplateId { 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 modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { 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 date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ChargeModuleCategory"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
}
}
namespace Hims.Domain.Entities.ChargeModules
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The charge module details.
/// </summary>
public class ChargeModuleDetails
{
/// <summary>
/// Gets or sets the charge module details identifier.
/// </summary>
/// <value>
/// The charge module details identifier.
/// </value>
[Key, Identity]
public long ChargeModuleDetailsId { get; set; }
/// <summary>
/// Gets or sets the reference identifier.
/// </summary>
/// <value>
/// The reference identifier.
/// </value>
public int ReferenceId { get; set; }
/// <summary>
/// Gets or sets the charge module category identifier.
/// </summary>
/// <value>
/// The charge module category identifier.
/// </value>
public int ChargeModuleCategoryId { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double Amount { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { 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 created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities.ChargeModules
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The charge module template.
/// </summary>
public class ChargeModuleTemplate
{
/// <summary>
/// Gets or sets the charge module template identifier.
/// </summary>
/// <value>
/// The charge module template identifier.
/// </value>
[Key, Identity]
public int ChargeModuleTemplateId { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
/// <value>
/// The start date.
/// </value>
public DateTime StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
/// <value>
/// The end date.
/// </value>
public DateTime EndDate { 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 date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the name of the template.
/// </summary>
/// <value>
/// The name of the template.
/// </value>
public string TemplateName { 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 modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ChargeModuleTemplate"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is in use.
/// </summary>
/// <value>
/// <c>true</c> if this instance is in use; otherwise, <c>false</c>.
/// </value>
public bool IsInUse { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities.ChargeModules
{
/// <summary>
/// The DoctorSpecializationChargeModuleCategory.
/// </summary>
public class DoctorSpecializationChargeModuleCategory
{
/// <summary>
/// Gets or sets the doctor specialization charge module category identifier.
/// </summary>
/// <value>
/// The doctor specialization charge module category identifier.
/// </value>
[Key, Identity]
public int DoctorSpecializationChargeModuleCategoryId { get; set; }
/// <summary>
/// Gets or sets the charge types identifier.
/// </summary>
/// <value>
/// The charge types identifier.
/// </value>
public int ChargeTypesId { get; set; }
/// <summary>
/// Gets or sets the modules master identifier.
/// </summary>
/// <value>
/// The modules master identifier.
/// </value>
public int ModulesMasterId { get; set; }
/// <summary>
/// Gets or sets the charge module template identifier.
/// </summary>
/// <value>
/// The charge module template identifier.
/// </value>
public int ChargeModuleTemplateId { 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 modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { 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 date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ChargeModuleCategory"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
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.ChargeModules
{
/// <summary>
/// The DoctorSpecializationChargeModuleDetails.
/// </summary>
public class DoctorSpecializationChargeModuleDetails
{
/// <summary>
/// Gets or sets the doctor specialization charge module details identifier.
/// </summary>
/// <value>
/// The doctor specialization charge module details identifier.
/// </value>
[Key, Identity]
public long DoctorSpecializationChargeModuleDetailsId { get; set; }
/// <summary>
/// Gets or sets the reference identifier.
/// </summary>
/// <value>
/// The reference identifier.
/// </value>
public int ReferenceId { get; set; }
/// <summary>
/// Gets or sets the doctor specialization charge module category identifier.
/// </summary>
/// <value>
/// The doctor specialization charge module category identifier.
/// </value>
public int DoctorSpecializationChargeModuleCategoryId { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double Amount { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { 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 created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities.EncounterTemplates
{
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The template detail.
/// </summary>
public class TemplateDetail
{
/// <summary>
/// Gets or sets the template detail identifier.
/// </summary>
/// <value>
/// The template detail identifier.
/// </value>
[Key,Identity]
public int TemplateDetailId { get; set; }
/// <summary>
/// Gets or sets the template header identifier.
/// </summary>
/// <value>
/// The template header identifier.
/// </value>
public int TemplateHeaderId { get; set; }
/// <summary>
/// Gets or sets the json value.
/// </summary>
/// <value>
/// The json value.
/// </value>
public string JSONValue { get; set; }
}
}
namespace Hims.Domain.Entities.EncounterTemplates
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The template header.
/// </summary>
public class TemplateHeader
{
/// <summary>
/// Gets or sets the template header identifier.
/// </summary>
/// <value>
/// The template header identifier.
/// </value>
[Key,Identity]
public int TemplateHeaderId { get; set; }
/// <summary>
/// Gets or sets the modules master identifier.
/// </summary>
/// <value>
/// The modules master identifier.
/// </value>
public int ModulesMasterId { get; set; }
/// <summary>
/// Gets or sets the name of the template.
/// </summary>
/// <value>
/// The name of the template.
/// </value>
public string TemplateName { 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 a value indicating whether this <see cref="TemplateHeader"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
}
}
namespace Hims.Domain.Entities.Enums
{
/// <summary>
/// The receipt type enum
/// </summary>
public enum ReceiptType
{
/// <summary>
/// The cash
/// </summary>
Cash = 1,
/// <summary>
/// The refund
/// </summary>
Refund = 2
}
/// <summary>
/// The receipt area type enum
/// </summary>
public enum ReceiptAreaType
{
/// <summary>
/// The pharmacy
/// </summary>
Pharmacy = 1,
/// <summary>
/// The general
/// </summary>
General,
/// <summary>
/// The PatientRegistration
/// </summary>
PatientRegistration,
/// <summary>
/// The Appointment
/// </summary>
Appointment,
/// <summary>
/// The Cancel Appointment
/// </summary>
CancelAppointment,
/// <summary>
/// The Cancel patient reg
/// </summary>
CancelPatientRegistration,
/// <summary>
/// The pharmacy sale return
/// </summary>
PharmacyReturn,
/// <summary>
/// The labs
/// </summary>
Labs,
/// <summary>
/// The labs cancel
/// </summary>
LabsCancel,
/// <summary>
/// The Scan Appointment
/// </summary>
ScanAppointment,
/// <summary>
/// The Scan Appointment Return.
/// </summary>
ScanAppointmentReturn,
/// <summary>
/// The Admission Receipt
/// </summary>
AdmissionReceipt,
/// <summary>
/// The Admission Receipt Refund
/// </summary>
AdmissionReceiptRefund,
Services
}
/// <summary>
///
/// </summary>
public enum PackageDeleteType
{
/// <summary>
/// The general
/// </summary>
General = 1,
/// <summary>
/// The product
/// </summary>
Product = 2,
/// <summary>
/// The surgery
/// </summary>
Surgery = 3
}
/// <summary>
/// The receipt type enum
/// </summary>
public enum RepeatType
{
/// <summary>
/// The once
/// </summary>
Once = 1,
/// <summary>
/// The day
/// </summary>
Day = 2,
/// <summary>
/// The hour
/// </summary>
Hour = 3
}
/// <summary>
/// The receipt type enum
/// </summary>
public enum AutomaticType
{
/// <summary>
/// The once
/// </summary>
BedCharges = 1,
/// <summary>
/// The day
/// </summary>
DoctorCharges = 2
}
/// <summary>
/// The discount type
/// </summary>
public enum DiscountType
{
/// <summary>
/// The discount in amount
/// </summary>
DiscountInAmount = 1,
/// <summary>
/// The discount in percentage
/// </summary>
DiscountInPercentage = 2
}
/// <summary>
/// The module master
/// </summary>
//public enum ModulesMaster
//{
// /// <summary>
// /// The lab module
// /// </summary>
// Lab = 1,
// /// <summary>
// /// The pharmacy module
// /// </summary>
// Scan = 2,
// /// <summary>
// /// The scan module
// /// </summary>
// Pharmacy = 6,
// /// <summary>
// /// The scan module
// /// </summary>
// Appointment = 16,
// /// <summary>
// /// The scan module
// /// </summary>
// Patient = 17
//}
/// <summary>
/// The module master
/// </summary>
public enum BillStatusType
{
/// <summary>
/// The Generated bill
/// </summary>
Generated = 1,
/// <summary>
/// The not Generated bill
/// </summary>
Not_Generated = 2
}
/// <summary>
/// The action type.
/// </summary>
public enum ActionType
{
QM_CheckIn = 1,
QM_Start = 2,
QM_Complete = 3,
}
/// <summary>
/// The module master
/// </summary>
public enum GatePassType
{
/// <summary>
/// The Generated bill
/// </summary>
Provisional = 1,
/// <summary>
/// The not Generated bill
/// </summary>
Final = 2
}
}
namespace Hims.Domain.Entities.Inventory
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The inventory department.
/// </summary>
public class InventoryDepartment
{
/// <summary>
/// Gets or sets the inventory department identifier.
/// </summary>
/// <value>
/// The inventory department identifier.
/// </value>
[Key, Identity]
public int InventoryDepartmentId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="InventoryDepartment"/> 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>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the 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; }
}
}
namespace Hims.Domain.Entities.Inventory
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The inventory department consumption.
/// </summary>
public class InventoryDepartmentConsumption
{
/// <summary>
/// Gets or sets the inventory department consumption identifier.
/// </summary>
/// <value>
/// The inventory department consumption identifier.
/// </value>
[Key,Identity]
public int InventoryDepartmentConsumptionId { get; set; }
/// <summary>
/// Gets or sets the inventory departmental stock identifier.
/// </summary>
/// <value>
/// The inventory departmental stock identifier.
/// </value>
public int InventoryDepartmentalStockId { 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 quantity before consumption.
/// </summary>
/// <value>
/// The quantity before consumption.
/// </value>
public int QuantityBeforeConsumption { get; set; }
/// <summary>
/// Gets or sets the reason for consumption.
/// </summary>
/// <value>
/// The reason for consumption.
/// </value>
public string ReasonForConsumption { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
}
}
namespace Hims.Domain.Entities.Inventory
{
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The inventory department user.
/// </summary>
public class InventoryDepartmentUser
{
/// <summary>
/// Gets or sets the inventory department user identifier.
/// </summary>
/// <value>
/// The inventory department user identifier.
/// </value>
[Key, Identity]
public int InventoryDepartmentUserId { get; set; }
/// <summary>
/// Gets or sets the inventory department identifier.
/// </summary>
/// <value>
/// The inventory department identifier.
/// </value>
public int InventoryDepartmentId { get; set; }
/// <summary>
/// Gets or sets the account identifier.
/// </summary>
/// <value>
/// The account identifier.
/// </value>
public int AccountId { get; set; }
}
}
namespace Hims.Domain.Entities.Inventory
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The inventory departental stock
/// </summary>
public class InventoryDepartmentalStock
{
/// <summary>
/// Gets or sets the inventory departmental stock identifier.
/// </summary>
/// <value>
/// The inventory departmental stock identifier.
/// </value>
[Key, Identity]
public int InventoryDepartmentalStockId { get; set; }
/// <summary>
/// Gets or sets the inventory product identifier.
/// </summary>
/// <value>
/// The inventory product identifier.
/// </value>
public int InventoryProductId { get; set; }
/// <summary>
/// Gets or sets the tax identifier.
/// </summary>
/// <value>
/// The tax identifier.
/// </value>
public int TaxId { get; set; }
/// <summary>
/// Gets or sets the quantity in.
/// </summary>
/// <value>
/// The quantity in.
/// </value>
public int QuantityIn { get; set; }
/// <summary>
/// Gets or sets the quantity out.
/// </summary>
/// <value>
/// The quantity out.
/// </value>
public int QuantityOut { get; set; }
/// <summary>
/// Gets or sets the inventory stock identifier.
/// </summary>
/// <value>
/// The inventory stock identifier.
/// </value>
public int InventoryStockId { 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 modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
/// <value>
/// The batch number.
/// </value>
public string BatchNumber { 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 expiry date.
/// </summary>
/// <value>
/// The expiry date.
/// </value>
public DateTime? ExpiryDate { 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 purchase rate.
/// </summary>
/// <value>
/// The purchase rate.
/// </value>
public double PurchaseRate { get; set; }
/// <summary>
/// Gets or sets the inventory department identifier.
/// </summary>
/// <value>
/// The inventory department identifier.
/// </value>
public int InventoryDepartmentId { get; set; }
}
}
namespace Hims.Domain.Entities.Inventory
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The inventory issued stock detail.
/// </summary>
public class InventoryIssuedStockDetail
{
/// <summary>
/// Gets or sets the inventory issued stock detail identifier.
/// </summary>
/// <value>
/// The inventory issued stock detail identifier.
/// </value>
[Key,Identity]
public long InventoryIssuedStockDetailId { get; set; }
/// <summary>
/// Gets or sets the inventory issued stock header identifier.
/// </summary>
/// <value>
/// The inventory issued stock header identifier.
/// </value>
public long InventoryIssuedStockHeaderId { get; set; }
/// <summary>
/// Gets or sets the inventory product identifier.
/// </summary>
/// <value>
/// The inventory product identifier.
/// </value>
public int InventoryProductId { get; set; }
/// <summary>
/// Gets or sets the tax id.
/// </summary>
public int TaxId { get; set; }
/// <summary>
/// Gets or sets the quantity in.
/// </summary>
public int QuantityIn { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
/// <value>
/// The batch number.
/// </value>
public string BatchNumber { get; set; }
/// <summary>
/// Gets or sets the expiry date.
/// </summary>
public DateTime? ExpiryDate { get; set; }
/// <summary>
/// Gets or sets the purchase rate.
/// </summary>
public double PurchaseRate { get; set; }
/// <summary>
/// Gets or sets the inventory stock identifier.
/// </summary>
/// <value>
/// The inventory stock identifier.
/// </value>
public int InventoryStockId { get; set; }
}
}
namespace Hims.Domain.Entities.Inventory
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The inventory issued stock header.
/// </summary>
public class InventoryIssuedStockHeader
{
/// <summary>
/// Gets or sets the inventory issued stock header identifier.
/// </summary>
/// <value>
/// The pharmacy issued stock header identifier.
/// </value>
[Key, Identity]
public long InventoryIssuedStockHeaderId { get; set; }
/// <summary>
/// Gets or sets the issued date.
/// </summary>
/// <value>
/// The issued date.
/// </value>
public DateTime IssuedDate { get; set; }
/// <summary>
/// Gets or sets the issued by.
/// </summary>
/// <value>
/// The issued by.
/// </value>
public int IssuedBy { get; set; }
/// <summary>
/// Gets or sets the issue header identifier.
/// </summary>
/// <value>
/// The issue header identifier.
/// </value>
public int IssueHeaderId { get; set; }
/// <summary>
/// Gets or sets the hand over to.
/// </summary>
/// <value>
/// The hand over to.
/// </value>
public int? HandOverTo { get; set; }
/// <summary>
/// Gets or sets the inventory department identifier.
/// </summary>
/// <value>
/// The inventory department identifier.
/// </value>
public int? InventoryDepartmentId { get; set; }
/// <summary>
/// Gets or sets the received by.
/// </summary>
/// <value>
/// The received by.
/// </value>
public int? ReceivedBy { get; set; }
/// <summary>
/// Gets or sets the received date.
/// </summary>
/// <value>
/// The received date.
/// </value>
public DateTime? ReceivedDate { get; set; }
/// <summary>
/// Gets or sets the comment.
/// </summary>
/// <value>
/// The comment.
/// </value>
public string Comment { get; set; }
/// <summary>
/// Gets or sets the issue number.
/// </summary>
/// <value>
/// The issue number.
/// </value>
public string IssueNumber { get; set; }
}
}
namespace Hims.Domain.Entities.Inventory
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The inventory product detail.
/// </summary>
public class InventoryProductDetail
{
/// <summary>
/// Gets or sets the inventory product detail identifier.
/// </summary>
/// <value>
/// The inventory product detail identifier.
/// </value>
[Key, Identity]
public int InventoryProductDetailId { get; set; }
/// <summary>
/// Gets or sets the inventory product rack identifier.
/// </summary>
/// <value>
/// The inventory product rack identifier.
/// </value>
public int InventoryProductRackId { get; set; }
/// <summary>
/// Gets or sets the roq.
/// </summary>
/// <value>
/// The roq.
/// </value>
public int ROQ { get; set; }
/// <summary>
/// Gets or sets the rol.
/// </summary>
/// <value>
/// The rol.
/// </value>
public int ROL { get; set; }
/// <summary>
/// Gets or sets the inventory product identifier.
/// </summary>
/// <value>
/// The inventory product identifier.
/// </value>
public int InventoryProductId { get; set; }
/// <summary>
/// Gets or sets the inventory department identifier.
/// </summary>
/// <value>
/// The inventory department identifier.
/// </value>
public int? InventoryDepartmentId { get; set; }
/// <summary>
/// Gets or sets the inventory ware house identifier.
/// </summary>
/// <value>
/// The inventory ware house identifier.
/// </value>
public int? InventoryWareHouseId { 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 modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { 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 date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities.Inventory
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The inventory product rack.
/// </summary>
public class InventoryProductRack
{
/// <summary>
/// Gets or sets the inventory product rack identifier.
/// </summary>
/// <value>
/// The inventory product rack identifier.
/// </value>
[Key,Identity]
public int InventoryProductRackId { get; set; }
/// <summary>
/// Gets or sets the name of the rack.
/// </summary>
/// <value>
/// The name of the rack.
/// </value>
public string RackName { 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 modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the inventory ware house identifier.
/// </summary>
/// <value>
/// The inventory ware house identifier.
/// </value>
public int? InventoryWareHouseId { get; set; }
/// <summary>
/// Gets or sets the inventory department identifier.
/// </summary>
/// <value>
/// The inventory department identifier.
/// </value>
public int? InventoryDepartmentId { 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 date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities.Inventory
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The inventory ware house.
/// </summary>
public class InventoryWareHouse
{
/// <summary>
/// Gets or sets the inventory ware house identifier.
/// </summary>
/// <value>
/// The inventory ware house identifier.
/// </value>
[Key, Identity]
public int InventoryWareHouseId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="InventoryWareHouse"/> 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>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the 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; }
}
}
namespace Hims.Domain.Entities.Inventory
{
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The inventory ware house user.
/// </summary>
public class InventoryWareHouseUser
{
/// <summary>
/// Gets or sets the inventory ware house user identifier.
/// </summary>
/// <value>
/// The inventory ware house user identifier.
/// </value>
[Key, Identity]
public int InventoryWareHouseUserId { get; set; }
/// <summary>
/// Gets or sets the inventory ware house identifier.
/// </summary>
/// <value>
/// The inventory ware house identifier.
/// </value>
public int InventoryWareHouseId { get; set; }
/// <summary>
/// Gets or sets the account identifier.
/// </summary>
/// <value>
/// The account identifier.
/// </value>
public int AccountId { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities.Labs
{
public class ExternalLabAgency
{
/// <summary>
/// Gets or sets the external lab agency identifier.
/// </summary>
/// <value>
/// The external lab agency identifier.
/// </value>
[Key, Identity]
public int ExternalLabAgencyId { get; set; }
/// <summary>
/// Gets or sets the agency code.
/// </summary>
/// <value>
/// The agency code.
/// </value>
public string AgencyCode { get; set; }
/// <summary>
/// Gets or sets the name of the agency.
/// </summary>
/// <value>
/// The name of the agency.
/// </value>
public string AgencyName { get; set; }
/// <summary>
/// Gets or sets the address.
/// </summary>
/// <value>
/// The address.
/// </value>
public string Address { get; set; }
/// <summary>
/// Gets or sets the URL.
/// </summary>
/// <value>
/// The URL.
/// </value>
public string URL { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ExternalLabAgency"/> 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 modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { 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 date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
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.Labs
{
public class ExternalLabAgencyDetail
{
/// <summary>
/// Gets or sets the external lab agency detail identifier.
/// </summary>
/// <value>
/// The external lab agency detail identifier.
/// </value>
[Key, Identity]
public int ExternalLabAgencyDetailId { get; set; }
/// <summary>
/// Gets or sets the external lab agency identifier.
/// </summary>
/// <value>
/// The external lab agency identifier.
/// </value>
public int ExternalLabAgencyId { get; set; }
/// <summary>
/// Gets or sets the lab main detail identifier.
/// </summary>
/// <value>
/// The lab main detail identifier.
/// </value>
public int LabMainDetailId { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double Amount { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ExternalLabAgencyDetail"/> 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 modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { 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 date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
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.Labs
{
public class ExternalLabTransfer
{
/// <summary>
/// Gets or sets the external lab transfer identifier.
/// </summary>
/// <value>
/// The external lab transfer identifier.
/// </value>
[Key, Identity]
public int ExternalLabTransferId { get; set; }
/// <summary>
/// Gets or sets the transfer number.
/// </summary>
/// <value>
/// The transfer number.
/// </value>
public string TransferNumber { get; set; }
/// <summary>
/// Gets or sets the external lab agency identifier.
/// </summary>
/// <value>
/// The external lab agency identifier.
/// </value>
public int ExternalLabAgencyId { get; set; }
/// <summary>
/// Creates new labbookingdetailid.
/// </summary>
/// <value>
/// The new lab booking detail identifier.
/// </value>
public int NewLabBookingDetailId { get; set; }
/// <summary>
/// Gets or sets the lab sample collection detail identifier.
/// </summary>
/// <value>
/// The lab sample collection detail identifier.
/// </value>
public int LabSampleCollectionDetailId { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int FromLocationId { get; set; }
/// <summary>
/// Gets or sets the comments.
/// </summary>
/// <value>
/// The comments.
/// </value>
public string Comments { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ExternalLabTransfer"/> 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 TransferredBy { 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 created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
[IgnoreUpdate]
public DateTime TransferredDate { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The lab booking status.
/// </summary>
public class LabBookingStatus
{
/// <summary>
/// Gets or sets the lab booking status identifier.
/// </summary>
/// <value>
/// The lab booking status identifier.
/// </value>
[Key,Identity]
public int LabBookingStatusId { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
/// <value>
/// The status.
/// </value>
public string Status { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="LabBookingStatus"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the colour.
/// </summary>
/// <value>
/// The colour.
/// </value>
public string RowColor { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The lab booking timeline.
/// </summary>
public class LabBookingTimeLine
{
/// <summary>
/// Gets or sets the lab booking time line identifier.
/// </summary>
/// <value>
/// The lab booking time line identifier.
/// </value>
[Key,Identity]
public int LabBookingTimeLineId { get; set; }
/// <summary>
/// Creates new labbookingheaderid.
/// </summary>
/// <value>
/// The new lab booking header identifier.
/// </value>
public int NewLabBookingHeaderId { get; set; }
/// <summary>
/// Gets or sets the lab booking status identifier.
/// </summary>
/// <value>
/// The lab booking status identifier.
/// </value>
public int LabBookingStatusId { get; set; }
/// <summary>
/// Gets or sets the comment.
/// </summary>
/// <value>
/// The comment.
/// </value>
public string Comment { get; set; }
/// <summary>
/// Gets or sets the commented by.
/// </summary>
/// <value>
/// The commented by.
/// </value>
public int CommentedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Creates new labbookingdetailid.
/// </summary>
/// <value>
/// The new lab booking detail identifier.
/// </value>
public int? NewLabBookingDetailId { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
public class LabComponentDetail
{
/// <summary>
/// Gets or sets the lab component detail identifier.
/// </summary>
/// <value>
/// The lab component detail identifier.
/// </value>
[Key, Identity]
public int LabComponentDetailId { get; set; }
/// <summary>
/// Gets or sets the lab component header identifier.
/// </summary>
/// <value>
/// The lab component header identifier.
/// </value>
public int LabComponentHeaderId { get; set; }
/// <summary>
/// Gets or sets the lab parameter header identifier.
/// </summary>
/// <value>
/// The lab parameter header identifier.
/// </value>
public int LabParameterHeaderId { get; set; }
/// <summary>
/// Gets or sets the priority.
/// </summary>
/// <value>
/// The priority.
/// </value>
public int Priority { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The lab component header.
/// </summary>
public class LabComponentHeader
{
/// <summary>
/// Gets or sets the lab component header identifier.
/// </summary>
/// <value>
/// The lab component header identifier.
/// </value>
[Key, Identity]
public int LabComponentHeaderId { get; set; }
/// <summary>
/// Gets or sets the name of the component.
/// </summary>
/// <value>
/// The name of the component.
/// </value>
public string ComponentName { get; set; }
/// <summary>
/// Gets or sets the component identifier.
/// </summary>
/// <value>
/// The component identifier.
/// </value>
public string ComponentId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="LabComponentHeader"/> 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>
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; }
}
}
namespace Hims.Domain.Entities.Labs
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The lab main detail.
/// </summary>
public class LabMainDetail
{
/// <summary>
/// Gets or sets the lab main detail identifier.
/// </summary>
/// <value>
/// The lab main detail identifier.
/// </value>
[Key,Identity]
public int LabMainDetailId { get; set; }
/// <summary>
/// Gets or sets the name of the test.
/// </summary>
/// <value>
/// The name of the test.
/// </value>
public string TestName { get; set; }
/// <summary>
/// Gets or sets the test code.
/// </summary>
/// <value>
/// The test code.
/// </value>
public string TestCode { get; set; }
/// <summary>
/// Gets or sets the lab department identifier.
/// </summary>
/// <value>
/// The lab department identifier.
/// </value>
public int LabDepartmentId { get; set; }
/// <summary>
/// Gets or sets the lab sample type identifier.
/// </summary>
/// <value>
/// The lab sample type identifier.
/// </value>
public int? LabSampleTypeId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="LabMainDetail"/> 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 internal lab.
/// </summary>
/// <value>
/// <c>true</c> if this instance is internal lab; otherwise, <c>false</c>.
/// </value>
public bool IsInternalLab { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is external lab.
/// </summary>
/// <value>
/// <c>true</c> if this instance is external lab; otherwise, <c>false</c>.
/// </value>
public bool IsExternalLab { 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 module master identifier.
/// </summary>
/// <value>
/// The module master identifier.
/// </value>
[IgnoreUpdate]
public int ModulesMasterId { get; set; }
/// <summary>
/// Gets or sets the sample usage.
/// </summary>
/// <value>
/// The sample usage.
/// </value>
public string SampleUsage { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [nabl required].
/// </summary>
/// <value>
/// <c>true</c> if [nabl required]; otherwise, <c>false</c>.
/// </value>
public bool NablRequired { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [consent form required].
/// </summary>
/// <value>
/// <c>true</c> if [consent form required]; otherwise, <c>false</c>.
/// </value>
public bool ConsentFormRequired { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [assign doctor required].
/// </summary>
/// <value>
/// <c>true</c> if [assign doctor required]; otherwise, <c>false</c>.
/// </value>
public bool AssignDoctorRequired { get; set; }
/// <summary>
/// Gets or sets the lab vacutainer identifier.
/// </summary>
/// <value>
/// The lab vacutainer identifier.
/// </value>
public int LabVacutainerId { get; set; }
/// <summary>
/// Gets or sets the no of samples collect.
/// </summary>
/// <value>
/// The no of samples collect.
/// </value>
public int NoOfSamplesCollect { get; set; }
/// <summary>
/// Gets or sets the no of samples collect text.
/// </summary>
/// <value>
/// The no of samples collect text.
/// </value>
public string NoOfSamplesCollectText { get; set; }
/// <summary>
/// Gets or sets the test precaution.
/// </summary>
/// <value>
/// The test precaution.
/// </value>
public string TestPrecaution { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The lab main detail template
/// </summary>
public class LabMainDetailTemplate
{
/// <summary>
/// Gets or sets the lab main detail template identifier.
/// </summary>
/// <value>
/// The lab main detail template identifier.
/// </value>
[Key,Identity]
public long LabMainDetailTemplateId { get; set; }
/// <summary>
/// Gets or sets the lab main detail identifier.
/// </summary>
/// <value>
/// The lab main detail identifier.
/// </value>
public int LabMainDetailId { get; set; }
/// <summary>
/// Gets or sets the lab template header identifier.
/// </summary>
/// <value>
/// The lab template header identifier.
/// </value>
public int LabTemplateHeaderId { get; set; }
/// <summary>
/// Gets or sets the priority.
/// </summary>
/// <value>
/// The priority.
/// </value>
public int Priority { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The lab parameter detail.
/// </summary>
public class LabParameterDetail
{
/// <summary>
/// Gets or sets the lab parameter detail identifier.
/// </summary>
/// <value>
/// The lab parameter detail identifier.
/// </value>
[Key,Identity]
public long LabParameterDetailId { get; set; }
/// <summary>
/// Gets or sets the lab parameter header identifier.
/// </summary>
/// <value>
/// The lab parameter header identifier.
/// </value>
public int LabParameterHeaderId { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
/// <value>
/// The gender.
/// </value>
public string Gender { get; set; }
/// <summary>
/// Gets or sets from age.
/// </summary>
/// <value>
/// From age.
/// </value>
public int? FromAge { get; set; }
/// <summary>
/// Gets or sets the type of from age.
/// </summary>
/// <value>
/// The type of from age.
/// </value>
public string FromAgeType { get; set; }
/// <summary>
/// Converts to age.
/// </summary>
/// <value>
/// To age.
/// </value>
public int? ToAge { get; set; }
/// <summary>
/// Converts to agetype.
/// </summary>
/// <value>
/// The type of to age.
/// </value>
public string ToAgeType { get; set; }
/// <summary>
/// Gets or sets the minimum value.
/// </summary>
/// <value>
/// The minimum value.
/// </value>
public double? MinValue { get; set; }
/// <summary>
/// Gets or sets the maximum value.
/// </summary>
/// <value>
/// The maximum value.
/// </value>
public double? MaxValue { get; set; }
/// <summary>
/// Gets or sets the minimum critical value.
/// </summary>
/// <value>
/// The minimum critical value.
/// </value>
public double? MinCriticalValue { get; set; }
/// <summary>
/// Gets or sets the maximum critical value.
/// </summary>
/// <value>
/// The maximum critical value.
/// </value>
public double? MaxCriticalValue { get; set; }
/// <summary>
/// Gets or sets the unit identifier.
/// </summary>
/// <value>
/// The unit identifier.
/// </value>
public int? UnitId { get; set; }
/// <summary>
/// Gets or sets the range text.
/// </summary>
/// <value>
/// The range text.
/// </value>
public string? RangeText { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The lab parameter header.
/// </summary>
public class LabParameterHeader
{
/// <summary>
/// Gets or sets the lab parameter header identifier.
/// </summary>
/// <value>
/// The lab parameter header identifier.
/// </value>
[Key, Identity]
public int LabParameterHeaderId { get; set; }
/// <summary>
/// Gets or sets the name of the parameter.
/// </summary>
/// <value>
/// The name of the parameter.
/// </value>
public string ParameterName { get; set; }
/// <summary>
/// Gets or sets the display name.
/// </summary>
/// <value>
/// The display name.
/// </value>
public string DisplayName { get; set; }
/// <summary>
/// Gets or sets the reference output.
/// </summary>
/// <value>
/// The reference output.
/// </value>
public string ReferenceOutput { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="LabParameterHeader"/> 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>
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 lab parameter method identifier.
/// </summary>
/// <value>
/// The lab parameter method identifier.
/// </value>
public int? LabParameterMethodId { get; set; }
/// <summary>
/// Gets or sets the text.
/// </summary>
/// <value>
/// The text.
/// </value>
public string? Text { get; set; }
/// <summary>
/// Gets or sets the machine identifier.
/// </summary>
/// <value>
/// The machine identifier.
/// </value>
public int MachineId { get; set; }
/// <summary>
/// Gets or sets the name of the machine parameter.
/// </summary>
/// <value>
/// The name of the machine parameter.
/// </value>
public string MachineParameterName { get; set; }
/// <summary>
/// Gets or sets the parameter identifier.
/// </summary>
/// <value>
/// The parameter identifier.
/// </value>
public string ParameterId { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The lab parameter model.
/// </summary>
public class LabParameterMethod
{
/// <summary>
/// Gets or sets the lab parameter method identifier.
/// </summary>
/// <value>
/// The lab parameter method identifier.
/// </value>
[Key, Identity]
public int LabParameterMethodId { get; set; }
/// <summary>
/// Gets or sets the name of the method.
/// </summary>
/// <value>
/// The name of the method.
/// </value>
public string MethodName { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The lab parameter observed value.
/// </summary>
public class LabParameterObservedValue
{
/// <summary>
/// Gets or sets the lab parameter observed value identifier.
/// </summary>
/// <value>
/// The lab parameter observed value identifier.
/// </value>
[Key, Identity]
public long LabParameterObservedValueId { get; set; }
/// <summary>
/// Creates new labbookingdetailid.
/// </summary>
/// <value>
/// The new lab booking detail identifier.
/// </value>
public int NewLabBookingDetailId { get; set; }
/// <summary>
/// Gets or sets the lab template header identifier.
/// </summary>
/// <value>
/// The lab template header identifier.
/// </value>
public int LabTemplateHeaderId { get; set; }
/// <summary>
/// Gets or sets the lab component header identifier.
/// </summary>
/// <value>
/// The lab component header identifier.
/// </value>
public int? LabComponentHeaderId { get; set; }
/// <summary>
/// Gets or sets the lab parameter header identifier.
/// </summary>
/// <value>
/// The lab parameter header identifier.
/// </value>
public int LabParameterHeaderId { get; set; }
/// <summary>
/// Gets or sets the lab parameter detail identifier.
/// </summary>
/// <value>
/// The lab parameter detail identifier.
/// </value>
public int? LabParameterDetailId { get; set; } // to be removed in future.
/// <summary>
/// Gets or sets the observed value.
/// </summary>
/// <value>
/// The observed value.
/// </value>
public string ObservedValue { 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 a value indicating whether this <see cref="LabParameterObservedValue"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
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.Labs
{
public class LabReportVerification
{
/// <summary>
/// Gets or sets the lab report verification identifier.
/// </summary>
/// <value>
/// The lab report verification identifier.
/// </value>
[Key,Identity]
public int LabReportVerificationId { get; set; }
/// <summary>
/// Creates new labbookingdetailid.
/// </summary>
/// <value>
/// The new lab booking detail identifier.
/// </value>
public int NewLabBookingDetailId { get; set; }
/// <summary>
/// Gets or sets the approved by.
/// </summary>
/// <value>
/// The approved by.
/// </value>
public int ApprovedBy { get; set; }
/// <summary>
/// Gets or sets the approved date.
/// </summary>
/// <value>
/// The approved date.
/// </value>
public DateTime? ApprovedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="LabReportVerification"/> is approved.
/// </summary>
/// <value>
/// <c>true</c> if approved; otherwise, <c>false</c>.
/// </value>
public bool Approved { 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; }
}
}
namespace Hims.Domain.Entities.Labs
{
using System;
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The lab sample collection.
/// </summary>
public class LabSampleCollection
{
/// <summary>
/// Gets or sets the lab sample collection identifier.
/// </summary>
/// <value>
/// The lab sample collection identifier.
/// </value>
[Key, Identity]
public int LabSampleCollectionId { get; set; }
/// <summary>
/// Creates new labbookingdetailid.
/// </summary>
/// <value>
/// The new lab booking detail identifier.
/// </value>
public int NewLabBookingDetailId { get; set; }
/// <summary>
/// Gets or sets the sample collected by.
/// </summary>
/// <value>
/// The sample collected by.
/// </value>
public int? SampleCollectedBy { get; set; }
/// <summary>
/// Gets or sets the barcode generated by.
/// </summary>
/// <value>
/// The barcode generated by.
/// </value>
public int? BarcodeGeneratedBy { get; set; }
/// <summary>
/// Gets or sets the is barcode generated.
/// </summary>
/// <value>
/// The is barcode generated.
/// </value>
public bool? IsBarcodeGenerated { get; set; }
/// <summary>
/// Gets or sets the collection date.
/// </summary>
/// <value>
/// The collection date.
/// </value>
public DateTime? CollectionDate { get; set; }
/// <summary>
/// Gets or sets the barcode date.
/// </summary>
/// <value>
/// The barcode date.
/// </value>
public DateTime? BarcodeDate { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the consent form URL.
/// </summary>
/// <value>
/// The consent form URL.
/// </value>
public string ConsentFormUrl { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int? UploadedBy { get; set; }
/// <summary>
/// Gets or sets the uploaded date.
/// </summary>
/// <value>
/// The uploaded date.
/// </value>
public DateTime? UploadedDate { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.Labs
{
/// <summary>
/// The lab sample collection detail.
/// </summary>
public class LabSampleCollectionDetail
{
/// <summary>
/// Gets or sets the lab sample collection detail identifier.
/// </summary>
/// <value>
/// The lab sample collection detail identifier.
/// </value>
[Key, Identity]
public int LabSampleCollectionDetailId { get; set; }
/// <summary>
/// Gets or sets the lab sample collection identifier.
/// </summary>
/// <value>
/// The lab sample collection identifier.
/// </value>
public int LabSampleCollectionId { get; set; }
/// <summary>
/// Gets or sets the sub sample collected by.
/// </summary>
/// <value>
/// The sub sample collected by.
/// </value>
public int? SubSampleCollectedBy { get; set; }
/// <summary>
/// Gets or sets the sub collection date.
/// </summary>
/// <value>
/// The sub collection date.
/// </value>
public DateTime? SubCollectionDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [sub is barcode generated].
/// </summary>
/// <value>
/// <c>true</c> if [sub is barcode generated]; otherwise, <c>false</c>.
/// </value>
public bool SubIsBarcodeGenerated { get; set; }
/// <summary>
/// Gets or sets the sub barcode generated by.
/// </summary>
/// <value>
/// The sub barcode generated by.
/// </value>
public int? SubBarcodeGeneratedBy { get; set; }
/// <summary>
/// Gets or sets the sub barcode date.
/// </summary>
/// <value>
/// The sub barcode date.
/// </value>
public DateTime? SubBarcodeDate { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the name of the sample.
/// </summary>
/// <value>
/// The name of the sample.
/// </value>
public string SampleName { get; set; }
/// <summary>
/// Gets or sets the lab booking status identifier.
/// </summary>
/// <value>
/// The lab booking status identifier.
/// </value>
public int? LabBookingStatusId { get; set; }
/// <summary>
/// Gets or sets the comment.
/// </summary>
/// <value>
/// The comment.
/// </value>
public string Comment { get; set; }
/// <summary>
/// Gets or sets the uncollect comment.
/// </summary>
/// <value>
/// The uncollect comment.
/// </value>
public string UncollectComment { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The lab sample type.
/// </summary>
public class LabSampleType
{
/// <summary>
/// Gets or sets the lab sample type identifier.
/// </summary>
/// <value>
/// The lab sample type identifier.
/// </value>
[Key,Identity]
public int LabSampleTypeId { get; set; }
/// <summary>
/// Gets or sets the name of the type.
/// </summary>
/// <value>
/// The name of the type.
/// </value>
public string TypeName { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The lab template detail.
/// </summary>
public class LabTemplateDetail
{
/// <summary>
/// Gets or sets the lab template detail identifier.
/// </summary>
/// <value>
/// The lab template detail identifier.
/// </value>
[Key, Identity]
public int LabTemplateDetailId { get; set; }
/// <summary>
/// Gets or sets the lab template header identifier.
/// </summary>
/// <value>
/// The lab template header identifier.
/// </value>
public int LabTemplateHeaderId { get; set; }
/// <summary>
/// Gets or sets the lab component header identifier.
/// </summary>
/// <value>
/// The lab component header identifier.
/// </value>
public int? LabComponentHeaderId { get; set; }
/// <summary>
/// Gets or sets the lab parameter header identifier.
/// </summary>
/// <value>
/// The lab parameter header identifier.
/// </value>
public int? LabParameterHeaderId { get; set; }
/// <summary>
/// Gets or sets the priority.
/// </summary>
/// <value>
/// The priority.
/// </value>
public int Priority { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The lab template header.
/// </summary>
public class LabTemplateHeader
{
/// <summary>
/// Gets or sets the lab template header identifier.
/// </summary>
/// <value>
/// The lab template header identifier.
/// </value>
[Key,Identity]
public int LabTemplateHeaderId { get; set; }
/// <summary>
/// Gets or sets the name of the template.
/// </summary>
/// <value>
/// The name of the template.
/// </value>
public string TemplateName { get; set; }
/// <summary>
/// Gets or sets the template identifier.
/// </summary>
/// <value>
/// The template identifier.
/// </value>
public string TemplateId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="LabTemplateHeader"/> 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>
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 a value indicating whether this instance is method.
/// </summary>
/// <value>
/// <c>true</c> if this instance is method; otherwise, <c>false</c>.
/// </value>
public bool IsMethod { get; set; }
/// <summary>
/// Gets or sets the method text.
/// </summary>
/// <value>
/// The method text.
/// </value>
public string MethodText { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is interpretation.
/// </summary>
/// <value>
/// <c>true</c> if this instance is interpretation; otherwise, <c>false</c>.
/// </value>
public bool IsInterpretation { get; set; }
/// <summary>
/// Gets or sets the interpretation text.
/// </summary>
/// <value>
/// The interpretation text.
/// </value>
public string InterpretationText { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The lab template observed value.
/// </summary>
public class LabTemplateObservedValue
{
/// <summary>
/// Gets or sets the lab template observed value identifier.
/// </summary>
/// <value>
/// The lab template observed value identifier.
/// </value>
[Key, Identity]
public long LabTemplateObservedValueId { get; set; }
/// <summary>
/// Creates new labbookingdetailid.
/// </summary>
/// <value>
/// The new lab booking detail identifier.
/// </value>
public int NewLabBookingDetailId { get; set; }
/// <summary>
/// Gets or sets the lab main detail identifier.
/// </summary>
/// <value>
/// The lab main detail identifier.
/// </value>
public int LabMainDetailId { get; set; }
/// <summary>
/// Gets or sets the lab template header identifier.
/// </summary>
/// <value>
/// The lab template header identifier.
/// </value>
public int LabTemplateHeaderId { get; set; }
/// <summary>
/// Gets or sets the method text.
/// </summary>
/// <value>
/// The method text.
/// </value>
public string MethodText { get; set; }
/// <summary>
/// Gets or sets the interpretation text.
/// </summary>
/// <value>
/// The interpretation text.
/// </value>
public string InterpretationText { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="LabTemplateObservedValue"/> 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>
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The lab transfer detail.
/// </summary>
public class LabTransferDetail
{
/// <summary>
/// Gets or sets the lab transfer detail identifier.
/// </summary>
/// <value>
/// The lab transfer detail identifier.
/// </value>
[Key, Identity]
public int LabTransferDetailId { get; set; }
/// <summary>
/// Gets or sets the lab transfer header identifier.
/// </summary>
/// <value>
/// The lab transfer header identifier.
/// </value>
public int LabTransferHeaderId { get; set; }
/// <summary>
/// Creates new labbookingdetailid.
/// </summary>
/// <value>
/// The new lab booking detail identifier.
/// </value>
public int NewLabBookingDetailId { get; set; }
/// <summary>
/// Gets or sets the lab sample collection detail identifier.
/// </summary>
/// <value>
/// The lab sample collection detail identifier.
/// </value>
public int? LabSampleCollectionDetailId { get;set;}
/// <summary>
/// Gets or sets the received by.
/// </summary>
/// <value>
/// The received by.
/// </value>
public int? ReceivedBy { get; set; }
/// <summary>
/// Gets or sets the received date.
/// </summary>
/// <value>
/// The received date.
/// </value>
public DateTime? ReceivedDate { get; set; }
/// <summary>
/// Gets or sets the department received by.
/// </summary>
/// <value>
/// The department received by.
/// </value>
public int? DepartmentReceivedBy { get; set; }
/// <summary>
/// Gets or sets the department received date.
/// </summary>
/// <value>
/// The department received date.
/// </value>
public DateTime? DepartmentReceivedDate { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The lab transfer header.
/// </summary>
public class LabTransferHeader
{
/// <summary>
/// Gets or sets the lab transfer header identifier.
/// </summary>
/// <value>
/// The lab transfer header identifier.
/// </value>
[Key,Identity]
public int LabTransferHeaderId { get; set; }
/// <summary>
/// Gets or sets the transfer number.
/// </summary>
/// <value>
/// The transfer number.
/// </value>
public string TransferNumber { get; set; }
/// <summary>
/// Gets or sets the transfered by.
/// </summary>
/// <value>
/// The transfered by.
/// </value>
public int TransferedBy { get; set; }
/// <summary>
/// Gets or sets the transfered date.
/// </summary>
/// <value>
/// The transfered date.
/// </value>
public DateTime TransferedDate { get; set; }
/// <summary>
/// Gets or sets the transfered location identifier.
/// </summary>
/// <value>
/// The transfered location identifier.
/// </value>
public int TransferedLocationId { get; set; }
/// <summary>
/// Gets or sets the received by.
/// </summary>
/// <value>
/// The received by.
/// </value>
public int? ReceivedBy { get; set; }
/// <summary>
/// Gets or sets the received date.
/// </summary>
/// <value>
/// The received date.
/// </value>
public DateTime? ReceivedDate { get; set; }
/// <summary>
/// Gets or sets the transferred temperature.
/// </summary>
/// <value>
/// The transferred temperature.
/// </value>
public int? TransferredTemperature { get; set; }
/// <summary>
/// Gets or sets the received temperature.
/// </summary>
/// <value>
/// The received temperature.
/// </value>
public int? ReceivedTemperature { get; set; }
/// <summary>
/// Gets or sets the transferred temperature comments.
/// </summary>
/// <value>
/// The transferred temperature comments.
/// </value>
public string TransferredTemperatureComments { get; set; }
/// <summary>
/// Gets or sets the received temperature comments.
/// </summary>
/// <value>
/// The received temperature comments.
/// </value>
public string ReceivedTemperatureComments { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities.Labs
{
public class LabVacutainer
{
[Key, Identity]
public int LabVacutainerId { get; set; }
public string LabVacutainerName { 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.Labs
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
public class Machine
{
/// <summary>
/// Gets or sets the MachineId
/// </summary>
/// <value>
/// The Machine Identifier.
/// </value>
[Key, Identity]
public int MachineId { get; set; }
/// <summary>
/// Gets or sets the machine code
/// </summary>
/// <value>
/// The Machine Code
/// </value>
public string MachineCode { get; set; }
/// <summary>
/// Gets or sets the machine Name
/// </summary>
/// <value>
/// The name of the machine
/// </value>
public string MachineName { get; set; }
/// <summary>
/// Gets or sets the Created By
/// <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
/// 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 status.
/// </summary>
/// <value>
/// The status.
/// </value>
public bool Active { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The new lab booking detail.
/// </summary>
public class NewLabBookingDetail
{
/// <summary>
/// Creates new labbookingdetailid.
/// </summary>
/// <value>
/// The new lab booking detail identifier.
/// </value>
[Key, Identity]
public int NewLabBookingDetailId { get; set; }
/// <summary>
/// Creates new labbookingheaderid.
/// </summary>
/// <value>
/// The new lab booking header identifier.
/// </value>
public int NewLabBookingHeaderId { get; set; }
/// <summary>
/// Gets or sets the lab main detail identifier.
/// </summary>
/// <value>
/// The lab main detail identifier.
/// </value>
public int LabMainDetailId { get; set; }
/// <summary>
/// Gets or sets the charge category identifier.
/// </summary>
/// <value>
/// The charge category identifier.
/// </value>
public int ChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the lab booking status identifier.
/// </summary>
/// <value>
/// The lab booking status identifier.
/// </value>
public int LabBookingStatusId { get; set; }
/// <summary>
/// Gets or sets the discount percentage.
/// </summary>
/// <value>
/// The discount percentage.
/// </value>
public double? DiscountPercentage { get; set; }
/// <summary>
/// Gets or sets the discount amount.
/// </summary>
/// <value>
/// The discount amount.
/// </value>
public double? DiscountAmount { get; set; }
/// <summary>
/// Gets or sets the total amount.
/// </summary>
/// <value>
/// The total amount.
/// </value>
public double TotalAmount { get; set; }
/// <summary>
/// Gets or sets the net amount.
/// </summary>
/// <value>
/// The net amount.
/// </value>
public double NetAmount { get; set; }
/// <summary>
/// Gets or sets the lab service identifier.
/// </summary>
/// <value>
/// The lab service identifier.
/// </value>
public int? LabServicesId { get; set; }
/// <summary>
/// Gets or sets the report URL.
/// </summary>
/// <value>
/// The report URL.
/// </value>
public string ReportUrl { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [external lab].
/// </summary>
/// <value>
/// <c>true</c> if [external lab]; otherwise, <c>false</c>.
/// </value>
public bool ExternalLab { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int? UploadedBy { get; set; }
/// <summary>
/// Gets or sets the uploaded date.
/// </summary>
/// <value>
/// The uploaded date.
/// </value>
public DateTime? UploadedDate { get; set; }
/// <summary>
/// Gets or sets the comment.
/// </summary>
/// <value>
/// The comment.
/// </value>
public string Comment { get; set; }
/// <summary>
/// Gets or sets the hold by.
/// </summary>
/// <value>
/// The hold by.
/// </value>
public int? HoldBy { get; set; }
/// <summary>
/// Gets or sets the un hold by.
/// </summary>
/// <value>
/// The un hold by.
/// </value>
public int? UnHoldBy { get; set; }
/// <summary>
/// Gets or sets the hold comments.
/// </summary>
/// <value>
/// The hold comments.
/// </value>
public string HoldComments { get; set; }
/// <summary>
/// Gets or sets the un hold comments.
/// </summary>
/// <value>
/// The un hold comments.
/// </value>
public string UnHoldComments { get; set; }
/// <summary>
/// Gets or sets the emergency.
/// </summary>
/// <value>
/// The emergency.
/// </value>
public bool? Emergency { get; set; }
/// <summary>
/// Gets or sets the technician identifier.
/// </summary>
/// <value>
/// The technician identifier.
/// </value>
public int? TechnicianId { get; set; }
/// <summary>
/// Gets or sets the technician comment.
/// </summary>
/// <value>
/// The technician comment.
/// </value>
public string TechnicianComment { get; set; }
/// <summary>
/// Gets or sets the technician verification date.
/// </summary>
/// <value>
/// The technician verification date.
/// </value>
public DateTime? TechnicianVerificationDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [home sample].
/// </summary>
/// <value>
/// <c>true</c> if [home sample]; otherwise, <c>false</c>.
/// </value>
public bool? HomeSample { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The new lab booking header.
/// </summary>
public class NewLabBookingHeader
{
/// <summary>
/// Creates new labbookingheaderid.
/// </summary>
/// <value>
/// The new lab booking header identifier.
/// </value>
[Key, Identity]
public int NewLabBookingHeaderId { get; set; }
/// <summary>
/// Gets or sets the requisition number.
/// </summary>
/// <value>
/// The requisition number.
/// </value>
public string RequisitionNumber { get; set; }
/// <summary>
/// Gets or sets the type.
/// </summary>
/// <value>
/// The type.
/// </value>
public string Type { get; set; }
/// <summary>
/// Gets or sets the name of the patient.
/// </summary>
/// <value>
/// The name of the patient.
/// </value>
public string PatientName { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
/// <value>
/// The mobile.
/// </value>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the name of the doctor.
/// </summary>
/// <value>
/// The name of the doctor.
/// </value>
public string DoctorName { get; set; }
/// <summary>
/// Gets or sets the patient identifier.
/// </summary>
/// <value>
/// The patient identifier.
/// </value>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the doctor identifier.
/// </summary>
/// <value>
/// The doctor identifier.
/// </value>
public int? DoctorId { get; set; }
/// <summary>
/// Gets or sets the employee identifier.
/// </summary>
/// <value>
/// The employee identifier.
/// </value>
public int? EmployeeId { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the overall discount percentage.
/// </summary>
/// <value>
/// The overall discount percentage.
/// </value>
public double? OverallDiscountPercentage { get; set; }
/// <summary>
/// Gets or sets the overall total amount.
/// </summary>
/// <value>
/// The overall total amount.
/// </value>
public double OverallTotalAmount { get; set; }
/// <summary>
/// Gets or sets the overall discount.
/// </summary>
/// <value>
/// The overall discount.
/// </value>
public double? OverallDiscount { get; set; }
/// <summary>
/// Gets or sets the overall net amount.
/// </summary>
/// <value>
/// The overall net amount.
/// </value>
public double OverallNetAmount { 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 number.
/// </summary>
/// <value>
/// The payment number.
/// </value>
public string PaymentNumber { 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 a value indicating whether this <see cref="NewLabBookingHeader"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { 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 is salucro bill.
/// </summary>
public bool IsSalucroBill { 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 payment Number.
/// </summary>
public char? PaymentType { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
public class NewLabCancelBookingDetail
{
[Key,Identity]
public int NewLabCancelBookingDetailId { get; set; }
public int NewLabCancelBookingHeaderId { get; set; }
public int NewLabBookingDetailId { get; set; }
public double ReturnAmount { get; set; }
}
}
namespace Hims.Domain.Entities.Labs
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
public class NewLabCancelBookingHeader
{
/// <summary>
/// Creates new lab cancel bookingheaderid.
/// </summary>
/// <value>
/// The new lab booking header identifier.
/// </value>
[Key, Identity]
public int NewLabCancelBookingHeaderId { get; set; }
public int NewLabBookingHeaderId { get; set; }
/// <summary>
/// Gets or sets the total return amount.
/// </summary>
/// <value>
/// The total return amount.
/// </value>
public double TotalReturnAmount { get; set; }
public int CreatedBy { get; set; }
public DateTime CreatedDate { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.PediatricGraph
{
/// <summary>
/// The pediatric age wise data.
/// </summary>
public class PediatricAgeWiseData
{
/// <summary>
/// Gets or sets the pediatric age wise data identifier.
/// </summary>
/// <value>
/// The pediatric age wise data identifier.
/// </value>
[Key,Identity]
public int PediatricAgeWiseDataId { get; set; }
/// <summary>
/// Gets or sets the pediatric chart authority identifier.
/// </summary>
/// <value>
/// The pediatric chart authority identifier.
/// </value>
public int PediatricChartAuthorityId { get; set; }
/// <summary>
/// Gets or sets the pediatric chart type identifier.
/// </summary>
/// <value>
/// The pediatric chart type identifier.
/// </value>
public int PediatricChartTypeId { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
/// <value>
/// The gender.
/// </value>
public string Gender { get; set; }
/// <summary>
/// Gets or sets the age in month.
/// </summary>
/// <value>
/// The age in month.
/// </value>
public int AgeInMonth { get; set; }
/// <summary>
/// Gets or sets the sd.
/// </summary>
/// <value>
/// The sd.
/// </value>
public double? SD { get; set; }
/// <summary>
/// Gets or sets the p1.
/// </summary>
/// <value>
/// The p1.
/// </value>
public double P1 { get; set; }
/// <summary>
/// Gets or sets the p3.
/// </summary>
/// <value>
/// The p3.
/// </value>
public double P3 { get; set; }
/// <summary>
/// Gets or sets the p5.
/// </summary>
/// <value>
/// The p5.
/// </value>
public double P5 { get; set; }
/// <summary>
/// Gets or sets the P15.
/// </summary>
/// <value>
/// The P15.
/// </value>
public double P15 { get; set; }
/// <summary>
/// Gets or sets the P25.
/// </summary>
/// <value>
/// The P25.
/// </value>
public double P25 { get; set; }
/// <summary>
/// Gets or sets the P50.
/// </summary>
/// <value>
/// The P50.
/// </value>
public double P50 { get; set; }
/// <summary>
/// Gets or sets the P75.
/// </summary>
/// <value>
/// The P75.
/// </value>
public double P75 { get; set; }
/// <summary>
/// Gets or sets the P85.
/// </summary>
/// <value>
/// The P85.
/// </value>
public double P85 { get; set; }
/// <summary>
/// Gets or sets the P95.
/// </summary>
/// <value>
/// The P95.
/// </value>
public double P95 { get; set; }
/// <summary>
/// Gets or sets the P97.
/// </summary>
/// <value>
/// The P97.
/// </value>
public double P97 { get; set; }
/// <summary>
/// Gets or sets the P99.
/// </summary>
/// <value>
/// The P99.
/// </value>
public double P99 { 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 a value indicating whether this <see cref="PediatricAgeWiseData"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.PediatricGraph
{
/// <summary>
/// The pediatric chart authority.
/// </summary>
public class PediatricChartAuthority
{
/// <summary>
/// Gets or sets the pediatric chart authority identifier.
/// </summary>
/// <value>
/// The pediatric chart authority identifier.
/// </value>
[Key,Identity]
public int PediatricChartAuthorityId { get; set; }
/// <summary>
/// Gets or sets the name of the authority.
/// </summary>
/// <value>
/// The name of the authority.
/// </value>
public string AuthorityName { 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 a value indicating whether this <see cref="PediatricChartAuthority"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.PediatricGraph
{
/// <summary>
/// The pediatric chart type.
/// </summary>
public class PediatricChartType
{
/// <summary>
/// Gets or sets the pediatric chart type identifier.
/// </summary>
/// <value>
/// The pediatric chart type identifier.
/// </value>
[Key,Identity]
public int PediatricChartTypeId { get; set; }
/// <summary>
/// Gets or sets the name of the type.
/// </summary>
/// <value>
/// The name of the type.
/// </value>
public string TypeName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="PediatricChartType"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
}
}
namespace Hims.Domain.Entities.Pharmacy
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The med frequency master.
/// </summary>
public class MedFrequencyMaster
{
/// <summary>
/// Gets or sets the med frequency master identifier.
/// </summary>
/// <value>
/// The med frequency master identifier.
/// </value>
[Key, Identity]
public int MedFrequencyMasterId { get; set; }
/// <summary>
/// Gets or sets the name of the frequency.
/// </summary>
/// <value>
/// The name of the frequency.
/// </value>
public string FrequencyName { get; set; }
/// <summary>
/// Gets or sets the frequency description.
/// </summary>
/// <value>
/// The frequency description.
/// </value>
public string FrequencyDescription { get; set; }
/// <summary>
/// Gets or sets the type of the freq.
/// </summary>
/// <value>
/// The type of the freq.
/// </value>
public string FreqType { get; set; }
/// <summary>
/// Gets or sets the calculation unit.
/// </summary>
/// <value>
/// The calculation unit.
/// </value>
public int CalculationUnit { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="MedFrequencyMaster"/> 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>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.Pharmacy
{
/// <summary>
/// The pharmacy department indent detail.
/// </summary>
public class PharmacyDepartmentIndentDetail
{
/// <summary>
/// Gets or sets the pharmacy department indent detail identifier.
/// </summary>
/// <value>
/// The pharmacy department indent detail identifier.
/// </value>
[Key,Identity]
public long PharmacyDepartmentIndentDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy department indent header identifier.
/// </summary>
/// <value>
/// The pharmacy department indent header identifier.
/// </value>
public long PharmacyDepartmentIndentHeaderId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product identifier.
/// </summary>
/// <value>
/// The pharmacy product identifier.
/// </value>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is replaced.
/// </summary>
/// <value>
/// <c>true</c> if this instance is replaced; otherwise, <c>false</c>.
/// </value>
public bool IsReplaced { get; set; }
/// <summary>
/// Gets or sets the requested quantity.
/// </summary>
/// <value>
/// The requested quantity.
/// </value>
public int RequestedQuantity { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.Pharmacy
{
/// <summary>
/// The pharmacy department indent header.
/// </summary>
public class PharmacyDepartmentIndentHeader
{
/// <summary>
/// Gets or sets the pharmacy department indent header identifier.
/// </summary>
/// <value>
/// The pharmacy department indent header identifier.
/// </value>
[Key,Identity]
public long PharmacyDepartmentIndentHeaderId { get; set; }
/// <summary>
/// Gets or sets the required date.
/// </summary>
/// <value>
/// The required date.
/// </value>
public DateTime RequiredDate { 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 a value indicating whether this <see cref="PharmacyDepartmentIndentHeader"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the pharmacy department identifier.
/// </summary>
/// <value>
/// The pharmacy department identifier.
/// </value>
public int? PharmacyDepartmentId { get; set; }
/// <summary>
/// Gets or sets the approved ware house identifier.
/// </summary>
/// <value>
/// The approved ware house identifier.
/// </value>
public int? ApprovedWareHouseId { get; set; }
/// <summary>
/// Gets or sets the approved retail store identifier.
/// </summary>
/// <value>
/// The approved retail store identifier.
/// </value>
public int? ApprovedRetailStoreId { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
/// <value>
/// The reason.
/// </value>
public string Reason { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.Pharmacy
{
/// <summary>
/// The pharmacy department issue detail.
/// </summary>
public class PharmacyDepartmentIssueDetail
{
/// <summary>
/// Gets or sets the pharmacy department issue detail identifier.
/// </summary>
/// <value>
/// The pharmacy department issue detail identifier.
/// </value>
[Key, Identity]
public long PharmacyDepartmentIssueDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy department issue header identifier.
/// </summary>
/// <value>
/// The pharmacy department issue header identifier.
/// </value>
public long PharmacyDepartmentIssueHeaderId { get; set; }
/// <summary>
/// Gets or sets the pharmacy department indent detail identifier.
/// </summary>
/// <value>
/// The pharmacy department indent detail identifier.
/// </value>
public long PharmacyDepartmentIndentDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product identifier.
/// </summary>
/// <value>
/// The pharmacy product identifier.
/// </value>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the pharmacy retail stock identifier.
/// </summary>
/// <value>
/// The pharmacy retail stock identifier.
/// </value>
public int PharmacyRetailStockId { get; set; }
/// <summary>
/// Gets or sets the approved quantity.
/// </summary>
/// <value>
/// The approved quantity.
/// </value>
public int ApprovedQuantity { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.Pharmacy
{
/// <summary>
/// The pharmacy department issue header.
/// </summary>
public class PharmacyDepartmentIssueHeader
{
/// <summary>
/// Gets or sets the pharmacy department issue header identifier.
/// </summary>
/// <value>
/// The pharmacy department issue header identifier.
/// </value>
[Key, Identity]
public long PharmacyDepartmentIssueHeaderId { get; set; }
/// <summary>
/// Gets or sets the pharmacy department indent header identifier.
/// </summary>
/// <value>
/// The pharmacy department indent header identifier.
/// </value>
public long PharmacyDepartmentIndentHeaderId { get; set; }
/// <summary>
/// Gets or sets the comment.
/// </summary>
/// <value>
/// The comment.
/// </value>
public string Comment { 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; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.Pharmacy
{
/// <summary>
/// The pharnacy inpatient return.
/// </summary>
public class PharmacyInPatientReturn
{
/// <summary>
/// Gets or sets the pharmacy in patient return identifier.
/// </summary>
/// <value>
/// The pharmacy in patient return identifier.
/// </value>
[Key,Identity]
public long PharmacyInPatientReturnId { get; set; }
/// <summary>
/// Gets or sets the pharmacy issue detail identifier.
/// </summary>
/// <value>
/// The pharmacy issue detail identifier.
/// </value>
public int PharmacyIssueDetailId { get; set; }
/// <summary>
/// Gets or sets the return quantity.
/// </summary>
/// <value>
/// The return quantity.
/// </value>
public int ReturnQuantity { 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 accepted by.
/// </summary>
/// <value>
/// The accepted by.
/// </value>
public int? AcceptedBy { get; set; }
/// <summary>
/// Gets or sets the accepted date.
/// </summary>
/// <value>
/// The accepted date.
/// </value>
public DateTime? AcceptedDate { get; set; }
}
}
namespace Hims.Domain.Entities.Pharmacy
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The pharmacy issued stock detail.
/// </summary>
public class PharmacyIssuedStockDetail
{
/// <summary>
/// Gets or sets the pharmacy issued stock detail identifier.
/// </summary>
/// <value>
/// The pharmacy issued stock detail identifier.
/// </value>
[Key,Identity]
public long PharmacyIssuedStockDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy issued stock header identifier.
/// </summary>
/// <value>
/// The pharmacy issued stock header identifier.
/// </value>
public long PharmacyIssuedStockHeaderId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product id.
/// </summary>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the tax id.
/// </summary>
public int TaxId { get; set; }
/// <summary>
/// Gets or sets the quantity in.
/// </summary>
public int QuantityIn { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
/// <value>
/// The batch number.
/// </value>
public string BatchNumber { get; set; }
/// <summary>
/// Gets or sets the expiry date.
/// </summary>
public DateTime? ExpiryDate { get; set; }
/// <summary>
/// Gets or sets the purchase rate.
/// </summary>
public double PurchaseRate { get; set; }
/// <summary>
/// Gets or sets the mrp.
/// </summary>
public double Mrp { get; set; }
/// <summary>
/// Gets or sets the pharmacy stock identifier.
/// </summary>
/// <value>
/// The pharmacy stock identifier.
/// </value>
public int PharmacyStockId { get; set; }
}
}
namespace Hims.Domain.Entities.Pharmacy
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The pharmacy issued stock header.
/// </summary>
public class PharmacyIssuedStockHeader
{
/// <summary>
/// Gets or sets the pharmacy issued stock header identifier.
/// </summary>
/// <value>
/// The pharmacy issued stock header identifier.
/// </value>
[Key, Identity]
public long PharmacyIssuedStockHeaderId { get; set; }
/// <summary>
/// Gets or sets the issued date.
/// </summary>
/// <value>
/// The issued date.
/// </value>
public DateTime IssuedDate { get; set; }
/// <summary>
/// Gets or sets the issued by.
/// </summary>
/// <value>
/// The issued by.
/// </value>
public int IssuedBy { get; set; }
/// <summary>
/// Gets or sets the issue header identifier.
/// </summary>
/// <value>
/// The issue header identifier.
/// </value>
public int IssueHeaderId { get; set; }
/// <summary>
/// Gets or sets the hand over to.
/// </summary>
/// <value>
/// The hand over to.
/// </value>
public int? HandOverTo { get; set; }
/// <summary>
/// Gets or sets the retail ware house link identifier.
/// </summary>
/// <value>
/// The retail ware house link identifier.
/// </value>
public int? RetailWareHouseLinkId { get; set; }
/// <summary>
/// Gets or sets the pharmacy department identifier.
/// </summary>
/// <value>
/// The pharmacy department identifier.
/// </value>
public int? PharmacyDepartmentId { get; set; }
/// <summary>
/// Gets or sets the received by.
/// </summary>
/// <value>
/// The received by.
/// </value>
public int? ReceivedBy { get; set; }
/// <summary>
/// Gets or sets the received date.
/// </summary>
/// <value>
/// The received date.
/// </value>
public DateTime? ReceivedDate { get; set; }
/// <summary>
/// Gets or sets the comment.
/// </summary>
/// <value>
/// The comment.
/// </value>
public string Comment { get; set; }
/// <summary>
/// Gets or sets the issue number.
/// </summary>
/// <value>
/// The issue number.
/// </value>
public string IssueNumber { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.Pharmacy
{
/// <summary>
/// The pharmacy product sub type.
/// </summary>
public class PharmacyProductSubType
{
/// <summary>
/// Gets or sets the pharmacy product sub type identifier.
/// </summary>
/// <value>
/// The pharmacy product sub type identifier.
/// </value>
[Key, Identity]
public int PharmacyProductSubTypeId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product type identifier.
/// </summary>
/// <value>
/// The pharmacy product type identifier.
/// </value>
public int PharmacyProductTypeId { get; set; }
/// <summary>
/// Gets or sets the name of the sub type.
/// </summary>
/// <value>
/// The name of the sub type.
/// </value>
public string SubTypeName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="PharmacyProductSubType"/> 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>
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; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.Pharmacy
{
/// <summary>
/// The pharmacy product type.
/// </summary>
public class PharmacyProductType
{
/// <summary>
/// Gets or sets the pharmacy product type identifier.
/// </summary>
/// <value>
/// The pharmacy product type identifier.
/// </value>
[Key, Identity]
public int PharmacyProductTypeId { get; set; }
/// <summary>
/// Gets or sets the name of the type.
/// </summary>
/// <value>
/// The name of the type.
/// </value>
public string TypeName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="PharmacyProductType"/> 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 general item.
/// </summary>
/// <value>
/// <c>true</c> if this instance is general item; otherwise, <c>false</c>.
/// </value>
public bool IsGeneralItem { 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; }
}
}
namespace Hims.Domain.Entities.ProviderMedication
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider medication group.
/// </summary>
public class ProviderMedicationGroup
{
/// <summary>
/// Gets or sets the provider medication group identifier.
/// </summary>
/// <value>
/// The provider medication group identifier.
/// </value>
[Key,Identity]
public int ProviderMedicationGroupId { get; set; }
/// <summary>
/// Gets or sets the name of the tag.
/// </summary>
/// <value>
/// The name of the tag.
/// </value>
public string TagName { 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 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; }
}
}
namespace Hims.Domain.Entities.ProviderMedication
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider medication map
/// </summary>
public class ProviderMedicationMap
{
/// <summary>
/// Gets or sets the provider medication map identifier.
/// </summary>
/// <value>
/// The provider medication map identifier.
/// </value>
[Key, Identity]
public int ProviderMedicationMapId { get; set; }
/// <summary>
/// Gets or sets the provider medication master identifier.
/// </summary>
/// <value>
/// The provider medication master identifier.
/// </value>
public int ProviderMedicationMasterId { get; set; }
/// <summary>
/// Gets or sets the provider identifier.
/// </summary>
/// <value>
/// The provider identifier.
/// </value>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ProviderMedicationMap"/> 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>
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; }
}
}
namespace Hims.Domain.Entities.ProviderMedication
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider medication master.
/// </summary>
public class ProviderMedicationMaster
{
/// <summary>
/// Gets or sets the provider medication master identifier.
/// </summary>
/// <value>
/// The provider medication master identifier.
/// </value>
[Key,Identity]
public int ProviderMedicationMasterId { get; set; }
/// <summary>
/// Gets or sets the provider medication group identifier.
/// </summary>
/// <value>
/// The provider medication group identifier.
/// </value>
public int ProviderMedicationGroupId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product identifier.
/// </summary>
/// <value>
/// The pharmacy product identifier.
/// </value>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
/// <value>
/// The duration.
/// </value>
public int Duration { get; set; }
/// <summary>
/// Gets or sets the dosage.
/// </summary>
/// <value>
/// The dosage.
/// </value>
public int Dosage { get; set; }
/// <summary>
/// Gets or sets the type of the duration.
/// </summary>
/// <value>
/// The type of the duration.
/// </value>
public string DurationType { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is morning.
/// </summary>
/// <value>
/// <c>true</c> if this instance is morning; otherwise, <c>false</c>.
/// </value>
public bool IsMorning { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is afternoon.
/// </summary>
/// <value>
/// <c>true</c> if this instance is afternoon; otherwise, <c>false</c>.
/// </value>
public bool IsAfternoon { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is night.
/// </summary>
/// <value>
/// <c>true</c> if this instance is night; otherwise, <c>false</c>.
/// </value>
public bool IsNight { get; set; }
/// <summary>
/// Gets or sets the morning dosage.
/// </summary>
/// <value>
/// The morning dosage.
/// </value>
public string MorningDosage { get; set; }
/// <summary>
/// Gets or sets the afternoon dosage.
/// </summary>
/// <value>
/// The afternoon dosage.
/// </value>
public string AfternoonDosage { get; set; }
/// <summary>
/// Gets or sets the night dosage.
/// </summary>
/// <value>
/// The night dosage.
/// </value>
public string NightDosage { get; set; }
/// <summary>
/// Gets or sets the instruction.
/// </summary>
/// <value>
/// The instruction.
/// </value>
public string Instruction { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class RoomCharge
{
/// <summary>
/// Gets or sets the room charge id.
/// </summary>
[Key, Identity]
public int RoomChargeId { get; set; }
/// <summary>
/// Gets or sets the charge category id.
/// </summary>
public int ChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public double Cost { 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 date.
/// </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; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities
{
/// <summary>
/// The SMS log.
/// </summary>
public class SMSLog
{
/// <summary>
/// Gets or sets the sms log id.
/// </summary>
[Key, Identity]
public int SMSLogId { get; set; }
/// <summary>
/// Gets or sets the response.
/// </summary>
public string Response { get; set; }
/// <summary>
/// Gets or sets the sent date.
/// </summary>
public DateTime SendedDate { get; set; }
/// <summary>
/// Gets or sets the receiver number.
/// </summary>
public string ReceiverNumber { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The sale return detail.
/// </summary>
public class SaleReturnDetail
{
/// <summary>
/// Gets or sets the sale return detail id.
/// </summary>
[Key, Identity]
public int SaleReturnDetailId { get; set; }
/// <summary>
/// Gets or sets the sale return header id.
/// </summary>
public int SaleReturnHeaderId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product id.
/// </summary>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the pharmacy retail stock id.
/// </summary>
public int PharmacyRetailStockId { get; set; }
/// <summary>
/// Gets or sets the quantity.
/// </summary>
public int Quantity { get; set; }
/// <summary>
/// Gets or sets the total.
/// </summary>
public double Total { get; set; }
/// <summary>
/// Gets or sets the tax percentage.
/// </summary>
public double TaxPercentage { get; set; }
/// <summary>
/// Gets or sets the tax amount.
/// </summary>
public double TaxAmount { get; set; }
/// <summary>
/// Gets or sets the discount percentage.
/// </summary>
public double? DiscountPercentage { get; set; }
/// <summary>
/// Gets or sets the discount amount.
/// </summary>
public double? DiscountAmount { get; set; }
/// <summary>
/// Gets or sets the net amount.
/// </summary>
public double NetAmount { get; set; }
/// <summary>
/// Gets or sets the pay type identifier.
/// </summary>
public int? PayTypeId { get; set; }
/// <summary>
/// Gets or sets the payment number.
/// </summary>
public string PaymentNumber { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The sale return header.
/// </summary>
public class SaleReturnHeader
{
/// <summary>
/// Gets or sets the sale return header id.
/// </summary>
[Key, Identity]
public int SaleReturnHeaderId { get; set; }
/// <summary>
/// Gets or sets the return date.
/// </summary>
public DateTime ReturnDate { get; set; }
/// <summary>
/// Gets or sets the bill type.
/// </summary>
public string BillType { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the pharmacy sale header id.
/// </summary>
public int PharmacySaleHeaderId { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string PatientName { get; set; }
/// <summary>
/// Gets or sets the admission id.
/// </summary>
public int? AdmissionId { get; set; }
/// <summary>
/// Gets or sets the overall total.
/// </summary>
public double OverallTotal { get; set; }
/// <summary>
/// Gets or sets the overall discount.
/// </summary>
public double? OverallDiscount { get; set; }
/// <summary>
/// Gets or sets the overall taxes.
/// </summary>
public double OverallTaxes { get; set; }
/// <summary>
/// Gets or sets the overall net amount.
/// </summary>
public double OverallNetAmount { 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; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The salutation Identifier
/// </summary>
#pragma warning disable S101 // Types should be named in PascalCase
public class Salutation
#pragma warning restore S101 // Types should be named in PascalCase
{
/// <summary>
/// Gets or sets the Id Salutation identifier.
/// </summary>
/// <value>
/// The Id Salutation identifier.
/// </value>
[Key, Identity]
public int SalutationId { get; set; }
/// <summary>
/// Gets or sets the name .
/// </summary>
/// <value>
/// The name .
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Salutation"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The Scan Appointment Notice.
/// </summary>
public class ScanAppointmentNotice
{
/// <summary>
/// Gets or sets Scan Appointment Notice Id.
/// </summary>
[Key, Identity]
public int ScanAppointmentNoticeId { get; set; }
/// <summary>
/// Gets or sets Location Id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets Machine Id.
/// </summary>
public int MachineId { get; set; }
/// <summary>
/// Gets or sets From Date.
/// </summary>
public DateTime FromDate { get; set; }
/// <summary>
/// Gets or sets To Date.
/// </summary>
public DateTime ToDate { get; set; }
/// <summary>
/// Gets or sets Description.
/// </summary>
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; }
/// <summary>
/// Gets or sets the availability.
/// </summary>
public string? Availability { get; set; }
/// <summary>
/// gets or sets the available days.
/// </summary>
public string? AvailableDays { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The Id Proof Identifier
/// </summary>
#pragma warning disable S101 // Types should be named in PascalCase
public class ScanClassification
#pragma warning restore S101 // Types should be named in PascalCase
{
/// <summary>
/// Gets or sets the scan classification id.
/// </summary>
/// <value>
/// The Id proof identifier.
/// </value>
[Key, Identity]
public int ScanClassificationId { get; set; }
/// <summary>
/// Gets or sets the name of the scan classification.
/// </summary>
/// <value>
/// The name of the scan classification.
/// </value>
public string ScanClassificationName { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ScanClassification"/> 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; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The patient document.
/// </summary>
public class ScanDocument
{
/// <summary>
/// Gets or sets the patient document id.
/// </summary>
[Key, Identity]
public int ScanDocumentId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
[IgnoreUpdate]
public int BookScanAppointmentId { get; set; }
/// <summary>
/// Gets or sets the uploaded by id.
/// </summary>
[IgnoreUpdate]
public int UploadedBy { get; set; }
/// <summary>
/// Gets or sets the document name.
/// </summary>
public string DocumentName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the content type.
/// </summary>
public string ContentType { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the size.
/// </summary>
public float Size { get; set; }
/// <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; }
/// <summary>
/// Gets or sets a value indicating whether IsRead.
/// </summary>
public bool IsRead { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The pharmacyLog.
/// </summary>
public class ScanLog
{
/// <summary>
/// Gets or sets the Scan Log id.
/// </summary>
[Key, Identity]
public int ScanLogId { get; set; }
/// <summary>
/// Gets or sets the Scan Log type.
/// </summary>
public int ScanLogTypeId { get; set; }
/// <summary>
/// Gets or sets the log date.
/// </summary>
[IgnoreUpdate]
public DateTime LogDate { get; set; }
/// <summary>
/// Gets or sets the app type.
/// </summary>
public short LogFrom { get; set; }
/// <summary>
/// Gets or sets the user id.
/// </summary>
public int? AccountId { get; set; }
/// <summary>
/// Gets or sets the pharmacyLog code.
/// </summary>
public string LogDescription { get; set; }
/// <summary>
/// Gets or sets the Location Id .
/// </summary>
public int? LocationId { get; set; }
}
}
\ No newline at end of file
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities
{
public class ScanMachineAvailability
{
/// <summary>
/// Gets or sets the scan machine availability id.
/// </summary>
[Key, Identity]
public int ScanMachineAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
public int ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the available days.
/// </summary>
public string AvailableDays { get; set; }
/// <summary>
/// Gets or sets the Availability.
/// </summary>
public string Availability { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the from date.
/// </summary>
public DateTime? FromDate { get; set; }
/// <summary>
/// Gets or sets the to date.
/// </summary>
public DateTime? ToDate { get; set; }
/// <summary>
/// Gets or sets the from time.
/// </summary>
public string FromTime { get; set; }
/// <summary>
/// Gets or sets the to time.
/// </summary>
public string ToTime { get; set; }
/// <summary>
/// Gets or sets the referecne break id.
/// </summary>
public int? ReferenceBreakId { get; set; }
/// <summary>
/// Gets or sets the reference block id.
/// </summary>
public int? ReferenceBlockId { get; set; }
/// <summary>
/// Gets or sets the scan week id.
/// </summary>
public int? ScanWeekId { get; set; }
/// <summary>
/// Gets or sets the available date.
/// </summary>
public string? AvailableDate { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The encounter.
/// </summary>
public class ScanMachineMaster
{
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
[Key, Identity]
public int ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the machine name.
/// </summary>
public string MachineName { get; set; }
/// <summary>
/// Gets or sets the display name.
/// </summary>
public string DisplayName { 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
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The encounter.
/// </summary>
public class ScanMachineTestMap
{
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
[Key, Identity]
public int ScanMachineTestMapId { get; set; }
/// <summary>
/// Gets or sets the machine id.
/// </summary>
public int ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
}
}
\ No newline at end of file
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
public class ScanService
{
[Key, Identity]
public int ScanServiceId { get; set; }
public int? ScanTestMasterId { get; set; }
public int? AdmissionId { get; set; }
public int? AppointmentId { get; set; }
public int Unit { get; set; }
public double? Cost { get; set; }
public bool IsMain { get; set; }
public int? ChargeCategoryId { get; set; }
public int? AdmissionPackageId { get; set; }
public int? PackageModuleDetailId { get; set; }
public int? UsedQuantity { get; set; }
public double? UsedCost { get; set; }
public string Notes { get; set; }
public bool Active { get; set; }
[IgnoreUpdate]
public int CreatedBy { get; set; }
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
public int? ModifiedBy { get; set; }
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The scan sub classification Identifier
/// </summary>
#pragma warning disable S101 // Types should be named in PascalCase
public class ScanSubClassification
#pragma warning restore S101 // Types should be named in PascalCase
{
/// <summary>
/// Gets or sets the scan sub classification id.
/// </summary>
/// <value>
/// The scan sub classification id identifier.
/// </value>
[Key, Identity]
public int ScanSubClassificationId { get; set; }
/// <summary>
/// Gets or sets the scan classification id.
/// </summary>
/// <value>
/// The scan classification id identifier.
/// </value>
public int ScanClassificationId { get; set; }
/// <summary>
/// Gets or sets the name of the scan classification.
/// </summary>
/// <value>
/// The name of the scan classification.
/// </value>
public string ScanSubClassificationName { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ScanClassification"/> 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; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The encounter.
/// </summary>
public class ScanTestMaster
{
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
[Key, Identity]
public int ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the scan test name.
/// </summary>
public string ScanTestName { get; set; }
/// <summary>
/// Gets or sets the scan test code.
/// </summary>
public string ScanTestCode { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public string Description { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public decimal 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 Scan Sub Classification Id.
/// </summary>
public int? ScanSubClassificationId { get; set; }
/// <summary>
/// Gets or sets the test sub category.
/// </summary>
public int? ScanClassificationId { get; set; }
/// <summary>
/// Gets or sets the module master identifier.
/// </summary>
/// <value>
/// The module master identifier.
/// </value>
[IgnoreUpdate]
public int ModulesMasterId { get; set; }
}
}
\ No newline at end of file
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The service.
/// </summary>
public class Service
{
/// <summary>
/// Gets or sets the service id.
/// </summary>
[Key, Identity]
public int ServiceId { get; set; }
/// <summary>
/// Gets or sets the service name.
/// </summary>
public string ServiceName { 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 serviceJson.
/// </summary>
public string ServiceJson { get; set; }
/// <summary>
/// Gets or sets the serviceIconId.
/// </summary>
public int? ServiceIconId { get; set; }
/// <summary>
/// Gets or sets the serviceIconId.
/// </summary>
public int? Priority { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
public class ServiceOrder
{
[Key, Identity]
public int ServiceOrderId { get; set; }
public int? AdmissionId { get; set; }
public int? AppointmentId { get; set; }
public int ChargeId { get; set; }
public int Unit { get; set; }
public double? Cost { get; set; }
public bool IsMain { get; set; }
public int? ChargeTypeId { get; set; }
public int? ChargeTypeMainId { get; set; }
public int? AdmissionPackageId { get; set; }
public int? PackageModuleDetailId { get; set; }
public int? UsedQuantity { get; set; }
public double? UsedCost { get; set; }
public string Notes { get; set; }
public bool Active { get; set; }
[IgnoreUpdate]
public int CreatedBy { get; set; }
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
public int? ModifiedBy { get; set; }
public DateTime? ModifiedDate { get; set; }
public string DiscountType { get; set; }
public double? DiscountPercentage { get; set; }
public double? DiscountAmount { get; set; }
public double? Discount { 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 Session
{
/// <summary>
/// Gets or sets the session identifier.
/// </summary>
/// <value>
/// The session identifier.
/// </value>
[Key, Identity]
public int SessionId { 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 date.
/// </summary>
/// <value>
/// The date.
/// </value>
public DateTime Date { get; set; }
/// <summary>
/// Gets or sets the start time.
/// </summary>
/// <value>
/// The start time.
/// </value>
public TimeSpan StartTime { get; set; }
/// <summary>
/// Gets or sets the end time.
/// </summary>
/// <value>
/// The end time.
/// </value>
public TimeSpan EndTime { get; set; }
/// <summary>
/// Gets or sets the availability count.
/// </summary>
/// <value>
/// The availability count.
/// </value>
public int AvailabilityCount { get; set; }
/// <summary>
/// Gets or sets the banner.
/// </summary>
/// <value>
/// The banner.
/// </value>
public string Banner { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the session type identifier.
/// </summary>
/// <value>
/// The session type identifier.
/// </value>
public int SessionTypeId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Session"/> 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>
[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 SessionTypeNodel.
/// </summary>
public class SessionType
{
/// <summary>
/// Gets or sets the session type identifier.
/// </summary>
/// <value>
/// The session type identifier.
/// </value>
[Key, Identity]
public int SessionTypeId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="SessionType"/> 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>
[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;
using System.ComponentModel.DataAnnotations.Schema;
/// <summary>
/// The settings
/// </summary>
public class Settings
{
/// <summary>
/// Gets or sets the dynamic template.
/// </summary>
/// <value>
/// The appointment type.
/// </value>
[Key, Identity]
public int SettingsId { get; set; }
/// <summary>
/// Gets or sets the type of the settings.
/// </summary>
/// <value>
/// The type of the setting(optional).
/// </value>
public string Type { get; set; }
/// <summary>
/// Gets or sets the name of the settings.
/// </summary>
/// <value>
/// The name of the setting.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the value of the settings.
/// </summary>
/// <value>
/// The value of the setting.
/// </value>
public string? Value { get; set; }
/// <summary>
/// Gets or sets the active.
/// </summary>
/// <value>
/// The active.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the image url name.
/// </summary>
public string? ImageUrl { get; set; }
/// <summary>
/// Gets or sets the Description.
/// </summary>
public string? Description { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The appointment.
/// </summary>
public class Shift
{
/// <summary>
/// Gets or sets the widget id.
/// </summary>
[Key, Identity]
public int ShiftId { get; set; }
/// <summary>
/// Gets or sets the widget name.
/// </summary>
public string Name { 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 active.
/// </summary>
public bool Active { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The appointment.
/// </summary>
public class ShiftSlot
{
/// <summary>
/// Gets or sets the slot id.
/// </summary>
[Key, Identity]
public int ShiftSlotId { 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.
/// </summary>
public bool Active { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The appointment.
/// </summary>
public class ShiftSlotMap
{
/// <summary>
/// Gets or sets the shift slot map id.
/// </summary>
[Key, Identity]
public int ShiftSlotMapId { get; set; }
/// <summary>
/// Gets or sets the shift id.
/// </summary>
public int ShiftId { get; set; }
/// <summary>
/// Gets or sets the shift slot id.
/// </summary>
public int ShiftSlotId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The Specialization.
/// </summary>
public class Specialization
{
/// <summary>
/// Gets or sets the Specialization id.
/// </summary>
[Key, Identity]
public int SpecializationId { get; set; }
/// <summary>
/// Gets or sets the SpecializationIcon id.
/// </summary>
public int? SpecializationIconId { get; set; }
/// <summary>
/// Gets or sets the Specialization name.
/// </summary>
public string SpecializationName { get; set; }
/// <summary>
/// Gets or sets the specialization description.
/// </summary>
public string SpecializationDescription { 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 priority.
/// </summary>
public int? Priority { get; set; }
/// <summary>
/// Gets or sets the encounter type id.
/// </summary>
public int? EncounterTypeId {get; set;}
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The supplier.
/// </summary>
public class Supplier
{
/// <summary>
/// Gets or sets the supplier id.
/// </summary>
[Key, Identity]
public int SupplierId { get; set; }
/// <summary>
/// Gets or sets the due days.
/// </summary>
/// <value>
/// The due days.
/// </value>
public int? DueDays { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { 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 the pin code.
/// </summary>
public string PinCode { get; set; }
/// <summary>
/// Gets or sets the city.
/// </summary>
public string City { get; set; }
/// <summary>
/// Gets or sets the supplier of.
/// </summary>
public string SupplierOf { get; set; }
/// <summary>
/// Gets or sets the address.
/// </summary>
public string Address { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets bank name.
/// </summary>
public string BankName { get; set; }
/// <summary>
/// Gets or sets the ifsc code.
/// </summary>
public string IfscCode { get; set; }
/// <summary>
/// Gets or sets the account numbet.
/// </summary>
public string AccountNumber { get; set; }
/// <summary>
/// Gets or sets the account holder name.
/// </summary>
public string AccountHolderName { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the user identifier.
/// </summary>
/// <value>
/// The user identifier.
/// </value>
public int? UserId { get; set; }
/// <summary>
/// Gets or sets the name of the contact person.
/// </summary>
/// <value>
/// The name of the contact person.
/// </value>
public string ContactPersonName { get; set; }
/// <summary>
/// Gets or sets the drug license.
/// </summary>
/// <value>
/// The drug license.
/// </value>
public string DrugLicense { get; set; }
/// <summary>
/// Gets or sets the GST no.
/// </summary>
/// <value>
/// The GST no.
/// </value>
public string GSTNo { get; set; }
/// <summary>
/// Gets or sets the pan.
/// </summary>
/// <value>
/// The pan.
/// </value>
public string Pan { get; set; }
/// <summary>
/// Gets or sets the deliver days.
/// </summary>
/// <value>
/// The deliver days.
/// </value>
public int? DeliverDays { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The supplier product
/// </summary>
public class SupplierProduct
{
/// <summary>
/// Gets or sets the supplier product id.
/// </summary>
[Key, Identity]
public int SupplierProductId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product id.
/// </summary>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the supplier id.
/// </summary>
public int SupplierId { get; set; }
/// <summary>
/// Gets or sets the purchase rate.
/// </summary>
public double? PurchaseRate { get; set; }
/// <summary>
/// Gets or sets the MRP.
/// </summary>
/// <value>
/// The MRP.
/// </value>
public double? Mrp { 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; }
}
}
namespace Hims.Domain.Entities
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The support category.
/// </summary>
public class SupportCategory
{
/// <summary>
/// Gets or sets the support category id.
/// </summary>
[Key, Identity]
public int SupportCategoryId { get; set; }
/// <summary>
/// Gets or sets the issue with.
/// </summary>
public string IssueWith { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the is show to existing.
/// </summary>
public bool? IsShowToExisting { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary> The chat.</summary>
public class Surgeons
{
/// <summary>
/// Gets or sets the discharge identifier.
/// </summary>
/// <value>
/// The discharge identifier.
/// </value>
[Key, Identity]
public int SurgeonsId { 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 admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the discharge identifier.
/// </summary>
/// <value>
/// The discharge identifier.
/// </value>
public int DischargeId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Surgeons"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The surgery.
/// </summary>
public class Surgery
{
/// <summary>
/// Gets or sets the surgery identifier.
/// </summary>
/// <value>
/// The surgery identifier.
/// </value>
[Key, Identity]
public int SurgeryId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Surgery"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the expected amount.
/// </summary>
/// <value>
/// The expected amount.
/// </value>
public double ExpectedAmount { 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 duration.
/// </summary>
public int Duration { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the module master identifier.
/// </summary>
/// <value>
/// The module master identifier.
/// </value>
[IgnoreUpdate]
public int ModulesMasterId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The surgery charge.
/// </summary>
public class SurgeryCharge
{
/// <summary>
/// Gets or sets the surgery charge identifier.
/// </summary>
/// <value>
/// The surgery charge identifier.
/// </value>
[Key, Identity]
public int SurgeryChargeId { get; set; }
/// <summary>
/// Gets or sets the surgery identifier.
/// </summary>
/// <value>
/// The surgery identifier.
/// </value>
public int SurgeryId { get; set; }
/// <summary>
/// Gets or sets the name of the charge.
/// </summary>
/// <value>
/// The name of the charge.
/// </value>
public string ChargeName { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double? Amount { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="SurgeryCharge"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The surgery kit detail.
/// </summary>
public class SurgeryKitDetail
{
/// <summary>
/// Gets or sets the surgery kit detail id.
/// </summary>
[Key, Identity]
public int SurgeryKitDetailId { get; set; }
/// <summary>
/// Gets or sets the surgery kit header id.
/// </summary>
public int SurgeryKitHeaderId { get; set; }
/// <summary>
/// Gets or sets the quantity.
/// </summary>
public int Quantity { get; set; }
/// <summary>
/// Gets or sets the pharmacy product id.
/// </summary>
public int PharmacyProductId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The surgery kit header.
/// </summary>
public class SurgeryKitHeader
{
/// <summary>
/// Gets or sets the surgery kit header id.
/// </summary>
[Key, Identity]
public int SurgeryKitHeaderId { get; set; }
/// <summary>
/// Gets or sets the kit name.
/// </summary>
public string KitName { 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; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
public class SurgeryService
{
[Key, Identity]
public int SurgeryServiceId { get; set; }
public int? SurgeryId { get; set; }
public int? AdmissionId { get; set; }
public int? AppointmentId { get; set; }
public int Unit { get; set; }
public double? Cost { get; set; }
public bool IsMain { get; set; }
public int? ChargeCategoryId { get; set; }
public int? AdmissionPackageId { get; set; }
public int? PackageModuleDetailId { get; set; }
public int? UsedQuantity { get; set; }
public double? UsedCost { get; set; }
public string Notes { get; set; }
public bool Active { get; set; }
[IgnoreUpdate]
public int CreatedBy { get; set; }
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
public int? ModifiedBy { get; set; }
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
public class TagDoctor
{
/// <summary>
/// Gets or sets the tag doctor identifier.
/// </summary>
/// <value>
/// The tag doctor identifier.
/// </value>
[Key, Identity]
public int TagDoctorId { get; set; }
/// <summary>
/// Gets or sets doctor.
/// </summary>
/// <value>
/// The name of doctor.
/// </value>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets designation
/// </summary>
/// <value>
/// the name of designation
/// </value>
public string Designation { get; set; }
/// <summary>
/// Gets or sets doctor unit master id
/// </summary>
/// <value>
/// the doctor unit master id
/// </value>
public int DoctorUnitMasterId { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
/// <summary>
/// The lookup.
/// </summary>
public class Tax
{
/// <summary>
/// Gets or sets the tax id.
/// </summary>
public int TaxId { get; set; }
/// <summary>
/// Gets or sets the app charges.
/// </summary>
public string? AppCharges { get; set; }
/// <summary>
/// Gets or sets the active status.
/// </summary>
public bool Active { 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 web telemedicine.
/// </summary>
public class TelemedicineCallHistory
{
/// <summary>
/// Gets or sets the web telemedicine id.
/// </summary>
[Key, Identity]
public int TelemedicineCallHistoryId { get; set; }
/// <summary>
/// Gets or sets the telemedicine history id.
/// </summary>
public int TelemedicineHistoryId { get; set; }
/// <summary>
/// Gets or sets the status (1 = "Call Initiated", 2 = Call In Progress, 3 = "Call Complete", 4 = "Call Cancelled" ).
/// </summary>
public int Status { get; set; }
/// <summary>
/// Gets or sets the status (1 = Video, 2 = Audio).
/// </summary>
public int CallType { 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 created by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the in progress.
/// </summary>
/// <value>
/// The in progress.
/// </value>
public bool? InProgress { 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 telemedicine domain.
/// </summary>
public class TelemedicineDomain
{
/// <summary>
/// Gets or sets the telemedicine domain id.
/// </summary>
[Key, Identity]
public int TelemedicineDomainId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether is authentication required.
/// </summary>
public bool IsAuthenticationRequired { get; set; }
/// <summary>
/// Gets or sets a value indicating whether is active.
/// </summary>
public bool IsActive { get; set; }
/// <summary>
/// Gets or sets the domain.
/// </summary>
public string? Domain { get; set; }
/// <summary>
/// Gets or sets the date.
/// </summary>
public DateTime Date { get; set; }
/// <summary>
/// Gets or sets the account id.
/// </summary>
public int AccountId { get; set; }
}
}
\ No newline at end of file
#nullable enable
namespace Hims.Domain.Entities
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The web telemedicine.
/// </summary>
public class TelemedicineHistory
{
/// <summary>
/// Gets or sets the web telemedicine id.
/// </summary>
[Key, Identity]
public int TelemedicineHistoryId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
public int AppointmentId { get; set; }
}
}
\ No newline at end of file
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The auditLog.
/// </summary>
public class TelemedicineTemplate
{
/// <summary>
/// Gets or sets the auditLog id.
/// </summary>
[Key, Identity]
public int TelemedicineTemplateId { get; set; }
/// <summary>
/// Gets or sets the Log type.
/// </summary>
public string Name { get; set; }
}
}
\ No newline at end of file
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// TelemedicineTemplateHistory
/// </summary>
public class TelemedicineTemplateHistory
{
/// <summary>
/// Gets or sets the telemedicine template history identifier.
/// </summary>
/// <value>
/// The telemedicine template history identifier.
/// </value>
[Key, Identity]
public int TelemedicineTemplateHistoryId { get; set; }
/// <summary>
/// Gets or sets the telemedicine template identifier.
/// </summary>
/// <value>
/// The telemedicine template identifier.
/// </value>
public int TelemedicineTemplateId { get; set; }
/// <summary>
/// Gets or sets the telemedicine call history identifier.
/// </summary>
/// <value>
/// The telemedicine call history identifier.
/// </value>
public int TelemedicineCallHistoryId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="TelemedicineTemplateHistory"/> is status.
/// </summary>
/// <value>
/// <c>true</c> if status; otherwise, <c>false</c>.
/// </value>
public bool Status { 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 created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
[IgnoreUpdate]
public int CreatedBy { 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; }
}
}
\ No newline at end of file
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The web telemedicine.
/// </summary>
public class TelemedicineUsersHistory
{
/// <summary>
/// Gets or sets the web telemedicine id.
/// </summary>
[Key, Identity]
public int TelemedicineUsersHistoryId { get; set; }
/// <summary>
/// Gets or sets the web telemedicine id.
/// </summary>
public int TelemedicineCallHistoryId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
public int AccountId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
public int CallerId { get; set; }
/// <summary>
/// Gets or sets the count.
/// </summary>
public int Status { get; set; }
/// <summary>
/// Gets or sets the date.
/// </summary>
public DateTime? Date { get; set; }
/// <summary>
/// Gets or sets the in progress.
/// </summary>
/// <value>
/// The in progress.
/// </value>
public bool? InProgress { get; set; }
}
}
\ No newline at end of file
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
/// <summary>
/// The appointment types
/// </summary>
[Table("Template", Schema = "template")]
public class Template
{
/// <summary>
/// Gets or sets the dynamic template.
/// </summary>
/// <value>
/// The appointment type.
/// </value>
[Key, Identity]
public int TemplateId { get; set; }
/// <summary>
/// Gets or sets the name of the template.
/// </summary>
/// <value>
/// The name of the template.
/// </value>
public string TemplateName { get; set; }
/// <summary>
/// Gets or sets the active.
/// </summary>
/// <value>
/// The active.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The ticket.
/// </summary>
public class Ticket
{
/// <summary>
/// Gets or sets the ticket id.
/// </summary>
[Key, Identity]
public long TicketId { get; set; }
/// <summary>
/// Gets or sets the ticket number.
/// </summary>
[IgnoreUpdate]
public string TicketNumber { get; set; }
/// <summary>
/// Gets or sets the country id.
/// </summary>
public int CountryId { get; set; }
/// <summary>
/// Gets or sets the priority.
/// </summary>
public string Priority { get; set; }
/// <summary>
/// Gets or sets the support category id.
/// </summary>
public int SupportCategoryId { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public string Description { get; set; }
/// <summary>
/// Gets or sets the attachment.
/// </summary>
public string Attachment { get; set; }
/// <summary>
/// Gets or sets the support conversation.
/// </summary>
public string SupportConversation { get; set; }
/// <summary>
/// Gets or sets the from when.
/// </summary>
public string FromWhen { get; set; }
/// <summary>
/// Gets or sets the raised by.
/// </summary>
public int? RaisedBy { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public string Status { get; set; }
/// <summary>
/// Gets or sets the comments.
/// </summary>
public string Comments { get; set; }
/// <summary>
/// Gets or sets the due date.
/// </summary>
public DateTime? DueDate { get; set; }
/// <summary>
/// Gets or sets the due time.
/// </summary>
public TimeSpan? DueTime { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
[IgnoreUpdate]
public DateTime StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public DateTime? EndDate { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { 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 location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the device type.
/// </summary>
public string DeviceType { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The ticket assignee.
/// </summary>
public class TicketAssignee
{
/// <summary>
/// Gets or sets the ticket timeline id.
/// </summary>
[Key, Identity]
public long TicketAssigneeId { get; set; }
/// <summary>
/// Gets or sets the ticket id.
/// </summary>
public long TicketId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the account id.
/// </summary>
public int AccountId { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the assigned date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the assignee account id.
/// </summary>
public int? AssigneeAccountId { get; set; }
}
}
\ No newline at end of file
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The ticket timeline.
/// </summary>
public class TicketTimeline
{
/// <summary>
/// Gets or sets the ticket timeline id.
/// </summary>
[Key, Identity]
public long TicketTimelineId { get; set; }
/// <summary>
/// Gets or sets the ticket id.
/// </summary>
public long TicketId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the assigned to.
/// </summary>
public int AssignedTo { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public DateTime? EndDate { get; set; }
/// <summary>
/// Gets or sets the assigned date.
/// </summary>
[IgnoreUpdate]
public DateTime AssignedDate { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public string Status { get; set; }
/// <summary>
/// Gets or sets the priority.
/// </summary>
public string Priority { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
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 comments.
/// </summary>
public string Comments { get; set; }
/// <summary>
/// Gets or sets the comments.
/// </summary>
public int? AssignedToUser { 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 TicketType
{
/// <summary>
/// Gets or sets the ticket type identifier.
/// </summary>
/// <value>
/// The ticket type identifier.
/// </value>
[Key, Identity]
public int TicketTypeId { get; set; }
/// <summary>
/// Gets or sets the name of the ticket type.
/// </summary>
/// <value>
/// The name of the ticket type.
/// </value>
public string TicketTypeName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="TicketType"/> 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 modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { 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 date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
using Hims.Shared.Library.Enums;
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary> The chat.</summary>
public class Timeline
{
/// <summary>
/// Gets or sets the timeline id.
/// </summary>
[Key, Identity]
public int TimelineId { get; set; }
/// <summary>
/// Gets or sets the timeline action id.
/// </summary>
public TimelineAction TimelineActionId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
public int? AppointmentId { get; set; }
/// <summary>
/// Gets or sets the admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int? AdmissionId { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public string Description { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int? PatientId { 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; }
}
}
namespace Hims.Domain.Entities
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary> The chat.</summary>
public class TimelineData
{
/// <summary>
/// Gets or sets the timeline id.
/// </summary>
[Key, Identity]
public int TimelineDataId { get; set; }
/// <summary>
/// Gets or sets the timeline id.
/// </summary>
public int TimelineId { get; set; }
/// <summary>
/// Gets or sets the id.
/// </summary>
public int Id { get; set; }
/// <summary>
/// Gets or sets the data.
/// </summary>
public string Data { 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 Tpa
{
/// <summary>
/// Gets or sets the tpa identifier.
/// </summary>
/// <value>
/// The tpa identifier.
/// </value>
[Key, Identity]
public int TpaId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The visit type.
/// </summary>
public class UnitType
{
/// <summary>
/// Gets or sets the unit type id.
/// </summary>
[Key, Identity]
public int UnitTypeId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string? Name { get; set; }
/// <summary>
/// Gets or sets the min.
/// </summary>
public int? Min { get; set; }
/// <summary>
/// Gets or sets the max.
/// </summary>
public int? Max { 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 User.
/// </summary>
public class User
{
/// <summary>
/// Gets or sets the User id.
/// </summary>
[Key, Identity]
public int UserId { get; set; }
/// <summary>
/// Gets or sets the role id.
/// </summary>
public int RoleId { get; set; }
/// <summary>
/// Gets or sets the provider location id.
/// </summary>
public int? ProviderLocationId { 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 email.
/// </summary>
public string Email { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string Mobile { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the country id.
/// </summary>
public int CountryId { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public char? Gender { get; set; }
/// <summary>
/// Gets or sets the date of birth.
/// </summary>
public DateTime? DateOfBirth { 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 guid.
/// </summary>
[IgnoreUpdate]
public Guid Guid { 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 address line.
/// </summary>
/// <value>
/// The address line.
/// </value>
public string? AddressLine { get; set; }
/// <summary>
/// Gets or sets the empoloyee code.
/// </summary>
/// <value>
/// The empoloyee code.
/// </value>
public string? EmployeeCode { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The user excel history.
/// </summary>
public class UserExcelHistory
{
/// <summary>
/// Gets or sets the excel upload history id.
/// </summary>
[Key, Identity]
public int UserExcelHistoryId { get; set; }
/// <summary>
/// Gets or sets the uploaded by.
/// </summary>
public int UploadedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the sheet name.
/// </summary>
public string SheetName { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the added users.
/// </summary>
public string AddedUsers { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.Vaccine
{
/// <summary>
/// The immunization history.
/// </summary>
public class ImmunizationHistory
{
/// <summary>
/// Gets or sets the immunization history identifier.
/// </summary>
/// <value>
/// The immunization history identifier.
/// </value>
[Key, Identity]
public int ImmunizationHistoryId { get; set; }
/// <summary>
/// Gets or sets the patient identifier.
/// </summary>
/// <value>
/// The patient identifier.
/// </value>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product identifier.
/// </summary>
/// <value>
/// The pharmacy product identifier.
/// </value>
public int? PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the vaccine master identifier.
/// </summary>
/// <value>
/// The vaccine master identifier.
/// </value>
public int VaccineMasterId { get; set; }
/// <summary>
/// Gets or sets the name of the product.
/// </summary>
/// <value>
/// The name of the product.
/// </value>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the bill number.
/// </summary>
/// <value>
/// The bill number.
/// </value>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
/// <value>
/// The batch number.
/// </value>
public string BatchNumber { get; set; }
/// <summary>
/// Gets or sets the expiry date.
/// </summary>
/// <value>
/// The expiry date.
/// </value>
public DateTime? ExpiryDate { 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 status.
/// </summary>
/// <value>
/// The status.
/// </value>
public string Status { get; set; }
/// <summary>
/// Gets or sets the vaccine given by.
/// </summary>
/// <value>
/// The vaccine given by.
/// </value>
public int? VaccineGivenBy { get; set; }
/// <summary>
/// Gets or sets the vaccine given date.
/// </summary>
/// <value>
/// The vaccine given date.
/// </value>
public DateTime? VaccineGivenDate { get; set; }
}
}
namespace Hims.Domain.Entities.Vaccine
{
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The vaccine dependency.
/// </summary>
public class VaccineDependency
{
/// <summary>
/// Gets or sets the vaccine dependency identifier.
/// </summary>
/// <value>
/// The vaccine dependency identifier.
/// </value>
[Key, Identity]
public int VaccineDependencyId { get; set; }
/// <summary>
/// Gets or sets the vaccine master identifier.
/// </summary>
/// <value>
/// The vaccine master identifier.
/// </value>
public int VaccineMasterId { get; set; }
/// <summary>
/// Gets or sets the dependent on.
/// </summary>
/// <value>
/// The dependent on.
/// </value>
public int DependentOn { get; set; }
}
}
namespace Hims.Domain.Entities.Vaccine
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The vaccine group.
/// </summary>
public class VaccineGroup
{
/// <summary>
/// Gets or sets the vaccine group identifier.
/// </summary>
/// <value>
/// The vaccine group identifier.
/// </value>
[Key, Identity]
public int VaccineGroupId { get; set; }
/// <summary>
/// Gets or sets the name of the vaccine group.
/// </summary>
/// <value>
/// The name of the vaccine group.
/// </value>
public string VaccineGroupName { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
/// <value>
/// The description.
/// </value>
public string Description { 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; }
}
}
namespace Hims.Domain.Entities.Vaccine
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The vaccine master.
/// </summary>
public class VaccineMaster
{
/// <summary>
/// Gets or sets the vaccine master identifier.
/// </summary>
/// <value>
/// The vaccine master identifier.
/// </value>
[Key,Identity]
public int VaccineMasterId { get; set; }
/// <summary>
/// Gets or sets the vaccine group identifier.
/// </summary>
/// <value>
/// The vaccine group identifier.
/// </value>
public int VaccineGroupId { get; set; }
/// <summary>
/// Gets or sets the name of the vaccine.
/// </summary>
/// <value>
/// The name of the vaccine.
/// </value>
public string VaccineName { get; set; }
/// <summary>
/// Gets or sets the display name.
/// </summary>
/// <value>
/// The display name.
/// </value>
public string DisplayName { get; set; }
/// <summary>
/// Gets or sets the vaccine instruction.
/// </summary>
/// <value>
/// The vaccine instruction.
/// </value>
public string VaccineInstruction { get; set; }
/// <summary>
/// Gets or sets the order.
/// </summary>
/// <value>
/// The order.
/// </value>
public int Order { get; set; }
/// <summary>
/// Gets or sets the vaaccine type identifier.
/// </summary>
/// <value>
/// The vaaccine type identifier.
/// </value>
public int VaccineTypeId { get; set; }
/// <summary>
/// Gets or sets the allowed days.
/// </summary>
/// <value>
/// The allowed days.
/// </value>
public double AllowedDays { get; set; }
/// <summary>
/// Gets or sets the type of the allowed.
/// </summary>
/// <value>
/// The type of the allowed.
/// </value>
public string AllowedType { get; set; }
/// <summary>
/// Gets or sets the exclusion days.
/// </summary>
/// <value>
/// The exclusion days.
/// </value>
public string ExclusionDays { get; set; }
/// <summary>
/// Gets or sets the allowed laps days.
/// </summary>
/// <value>
/// The allowed laps days.
/// </value>
public int? AllowedLapsDays { 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 a value indicating whether this <see cref="VaccineMaster"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the vaccine age group identifier.
/// </summary>
/// <value>
/// The vaccine age group identifier.
/// </value>
public int VaccineAgeGroupId { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.Vaccine
{
public class VaccinePharmacyLinkDetail
{
/// <summary>
/// Gets or sets the vaccine pharmacy link detail identifier.
/// </summary>
/// <value>
/// The vaccine pharmacy link detail identifier.
/// </value>
[Key, Identity]
public int VaccinePharmacyLinkDetailId { get; set; }
/// <summary>
/// Gets or sets the vaccine pharmacy link header identifier.
/// </summary>
/// <value>
/// The vaccine pharmacy link header identifier.
/// </value>
public int VaccinePharmacyLinkHeaderId { get; set; }
/// <summary>
/// Gets or sets the vaccine master identifier.
/// </summary>
/// <value>
/// The vaccine master identifier.
/// </value>
public int VaccineMasterId { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities.Vaccine
{
/// <summary>
/// The vaccine pharmacy link header.
/// </summary>
public class VaccinePharmacyLinkHeader
{
/// <summary>
/// Gets or sets the vaccine pharmacy link header identifier.
/// </summary>
/// <value>
/// The vaccine pharmacy link header identifier.
/// </value>
[Key,Identity]
public int VaccinePharmacyLinkHeaderId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product identifier.
/// </summary>
/// <value>
/// The pharmacy product identifier.
/// </value>
public int PharmacyProductId { 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; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The video call history.
/// </summary>
public class VideoCallHistory
{
/// <summary>
/// Gets or sets the video call history id.
/// </summary>
[Key, Identity]
public int VideoCallHistoryId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets the doctor device details id.
/// </summary>
public int DoctorDeviceDetailsId { get; set; }
/// <summary>
/// Gets or sets the patient device details id.
/// </summary>
public int PatientDeviceDetailsId { get; set; }
}
}
\ No newline at end of file
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The visit type.
/// </summary>
public class VisitType
{
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
[Key, Identity]
public int VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the visitor name.
/// </summary>
public string VisitorName { get; set; }
/// <summary>
/// Gets or sets the visit type for.
/// </summary>
public string? VisitTypeFor { 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 color of the row.
/// </summary>
public string RowColor { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The visit type.
/// </summary>
public class VitalType
{
/// <summary>
/// Gets or sets the vital type id.
/// </summary>
[Key, Identity]
public int VitalTypeId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the unit type.
/// </summary>
public string? UnitType { get; set; }
/// <summary>
/// Gets or sets the min.
/// </summary>
public float? Min { get; set; }
/// <summary>
/// Gets or sets the max.
/// </summary>
public float? Max { 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 wallet.
/// </summary>
public class Wallet
{
/// <summary>
/// Gets or sets the wallet id.
/// </summary>
[Key, Identity]
public int WalletId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the credited amount.
/// </summary>
public double? CreditedAmount { get; set; }
/// <summary>
/// Gets or sets the debited amount.
/// </summary>
public double? DebitedAmount { get; set; }
/// <summary>
/// Gets or sets the credited reason.
/// </summary>
public string? CreditedFor { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { 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 Ward
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int WardId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string WardName { 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 floorId.
/// </summary>
public int? FloorId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The web hook.
/// </summary>
public class WebHook
{
/// <summary>
/// Gets or sets the web hook id.
/// </summary>
[Key, Identity]
public long WebHookId { get; set; }
/// <summary>
/// Gets or sets the event.
/// </summary>
public string WebHookEvent { get; set; }
/// <summary>
/// Gets or sets the data.
/// </summary>
public string WebHookData { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The web notification.
/// </summary>
public class WebNotification
{
/// <summary>
/// Gets or sets the web notification identifier.
/// </summary>
/// <value>
/// The web notification identifier.
/// </value>
[Key, Identity]
public int WebNotificationId { get; set; }
/// <summary>
/// Gets or sets the message.
/// </summary>
/// <value>
/// The message.
/// </value>
public string Message { get; set; }
/// <summary>
/// Gets or sets the web notification priority identifier.
/// </summary>
/// <value>
/// The web notification priority identifier.
/// </value>
public int WebNotificationPriorityId { get; set; }
/// <summary>
/// Gets or sets the web notification log type identifier.
/// </summary>
/// <value>
/// The web notification log type identifier.
/// </value>
public int WebNotificationLogTypeId { 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 redirection link.
/// </summary>
/// <value>
/// The redirection link.
/// </value>
public string RedirectionLink { get; set; }
/// <summary>
/// Gets or sets the allowed roles.
/// </summary>
/// <value>
/// The allowed roles.
/// </value>
public string AllowedRoles { get; set; }
/// <summary>
/// Gets or sets the allowed accounts.
/// </summary>
/// <value>
/// The allowed accounts.
/// </value>
public string AllowedAccounts { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is read.
/// </summary>
/// <value>
/// <c>true</c> if this instance is read; otherwise, <c>false</c>.
/// </value>
public bool IsRead { get; set; }
/// <summary>
/// Gets or sets the patient identifier.
/// </summary>
/// <value>
/// The patient identifier.
/// </value>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the reference identifier.
/// </summary>
/// <value>
/// The reference identifier.
/// </value>
public int? ReferenceId { get; set; }
/// <summary>
/// Gets or sets the modules master identifier.
/// </summary>
/// <value>
/// The modules master identifier.
/// </value>
public int ModulesMasterId { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The web telemedicine.
/// </summary>
public class WebTelemedicine
{
/// <summary>
/// Gets or sets the web telemedicine id.
/// </summary>
[Key, Identity]
public int WebTelemedicineId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets the count.
/// </summary>
public int Count { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public int Status { 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; }
}
}
\ 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 WhatsAppTickets
{
/// <summary>
/// Gets or sets the TicketId.
/// </summary>
[Key, Identity]
public int TicketId { get; set; }
/// <summary>
/// Gets or sets the TicketNo.
/// </summary>
public string TicketNo { get; set; }
/// <summary>
/// Gets or sets the Mobile.
/// </summary>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the Name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the Regarding.
/// </summary>
public string Regarding { get; set; }
/// <summary>
/// Gets or sets the Solved.
/// </summary>
public bool Solved { get; set; }
/// <summary>
/// Gets or sets The CreatedDate
/// </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 ModifiedDate
/// </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 Working Hour
/// </summary>
public class WorkingHour
{
/// <summary>
/// Gets or sets the working hour id
/// </summary>
/// <value>
/// The working hour id
/// </value>
[Key, Identity]
public int WorkingHourId { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
/// <value>
/// The start date.
/// </value>
public string StartDate { get; set; }
/// <summary>
/// Gets or sets the start time.
/// </summary>
/// <value>
/// The start time.
/// </value>
public string StartTime { get; set; }
/// <summary>
/// Gets or sets end date.
/// </summary>
/// <value>
/// The end time.
/// </value>
public string EndDate { get; set; }
/// <summary>
/// Gets or sets the end time.
/// </summary>
/// <value>
/// The end time.
/// </value>
public string EndTime { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="WorkingHour"/> 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; }
}
}
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