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; }
}
}
This diff is collapsed.
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; }
}
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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