Commit 743de392 authored by Sandeep Sagar Panjala's avatar Sandeep Sagar Panjala

initial commit

parent 69f45123
namespace Hims.Shared.UserModels.OperationTheater
{
using Hims.Shared.EntityModels;
using System;
using System.Collections.Generic;
/// <summary>
/// The ot indent model.
/// </summary>
public class OTIndentModel
{
/// <summary>
/// Gets or sets the operation indent header identifier.
/// </summary>
/// <value>
/// The operation indent header identifier.
/// </value>
public int OperationIndentHeaderId { get; set; }
/// <summary>
/// Gets or sets the indent header identifier.
/// </summary>
/// <value>
/// The indent header identifier.
/// </value>
public int IndentHeaderId { get; set; }
/// <summary>
/// Gets or sets the indent header identifier.
/// </summary>
/// <value>
/// The indent header identifier.
/// </value>
public int? ProductId { get; set; }
/// <summary>
/// Gets or sets the pharmacy ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int PharmacyWareHouseId { 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 created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the retail pharmacy identifier.
/// </summary>
/// <value>
/// The retail pharmacy identifier.
/// </value>
public int? RetailPharmacyId { get; set; }
/// <summary>
/// Gets or sets the approved date.
/// </summary>
/// <value>
/// The approved date.
/// </value>
public DateTime? ApprovedDate { 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 created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the RequiredDate date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime RequiredDate { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
/// <value>
/// The reason.
/// </value>
public string Reason { get; set; }
/// <summary>
/// Gets or sets from.
/// </summary>
/// <value>
/// From.
/// </value>
public string From { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
/// <value>
/// The status.
/// </value>
public string Status { get; set; }
/// <summary>
/// Gets or sets the name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the created by role.
/// </summary>
/// <value>
/// The created by role.
/// </value>
public string CreatedByRole { get; set; }
/// <summary>
/// Gets or sets the name of the approved by.
/// </summary>
/// <value>
/// The name of the approved by.
/// </value>
public string ApprovedByName { get; set; }
/// <summary>
/// Gets or sets the approved by role.
/// </summary>
/// <value>
/// The approved by role.
/// </value>
public string ApprovedByRole { get; set; }
/// <summary>
/// Gets or sets the name of the retail.
/// </summary>
/// <value>
/// The name of the retail.
/// </value>
public string RetailName { get; set; }
/// <summary>
/// Gets or sets the approved status.
/// </summary>
public string ApprovedStatus { get; set; }
/// <summary>
/// Gets or sets the approved quantity.
/// </summary>
public int ApprovedQuantity { get; set; }
/// <summary>
/// Gets or sets the products.
/// </summary>
/// <value>
/// The products.
/// </value>
public List<ProductModel> Products { 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 modified by.
/// </summary>
/// <value>
/// The name of the modified by.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the modified by role.
/// </summary>
/// <value>
/// The modified by role.
/// </value>
public string ModifiedByRole { get; set; }
/// <summary>
/// Gets or sets the name of the ware house.
/// </summary>
/// <value>
/// The name of the ware house.
/// </value>
public string WareHouseNames { get; set; }
/// <summary>
/// Gets or sets the ware houose ids.
/// </summary>
/// <value>
/// The ware houose ids.
/// </value>
public string WareHouoseIds { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int TotalItems { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the index of the page.
/// </summary>
/// <value>
/// The index of the page.
/// </value>
public int? PageIndex { get; set; }
/// <summary>
/// Gets or sets the FromDate.
/// </summary>
/// <value>
/// FromDate.
/// </value>
public string? FromDate { get; set; }
/// <summary>
/// Gets or sets the ToDate.
/// </summary>
/// <value>
/// TheToDate.
/// </value>
public string? ToDate { get; set; }
/// <summary>
/// Gets or sets the Product.
/// </summary>
/// <value>
///The Product.
/// </value>
public string? Product { get; set; }
/// <summary>
/// Gets or sets the indent header identifier.
/// </summary>
/// <value>
/// The indent header identifier.
/// </value>
public int IssueHeaderId { get; set; }
/// <summary>
/// Gets or sets the issuing ware house identifier.
/// </summary>
/// <value>
/// The issuing ware house identifier.
/// </value>
public int? IssuingWareHouseId { get; set; }
/// <summary>
/// Gets or sets the approved ware house.
/// </summary>
/// <value>
/// The approved ware house.
/// </value>
public string ApprovedWareHouse { 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 pharmacy department identifier.
/// </summary>
/// <value>
/// The pharmacy department identifier.
/// </value>
public int? PharmacyDepartmentId { get; set; }
/// <summary>
/// Gets or sets the name of the pharmacy department.
/// </summary>
/// <value>
/// The name of the pharmacy department.
/// </value>
public string PharmacyDepartmentName { get; set; }
/// <summary>
/// Gets or sets the name of the inventory department.
/// </summary>
/// <value>
/// The name of the inventory department.
/// </value>
public string InventoryDepartmentName { get; set; }
/// <summary>
/// Gets or sets the inventory department identifier.
/// </summary>
/// <value>
/// The inventory department identifier.
/// </value>
public int? InventoryDepartmentId { get; set; }
}
}
namespace Hims.Shared.UserModels.OperationTheater
{
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// The ot issue model.
/// </summary>
public class OTIssueModel
{
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the operation indent header identifier.
/// </summary>
/// <value>
/// The operation indent header identifier.
/// </value>
public int OperationIndentHeaderId { get; set; }
/// <summary>
/// Gets or sets the indent header id.
/// </summary>
public int? IndentHeaderId { get; set; }
/// <summary>
/// Gets or sets the issue header id.
/// </summary>
public int? IssueHeaderId { get; set; }
/// <summary>
/// Gets or sets the retail pharmacy identifier.
/// </summary>
/// <value>
/// The retail pharmacy identifier.
/// </value>
public int? RetailPharmacyId { get; set; }
/// <summary>
/// Gets or sets the indent header identifier.
/// </summary>
/// <value>
/// The indent header identifier.
/// </value>
public int? ProductId { get; set; }
/// <summary>
/// Gets or sets the products.
/// </summary>
/// <value>
/// The products.
/// </value>
public List<OTProductsModel> Products { get; set; }
/// <summary>
/// Gets or sets the name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the role identifier.
/// </summary>
/// <value>
/// The role identifier.
/// </value>
public short RoleId { get; set; }
/// <summary>
/// Gets or sets the indent header id.
/// </summary>
public int? Cnt { get; set; }
/// <summary>
/// Gets or sets the Product.
/// </summary>
/// <value>
///The Product.
/// </value>
public string? Product { 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 modified by.
/// </summary>
/// <value>
/// The name of the modified by.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the modified by role.
/// </summary>
/// <value>
/// The modified by role.
/// </value>
public string ModifiedByRole { get; set; }
/// <summary>
/// Gets or sets the name of the ware house.
/// </summary>
/// <value>
/// The name of the ware house.
/// </value>
public string WareHouseName { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int TotalItems { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the index of the page.
/// </summary>
/// <value>
/// The index of the page.
/// </value>
public int? PageIndex { get; set; }
/// <summary>
/// Gets or sets the FromDate.
/// </summary>
/// <value>
/// FromDate.
/// </value>
public string? FromDate { get; set; }
/// <summary>
/// Gets or sets the ToDate.
/// </summary>
/// <value>
/// TheToDate.
/// </value>
public string? ToDate { get; set; }
/// <summary>
/// Gets or sets the pharmacy ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int? PharmacyWareHouseId { 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 comment.
/// </summary>
/// <value>
/// The comment.
/// </value>
public string Comment { get; set; }
/// <summary>
/// Gets or sets the hand over to.
/// </summary>
/// <value>
/// The hand over to.
/// </value>
public int? HandOverTo { get; set; }
}
}
namespace Hims.Shared.UserModels.OperationTheater
{
using System;
using System.Collections.Generic;
/// <summary>
/// The ot raise indent model.
/// </summary>
public class OTRaiseIndentModel
{
/// <summary>
/// Gets or sets the raise indent from.
/// </summary>
/// <value>
/// The raise indent from.
/// </value>
public string RaiseIndentFrom { get; set; }
/// <summary>
/// Gets or sets the indent to.
/// </summary>
/// <value>
/// The indent to.
/// </value>
public string IndentTo { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
/// <value>
/// The raise indent from.
/// </value>
public string Reason { get; set; }
/// <summary>
/// Gets or sets the retail pharmacy identifier.
/// </summary>
/// <value>
/// The retail store identifier.
/// </value>
public int? RetailPharmacyId { 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 created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { 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 products.
/// </summary>
/// <value>
/// The products.
/// </value>
public List<OTProductsModel> Products { get; set; }
/// <summary>
/// Gets or sets the login role identifier.
/// </summary>
/// <value>
/// The login role identifier.
/// </value>
public short LoginRoleId { 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 ware house name.
/// </summary>
public string? WareHouseName { get; set; }
}
/// <summary>
/// The ot products model.
/// </summary>
public class OTProductsModel
{
/// <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 inventory product identifier.
/// </summary>
/// <value>
/// The inventory product identifier.
/// </value>
public int InventoryProductId { 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 pharmacy stock identifier.
/// </summary>
/// <value>
/// The pharmacy stock identifier.
/// </value>
public int? PharmacyStockId { 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 quantity.
/// </summary>
/// <value>
/// The quantity.
/// </value>
public int Quantity { get; set; }
/// <summary>
/// Gets or sets the product name.
/// </summary>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the generic name.
/// </summary>
public string GenericName { get; set; }
/// <summary>
/// Gets or sets the category name.
/// </summary>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the company name.
/// </summary>
public string CompanyName { get; set; }
}
}
#nullable enable
namespace Hims.Shared.UserModels.OperationTheater
{
using System;
/// <summary>
/// The reschedule appointment request.
/// </summary>
public class RescheduleOTAppointmentRequest
{
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
public int OTRegisterId { get; set; }
/// <summary>
/// Gets or sets the appointment date.
/// </summary>
public DateTime AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the appointment notes.
/// </summary>
public string? AppointmentNotes { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string? CreatedByName { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string? PatientName { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public DateTime AppointmentTime { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public short LogFrom { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public DateTime AppointmentEndTime { get; set; }
/// <summary>
/// /Gets or sets the scan machine master id.
/// </summary>
public int OTRoomId { get; set; }
}
}
namespace Hims.Shared.UserModels.OperationTheater
{
/// <summary>
/// The surgery charge model.
/// </summary>
public class SurgeryChargeModel
{
/// <summary>
/// Gets or sets the surgery charge identifier.
/// </summary>
/// <value>
/// The surgery charge identifier.
/// </value>
public int SurgeryChargeId { get; set; }
/// <summary>
/// Gets or sets the surgery identifier.
/// </summary>
/// <value>
/// The surgery identifier.
/// </value>
public int SurgeryId { get; set; }
/// <summary>
/// Gets or sets the name of the charge.
/// </summary>
/// <value>
/// The name of the charge.
/// </value>
public string ChargeName { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double? Amount { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="SurgeryChargeModel"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
}
}
namespace Hims.Shared.UserModels.OperationTheater
{
using Hims.Shared.UserModels.ChargeModule;
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// The surgery model.
/// </summary>
public class SurgeryModel
{
/// <summary>
/// Gets or sets the surgery identifier.
/// </summary>
/// <value>
/// The surgery identifier.
/// </value>
public int SurgeryId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Surgery"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool? Active { get; set; }
/// <summary>
/// Gets or sets the expected amount.
/// </summary>
/// <value>
/// The expected amount.
/// </value>
public double ExpectedAmount { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the created by role.
/// </summary>
/// <value>
/// The created by role.
/// </value>
public string CreatedByRole { get; set; }
/// <summary>
/// Gets or sets the name of the modified by.
/// </summary>
/// <value>
/// The name of the modified by.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the modified by role.
/// </summary>
/// <value>
/// The modified by role.
/// </value>
public string ModifiedByRole { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int TotalItems { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the index of the page.
/// </summary>
/// <value>
/// The index of the page.
/// </value>
public int? PageIndex { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int Duration { get; set; }
/// <summary>
/// Gets or sets the LocationId.
/// </summary>
/// <value>
/// The LocationId.
/// </value>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the LocationName
/// </summary>
/// <value>
/// The LocationName.
/// </value>
public string LocationName { get; set; }
/// <summary>
/// Gets or sets the term.
/// </summary>
/// <value>
/// The term.
/// </value>
public string? Term
{
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 charges.
///// </summary>
///// <value>
///// The charges.
///// </value>
////public List<LabMainDetailChargeModel> Charges { get; set; }
public List<ChargeModuleDetailsModel> Charges { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Shared.UserModels.OrderPrescription
{
/// <summary>
/// The common response.
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the order prescription identifier.
/// </summary>
/// <value>
/// The order prescription identifier.
/// </value>
public int ValueId { get; set; }
/// <summary>
/// Gets or sets the order master id.
/// </summary>
/// <value>
/// The name of the order master id.
/// </value>
public int OrderPrescriptionMasterId { get; set; }
/// <summary>
/// Gets or sets the value name.
/// </summary>
/// <value>
/// The value name.
/// </value>
public string ValueName { get; set; }
/// <summary>
/// Gets or sets the value name.
/// </summary>
/// <value>
/// The value name.
/// </value>
public string Type { get; set; }
/// <summary>
/// Gets or sets the value name.
/// </summary>
/// <value>
/// The value name.
/// </value>
public string OrderName { get; set; }
/// <summary>
/// Gets or sets the comments.
/// </summary>
/// <value>
/// The comments.
/// </value>
public string Comments { get; set; }
/// <summary>
/// Gets or sets modified by name.
/// </summary>
/// <value>
/// The modified by name.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets created by name.
/// </summary>
/// <value>
/// The modified by name.
/// </value>
public string createdByName { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
public string? SearchParam { get; set; }
/// <summary>
/// Gets or sets encounter type id.
/// </summary>
public int? EncounterTypeId { get; set; }
/// <summary>
/// Gets or sets the provider id
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the provider id
/// </summary>
public string? Name { get; set; }
public string? EncounterName { get; set; }
/// <summary>
/// Gets or sets the index of the page.
/// </summary>
/// <value>
/// The index of the page.
/// </value>
public int PageIndex { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int PageSize { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items
/// </value>
public int? TotalItems { get; set; }
}
public class OrderPrescriptionMasterModel
{
/// <summary>
/// Gets or sets the value id.
/// </summary>
public int? OrderPrescriptionMasterId { get; set; }
/// <summary>
/// Gets or sets the value name.
/// </summary>
public string? Name { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool? Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created by Name.
/// </summary>
public string? CreatedByName { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified by Name.
/// </summary>
public string? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the encounter type id.
/// </summary>
public int? EncounterTypeId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int? ProviderId { get; set; }
/// <summary>
/// Gets or sets encounter name
/// </summary>
public string? EncounterName { get; set; }
/// <summary>
/// Gets or sets encounter name
/// </summary>
public string? ProviderName { get; set; }
public int? TotalItems { get; set; }
public int PageIndex { get; set; }
public int PageSize { get; set; }
public int LoginRoleId { get; set; }
}
}
using System.Collections.Generic;
using Hims.Domain.Entities.Enums;
namespace Hims.Shared.UserModels.Package
{
/// <summary>
/// The coupon.
/// </summary>
public class DeleteModel
{
/// <summary>
/// Gets or sets the package identifier.
/// </summary>
/// <value>
/// The package identifier.
/// </value>
public int PackageId { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public int Id { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public PackageDeleteType DeleteTypeId { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.Package
{
/// <summary>
/// The coupon.
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the index of the page.
/// </summary>
/// <value>
/// The index of the page.
/// </value>
public int PageIndex { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int PageSize { get; set; }
/// <summary>
/// Gets or sets the package name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string PackageName { get; set; }
/// <summary>
/// Gets or sets the LocationId .
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int LocationId { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.Package
{
/// <summary>
/// The coupon.
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double Amount { 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 records.
/// </summary>
/// <value>
/// The records.
/// </value>
public List<PackageCharge.InsertModel> Records { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the Location Id.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the location ids.
/// </summary>
/// <value>
/// The location ids.
/// </value>
public string LocationIds { get; set; }
}
}
namespace Hims.Shared.UserModels.Package.Lab
{
/// <summary>
/// The coupon.
/// </summary>
public class BasicViewModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string LabName { get; set; }
/// <summary>
/// Gets or sets the lab identifier.
/// </summary>
/// <value>
/// The lab identifier.
/// </value>
public int LabHeaderId { get; set; }
/// <summary>
/// Gets or sets the code of the lab.
/// </summary>
/// <value>
/// The code of the lab.
/// </value>
public string LabCode{ get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.Package.Lab
{
/// <summary>
/// The coupon.
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string LabName { get; set; }
/// <summary>
/// Gets or sets the code of the lab.
/// </summary>
/// <value>
/// The code of the lab.
/// </value>
public string LabCode { get; set; }
/// <summary>
/// Gets or sets the index of the page.
/// </summary>
/// <value>
/// The index of the page.
/// </value>
public int PageIndex { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int PageSize { get; set; }
}
}
namespace Hims.Shared.UserModels.Package.Lab
{
/// <summary>
/// The coupon.
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string LabName { get; set; }
/// <summary>
/// Gets or sets the code of the lab.
/// </summary>
/// <value>
/// The code of the lab.
/// </value>
public string LabCode { get; set; }
/// <summary>
/// Gets or sets the package identifier.
/// </summary>
/// <value>
/// The package identifier.
/// </value>
public int LabHeaderId { 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="ViewModel"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the MRP.
/// </summary>
/// <value>
/// The MRP.
/// </value>
public double Mrp { get; set; }
/// <summary>
/// Determines the minimum of the parameters.
/// </summary>
/// <value>
/// The minimum.
/// </value>
public double Min { get; set; }
/// <summary>
/// Determines the maximum of the parameters.
/// </summary>
/// <value>
/// The maximum.
/// </value>
public double Max { get; set; }
/// <summary>
/// Gets or sets the unit.
/// </summary>
/// <value>
/// The unit.
/// </value>
public int Unit { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int TotalItems { get; set; }
}
}
namespace Hims.Shared.UserModels.Package.MetaData
{
/// <summary>
/// The coupon.
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public int Id { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the LocationId
/// </summary>
public int LocationId { get; set; }
}
}
using System.Collections.Generic;
using General = Hims.Shared.UserModels.ChargeManagement;
namespace Hims.Shared.UserModels.Package.MetaData
{
/// <summary>
/// The coupon.
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public IEnumerable<General.ViewModel> Generals { get; set; }
/// <summary>
/// Gets or sets the package identifier.
/// </summary>
/// <value>
/// The package identifier.
/// </value>
public IEnumerable<Product.ViewModel> Products { get; set; }
/// <summary>
/// Gets or sets the surgeries.
/// </summary>
/// <value>
/// The surgeries.
/// </value>
public IEnumerable<Surgery.ViewModel> Surgeries { get; set; }
/// <summary>
/// Gets or sets the labs.
/// </summary>
/// <value>
/// The labs.
/// </value>
public IEnumerable<Laboratory.LabHeaderModel> Labs { get; set; }
}
}
namespace Hims.Shared.UserModels.Package.PackageCharge
{
/// <summary>
/// The coupon.
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the charge identifier.
/// </summary>
/// <value>
/// The charge identifier.
/// </value>
public int? ChargeId { get; set; }
/// <summary>
/// Gets or sets the product identifier.
/// </summary>
/// <value>
/// The product identifier.
/// </value>
public int? ProductId { get; set; }
/// <summary>
/// Gets or sets the surgery kit identifier.
/// </summary>
/// <value>
/// The surgery kit identifier.
/// </value>
public int? SurgeryKitId { get; set; }
/// <summary>
/// Gets or sets the lab identifier.
/// </summary>
/// <value>
/// The lab identifier.
/// </value>
public int? LabHeaderId { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double ReducedAmount { get; set; }
/// <summary>
/// Gets or sets the unit.
/// </summary>
/// <value>
/// The unit.
/// </value>
public int Unit { get; set; }
}
}
namespace Hims.Shared.UserModels.Package.Product
{
/// <summary>
/// The coupon.
/// </summary>
public class BasicViewModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the product identifier.
/// </summary>
/// <value>
/// The product identifier.
/// </value>
public int ProductId { get; set; }
/// <summary>
/// Gets or sets the name of the category.
/// </summary>
/// <value>
/// The name of the category.
/// </value>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the category identifier.
/// </summary>
/// <value>
/// The category identifier.
/// </value>
public int CategoryId { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.Package.Product
{
/// <summary>
/// The coupon.
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Category { get; set; }
/// <summary>
/// Gets or sets the name of the product.
/// </summary>
/// <value>
/// The name of the product.
/// </value>
public string Product { get; set; }
/// <summary>
/// Gets or sets the index of the page.
/// </summary>
/// <value>
/// The index of the page.
/// </value>
public int PageIndex { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int PageSize { get; set; }
}
}
namespace Hims.Shared.UserModels.Package.Product
{
/// <summary>
/// The coupon.
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the name of the generic.
/// </summary>
/// <value>
/// The name of the generic.
/// </value>
public string GenericName { get; set; }
/// <summary>
/// Gets or sets the name of the category.
/// </summary>
/// <value>
/// The name of the category.
/// </value>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the name of the company.
/// </summary>
/// <value>
/// The name of the company.
/// </value>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets the package identifier.
/// </summary>
/// <value>
/// The package identifier.
/// </value>
public int ProductId { 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="ViewModel"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the MRP.
/// </summary>
/// <value>
/// The MRP.
/// </value>
public double Mrp { get; set; }
/// <summary>
/// Determines the minimum of the parameters.
/// </summary>
/// <value>
/// The minimum.
/// </value>
public double Min { get; set; }
/// <summary>
/// Determines the maximum of the parameters.
/// </summary>
/// <value>
/// The maximum.
/// </value>
public double Max { get; set; }
/// <summary>
/// Gets or sets the unit.
/// </summary>
/// <value>
/// The unit.
/// </value>
public int Unit { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int TotalItems { get; set; }
}
}
namespace Hims.Shared.UserModels.Package.Surgery
{
/// <summary>
/// The coupon.
/// </summary>
public class BasicViewModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string KitName { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.Package.Surgery
{
/// <summary>
/// The coupon.
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Kit { get; set; }
}
}
namespace Hims.Shared.UserModels.Package.Surgery
{
/// <summary>
/// The coupon.
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the surgery kit identifier.
/// </summary>
/// <value>
/// The surgery kit identifier.
/// </value>
public int SurgeryKitId { get; set; }
/// <summary>
/// Gets or sets the name of the kit.
/// </summary>
/// <value>
/// The name of the kit.
/// </value>
public string KitName { get; set; }
/// <summary>
/// Gets or sets the name of the generic.
/// </summary>
/// <value>
/// The name of the generic.
/// </value>
public string GenericName { get; set; }
/// <summary>
/// Gets or sets the name of the category.
/// </summary>
/// <value>
/// The name of the category.
/// </value>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the name of the company.
/// </summary>
/// <value>
/// The name of the company.
/// </value>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets the package identifier.
/// </summary>
/// <value>
/// The package identifier.
/// </value>
public int ProductId { 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="ViewModel"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the MRP.
/// </summary>
/// <value>
/// The MRP.
/// </value>
public double Mrp { get; set; }
/// <summary>
/// Determines the minimum of the parameters.
/// </summary>
/// <value>
/// The minimum.
/// </value>
public double Min { get; set; }
/// <summary>
/// Determines the maximum of the parameters.
/// </summary>
/// <value>
/// The maximum.
/// </value>
public double Max { get; set; }
/// <summary>
/// Gets or sets the unit.
/// </summary>
/// <value>
/// The unit.
/// </value>
public int Unit { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.Package
{
/// <summary>
/// The coupon.
/// </summary>
public class UpdateModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the package identifier.
/// </summary>
/// <value>
/// The package identifier.
/// </value>
public int PackageId { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double Amount { 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 records.
/// </summary>
/// <value>
/// The records.
/// </value>
public List<PackageCharge.InsertModel> Records { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the location ids.
/// </summary>
/// <value>
/// The location ids.
/// </value>
public string LocationIds { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.Package
{
/// <summary>
/// The coupon.
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the package identifier.
/// </summary>
/// <value>
/// The package identifier.
/// </value>
public int PackageId { 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="ViewModel"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the total general.
/// </summary>
/// <value>
/// The total general.
/// </value>
public int? TotalGeneral { get; set; }
/// <summary>
/// Gets or sets the total medicines.
/// </summary>
/// <value>
/// The total medicines.
/// </value>
public int? TotalMedicines { get; set; }
/// <summary>
/// Gets or sets the total labs.
/// </summary>
/// <value>
/// The total labs.
/// </value>
public int? TotalLabs { get; set; }
/// <summary>
/// Gets or sets the total kits.
/// </summary>
/// <value>
/// The total kits.
/// </value>
public int? TotalKits { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int TotalItems { get; set; }
/// <summary>
/// Gets or sets the location ids.
/// </summary>
/// <value>
/// The location ids.
/// </value>
public string LocationIds { get; set; }
/// <summary>
/// Gets or sets the name of the location.
/// </summary>
/// <value>
/// The name of the location.
/// </value>
public string? LocationNames { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.PackageModule
{
public class ChargeModuleCategoryCostModel
{
public int LocationId { get; set; }
public int PackageModuleId { get; set; }
public int ChargeCategoryId { get; set; }
public int ChargeModuleTemplateId { get; set; }
public List<ChargeModuleCostModel> ChargeModules { get; set; }
public decimal Total { get; set; }
}
public class ChargeModuleCostModel
{
public int ModulesMasterId { get; set; }
public string ChargeReferenceIds { get; set; }
public int ChargeModuleCategoryId { get; set; }
public decimal Amount { get; set; }
}
}
namespace Hims.Shared.UserModels.PackageModule
{
public class ChargeModuleDetailsModel
{
public long ChargeModuleDetailsId { get; set; }
public int LocationId { get; set; }
public int ChargeModuleCategoryId { get; set; }
public int ModulesMasterId { get; set; }
public string ModuleName { get; set; }
public string ModuleIcon { get; set; }
public decimal Amount { get; set; }
public int ReferenceId { get; set; }
public string ChargeName { get; set; }
public int? ChargeGroupId { get; set; }
public string ChargeGroupName { get; set; }
public int? DepartmentId { get; set; }
public string DepartmentName { get; set; }
public int? RepeatTypeId { get; set; }
public string RepeatTypeName { get; set; }
}
}
namespace Hims.Shared.UserModels.PackageModule
{
public class ChargeModuleDetailsRequestModel
{
public int LocationId { get; set; }
public int PackageModuleId { get; set; }
public int ChargeModuleTemplateId { get; set; }
public int ChargeCategoryId { get; set; }
public string ModulesMasterIds { get; set; }
}
}
namespace Hims.Shared.UserModels.PackageModule
{
public class ModuleChargeModel
{
public int LocationId { get; set; }
public int ModulesMasterId { get; set; }
public string ModuleName { get; set; }
public string ModuleIcon { get; set; }
public int ReferenceId { get; set; }
public string ChargeName { get; set; }
public int? ChargeGroupId { get; set; }
public string ChargeGroupName { get; set; }
public int? DepartmentId { get; set; }
public string DepartmentName { get; set; }
public int? RepeatTypeId { get; set; }
public string RepeatTypeName { get; set; }
}
}
namespace Hims.Shared.UserModels.PackageModule
{
public class ModuleModel
{
/// <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 module.
/// </summary>
/// <value>
/// The name of the module.
/// </value>
public string ModuleName { get; set; }
/// <summary>
/// Gets or sets the module icon.
/// </summary>
/// <value>
/// The module icon.
/// </value>
public string ModuleIcon { get; set; }
/// <summary>
/// Gets or sets the type of the package.
/// </summary>
/// <value>
/// The type of the package.
/// </value>
public string PackageType { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is charge category applicable.
/// </summary>
/// <value>
/// <c>true</c> if this instance is charge category applicable; otherwise, <c>false</c>.
/// </value>
public bool IsChargeCategoryApplicable { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is package applicable.
/// </summary>
/// <value>
/// <c>true</c> if this instance is package applicable; otherwise, <c>false</c>.
/// </value>
public bool IsPackageApplicable { get; set; }
}
}
\ No newline at end of file
namespace Hims.Shared.UserModels.PackageModule
{
public class PackageModuleFilterModel
{
public string PackageName { get; set; }
public string PackageType { get; set; }
public string ModuleType { get; set; }
public int? LocationId { get; set; }
public int? ChargeCategoryId { get; set; }
public int PageIndex { get; set; }
public int PageSize { get; set; }
public bool DisablePagination { get; set; }
}
}
using Hims.Shared.EntityModels;
using System.Collections.Generic;
namespace Hims.Shared.UserModels.PackageModule
{
public class PackageModuleViewModel
{
public PackageModuleModel PackageModule { get; set; }
public List<ModuleModel> Modules { get; set; }
public List<PackageModuleDetailModel> PackageModuleDetails { get; set; }
}
}
namespace Hims.Shared.UserModels.PatientExcel
{
using Shared.EntityModels;
using System;
using System.Collections.Generic;
/// <summary>
/// The excel upload history.
/// </summary>
public class PatientExcelHistoryModel
{
/// <summary>
/// Gets or sets the users.
/// </summary>
public List<RawPatientModel> Patients { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the user excel history id.
/// </summary>
public int PatientExcelHistoryId { get; set; }
/// <summary>
/// Gets or sets the uploaded by.
/// </summary>
public int UploadedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the sheet name.
/// </summary>
public string? SheetName { get; set; }
/// <summary>
/// Gets or sets the sheet name.
/// </summary>
public string? UploadedByName { get; set; }
/// <summary>
/// Gets or sets the sheet type
/// </summary>
public string? SheetType { get; set; }
/// <summary>
/// Gets or sets the page size.
/// </summary>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the page index.
/// </summary>
public int? PageIndex { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
public int? TotalItems { get; set; }
/// <summary>
/// Gets or sets the country Id.
/// </summary>
public int CountryId { 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 location.
/// </summary>
/// <value>
/// The name of the location.
/// </value>
public string? LocationName { get; set; }
/// <summary>
/// Gets or sets the added users.
/// </summary>
public string AddedPatients { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int RoleId { get; set; }
/// <summary>
/// Gets or sets the added users.
/// </summary>
public string? REGNO { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.PatientExcel
{
/// <summary>
/// The raw products model.
/// </summary>
public class RawPatientModel
{
/// <summary>
/// Gets or sets the address.
/// </summary>
public string? Address { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public string? Age { get; set; }
/// <summary>
/// Gets or sets the empolyee code .
/// </summary>
public string? DateOfBirth { get; set; }
/// <summary>
/// Gets or sets the email.
/// </summary>
public string? Email { get; set; }
/// <summary>
/// Gets or sets the first name.
/// </summary>
public string? FirstName { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public string? Gender { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public bool? isEmail { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public bool? isMatchLocation { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public bool? isMatchRole { get; set; }
/// <summary>
/// Gets or sets the last name.
/// </summary>
public string? LastName { get; set; }
/// <summary>
/// Gets or sets the middle name.
/// </summary>
public string? Mobile { get; set; }
/// <summary>
/// Gets or sets the full name.
/// </summary>
public string? FullName { get; set; }
/// <summary>
/// Gets or sets the address.
/// </summary>
public string? PinCode { get; set; }
/// <summary>
/// Gets or sets the relation.
/// </summary>
public string? RelationType { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string? RelativeMobile { get; set; }
/// <summary>
/// Gets or sets the FullName.
/// </summary>
public string? RelativeName { get; set; }
/// <summary>
/// Gets or sets the first name.
/// </summary>
public string? Salutation { get; set; }
/// <summary>
/// Gets or sets umr no.
/// </summary>
public string? UmrNo { get; set; }
/// <summary>
/// Gets or sets REG no.
/// </summary>
public string? REGNO { get; set; }
}
}
namespace Hims.Shared.UserModels.PatientMedication
{
using System;
/// <summary>
/// The patient medication detail model.
/// </summary>
public class PatientMedicationDetailModel
{
/// <summary>
/// Gets or sets the patient medication detail identifier.
/// </summary>
/// <value>
/// The patient medication detail identifier.
/// </value>
public int PatientMedicationDetailId { get; set; }
/// <summary>
/// Gets or sets the patient lab detail identifier.
/// </summary>
/// <value>
/// The patient lab detail identifier.
/// </value>
public int PatientLabDetailId { get; set; }
/// <summary>
/// Gets or sets the patient medication header identifier.
/// </summary>
/// <value>
/// The patient medication header identifier.
/// </value>
public int PatientMedicationHeaderId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product identifier.
/// </summary>
/// <value>
/// The pharmacy product identifier.
/// </value>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
/// <value>
/// The duration.
/// </value>
public int Duration { get; set; }
/// <summary>
/// Gets or sets the dosage.
/// </summary>
/// <value>
/// The dosage.
/// </value>
public int Dosage { get; set; }
/// <summary>
/// Gets or sets the type of the duration.
/// </summary>
/// <value>
/// The type of the duration.
/// </value>
public string DurationType { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is morning.
/// </summary>
/// <value>
/// <c>true</c> if this instance is morning; otherwise, <c>false</c>.
/// </value>
public bool IsMorning { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is afternoon.
/// </summary>
/// <value>
/// <c>true</c> if this instance is afternoon; otherwise, <c>false</c>.
/// </value>
public bool IsAfternoon { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is night.
/// </summary>
/// <value>
/// <c>true</c> if this instance is night; otherwise, <c>false</c>.
/// </value>
public bool IsNight { get; set; }
/// <summary>
/// Gets or sets the morning dosage.
/// </summary>
/// <value>
/// The morning dosage.
/// </value>
public string MorningDosage { get; set; }
/// <summary>
/// Gets or sets the afternoon dosage.
/// </summary>
/// <value>
/// The afternoon dosage.
/// </value>
public string AfternoonDosage { get; set; }
/// <summary>
/// Gets or sets the night dosage.
/// </summary>
/// <value>
/// The night dosage.
/// </value>
public string NightDosage { get; set; }
/// <summary>
/// Gets or sets the instruction.
/// </summary>
/// <value>
/// The instruction.
/// </value>
public string Instruction { get; set; }
/// <summary>
/// Gets or sets the name of the product.
/// </summary>
/// <value>
/// The name of the product.
/// </value>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the name of the generic.
/// </summary>
/// <value>
/// The name of the generic.
/// </value>
public string GenericName { get; set; }
/// <summary>
/// Gets or sets the company identifier.
/// </summary>
/// <value>
/// The company identifier.
/// </value>
public int CompanyId { get; set; }
/// <summary>
/// Gets or sets the category identifier.
/// </summary>
/// <value>
/// The category identifier.
/// </value>
public int CategoryId { get; set; }
/// <summary>
/// Gets or sets the name of the company.
/// </summary>
/// <value>
/// The name of the company.
/// </value>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets the name of the category.
/// </summary>
/// <value>
/// The name of the category.
/// </value>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the afternoon dosage.
/// </summary>
/// <value>
/// The afternoon dosage.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the route.
/// </summary>
/// <value>
/// The route.
/// </value>
public string Route { get; set; }
/// <summary>
/// Gets or sets the name of the sale unit.
/// </summary>
/// <value>
/// The name of the sale unit.
/// </value>
public string SaleUnitName { 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 comment.
/// </summary>
/// <value>
/// The comment.
/// </value>
public string? Remark { get; set; }
}
}
namespace Hims.Shared.UserModels.PatientMedication
{
using System;
using System.Collections.Generic;
using Hims.Shared.UserModels.Laboratory;
using Hims.Shared.UserModels.Labs;
/// <summary>
/// The patient medication header model.
/// </summary>
public class PatientMedicationHeaderModel
{
/// <summary>
/// Gets or sets the patient medication header identifier.
/// </summary>
/// <value>
/// The patient medication header identifier.
/// </value>
public int PatientMedicationHeaderId { get; set; }
/// <summary>
/// Gets or sets the patient lab header identifier.
/// </summary>
/// <value>
/// The patient lab header identifier.
/// </value>
public int? PatientLabHeaderId { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the appointment identifier.
/// </summary>
/// <value>
/// The appointment identifier.
/// </value>
public int? AppointmentId { 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="PatientMedicationHeaderModel"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the type of the encounter.
/// </summary>
/// <value>
/// The type of the encounter.
/// </value>
public string EncounterType { get; set; }
/// <summary>
/// Gets or sets the medicines.
/// </summary>
/// <value>
/// The medicines.
/// </value>
public List<PatientMedicationDetailModel> Medicines { get; set; }
///// <summary>
///// Gets or sets the labs.
///// </summary>
///// <value>
///// The labs.
///// </value>
//public List<LabHeaderModel> Labs { get; set; }
/// <summary>
/// Gets or sets the labs.
/// </summary>
/// <value>
/// The labs.
/// </value>
public List<LabMainDetailModel> Labs { 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 name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the name of the modified by.
/// </summary>
/// <value>
/// The name of the modified by.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the appointment no.
/// </summary>
/// <value>
/// The appointment no.
/// </value>
public string AppointmentNo { get; set; }
/// <summary>
/// Gets or sets the appointment date.
/// </summary>
/// <value>
/// The appointment date.
/// </value>
public string AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
/// <value>
/// The appointment time.
/// </value>
public string? AppointmentTime { get; set; }
/// <summary>
/// Gets or sets the AppointmentTimeString
/// </summary>
public TimeSpan AppointmentTimeString { 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 patient gender.
/// </summary>
/// <value>
/// The patient gender.
/// </value>
public string PatientGender { get; set; }
/// <summary>
/// Gets or sets the patient age.
/// </summary>
/// <value>
/// The patient age.
/// </value>
public string PatientAge { get; set; }
/// <summary>
/// Gets or sets the patient mobile.
/// </summary>
/// <value>
/// The patient mobile.
/// </value>
public string PatientMobile { get; set; }
/// <summary>
/// Gets or sets the name of the provider.
/// </summary>
/// <value>
/// The name of the provider.
/// </value>
public string ProviderName { get; set; }
/// <summary>
/// Gets or sets the encrypted appointment identifier.
/// </summary>
/// <value>
/// The encrypted appointment identifier.
/// </value>
public string EncryptedAppointmentId { get; set; }
/// <summary>
/// Gets or sets the provider identifier.
/// </summary>
/// <value>
/// The provider identifier.
/// </value>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the umr no.
/// </summary>
/// <value>
/// The umr no.
/// </value>
public string UMRNo { get; set; }
/// <summary>
/// Gets or sets the practice location.
/// </summary>
/// <value>
/// The umr no.
/// </value>
public string PracticeLocation { get; set; }
/// <summary>
/// Gets or sets the practice name.
/// </summary>
/// <value>
/// The umr no.
/// </value>
public string PracticeName { get; set; }
/// <summary>
/// Gets or sets the provider no.
/// </summary>
public string ProviderNo { get; set; }
/// <summary>
/// Gets or sets the specialization name.
/// </summary>
public string SpecializationName { get; set; }
/// <summary>
/// Gets or sets the educations.
/// </summary>
public string Educations { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is admission.
/// </summary>
/// <value>
/// <c>true</c> if this instance is admission; otherwise, <c>false</c>.
/// </value>
public bool IsAdmission { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is billing done.
/// </summary>
/// <value>
/// <c>true</c> if this instance is billing done; otherwise, <c>false</c>.
/// </value>
public bool? IsBillingDone { get; set; }
/// <summary>
/// Gets or sets the bill number.
/// </summary>
/// <value>
/// The bill number.
/// </value>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the requisition number.
/// </summary>
/// <value>
/// The requisition number.
/// </value>
public string RequisitionNumber { get; set; }
/// <summary>
/// Gets or sets the requisition number.
/// </summary>
/// <value>
/// The requisition number.
/// </value>
public string EncryptedPatientId { get; set; }
/// <summary>
/// Gets or sets the requisition number.
/// </summary>
/// <value>
/// The requisition number.
/// </value>
public string StreetAddress { get; set; }
/// <summary>
/// Gets or sets the requisition number.
/// </summary>
/// <value>
/// The requisition number.
/// </value>
public string? CityName { get; set; }
/// <summary>
/// Gets or sets the requisition number.
/// </summary>
/// <value>
/// The requisition number.
/// </value>
public string? StateName { get; set; }
/// <summary>
/// Gets or sets the requisition number.
/// </summary>
/// <value>
/// The requisition number.
/// </value>
public string? CountryName { get; set; }
/// <summary>
/// Gets or sets the specialization identifier.
/// </summary>
/// <value>
/// The specialization identifier.
/// </value>
public int SpecializationId { get; set; }
}
}
#nullable enable
namespace Hims.Shared.UserModels.PayU
{
using System.Collections.Generic;
/// <summary>
/// The Account data
/// </summary>
public class Data
{
/// <summary>
/// Gets or sets merchantId
/// </summary>
public long? PayoutMerchantId { get; set; }
/// <summary>
/// Gets or sets uuid
/// </summary>
public string? Uuid { get; set; }
/// <summary>
/// Gets or sets Virtual account number
/// </summary>
public string? VirtualAccountNumber { get; set; }
/// <summary>
/// Gets or sets transferable amount
/// </summary>
public object? TransferableAmount { get; set; }
/// <summary>
/// Gets or sets balance amount
/// </summary>
public object? Balance { get; set; }
/// <summary>
/// Gets or sets a value indicating whether low balance.
/// </summary>
public bool LowBalance { get; set; }
/// <summary>
/// Gets or sets IFSC code
/// </summary>
public string? Ifsc { get; set; }
/// <summary>
/// Gets or sets type
/// </summary>
public string? Type { get; set; }
/// <summary>
/// Gets or sets the link.
/// </summary>
public string? Link { get; set; }
/// <summary>
/// Gets or sets the link id.
/// </summary>
public string? LinkId { get; set; }
/// <summary>
/// Gets or sets the merchant ref id.
/// </summary>
public object? MerchantRefId { get; set; }
/// <summary>
/// Gets or sets the no of pages.
/// </summary>
public int? NoOfPages { get; set; }
/// <summary>
/// Gets or sets the total elements.
/// </summary>
public int? TotalElements { get; set; }
/// <summary>
/// Gets or sets the current page.
/// </summary>
public int? CurrentPage { get; set; }
/// <summary>
/// Gets or sets the transaction details.
/// </summary>
public IList<TransactionDetail>? TransactionDetails { get; set; }
}
}
\ No newline at end of file
namespace Hims.Shared.UserModels.PayU
{
/// <summary>
/// The refund model
/// </summary>
public class PayURefundModel
{
/// <summary>
/// Gets or sets status
/// </summary>
public long? Status { get; set; }
/// <summary>
/// Gets or sets rows
/// </summary>
public long Rows { get; set; }
/// <summary>
/// Gets or sets message
/// </summary>
public string Message { get; set; }
/// <summary>
/// Gets or sets Result
/// </summary>
public long? Result { get; set; }
/// <summary>
/// Gets or sets sessionId
/// </summary>
public string SessionId { get; set; }
/// <summary>
/// Gets or sets error code
/// </summary>
public object ErrorCode { get; set; }
/// <summary>
/// Gets or sets Guid
/// </summary>
public string Guid { get; set; }
}
}
#nullable enable
namespace Hims.Shared.UserModels.PayU
{
using System.Collections.Generic;
/// <summary>
/// The Payment Status Model
/// </summary>
public class PaymentStatusModel
{
/// <summary>
/// Gets or sets status
/// </summary>
public long? Status { get; set; }
/// <summary>
/// Gets or sets message
/// </summary>
public string? Message { get; set; }
/// <summary>
/// Gets or sets the msg.
/// </summary>
public string? Msg { get; set; }
/// <summary>
/// Gets or sets Result
/// </summary>
public ResultModel[] Result { get; set; } = null!;
/// <summary>
/// Gets or sets error code
/// </summary>
public object? ErrorCode { get; set; }
/// <summary>
/// Gets or sets response code
/// </summary>
public object? ResponseCode { get; set; }
/// <summary>
/// Gets or sets the data.
/// </summary>
public IList<object>? Details { get; set; }
/// <summary>
/// Gets or sets code
/// </summary>
public object? Code { get; set; }
/// <summary>
/// Gets or sets data
/// </summary>
public Data? Data { get; set; }
}
}
namespace Hims.Shared.UserModels.PayU
{
/// <summary>
/// The payout model.
/// </summary>
public class PayoutModel
{
/// <summary>
/// Gets or sets token
/// </summary>
public string Access_Token { get; set; }
/// <summary>
/// Gets or sets token type
/// </summary>
public string Token_Type { get; set; }
/// <summary>
/// Gets or sets Expires in
/// </summary>
public long? Expires_In { get; set; }
/// <summary>
/// Gets or sets refresh token
/// </summary>
public string Refresh_Token { get; set; }
/// <summary>
/// Gets or sets Scope
/// </summary>
public string Scope { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public decimal? Amount { get; set; }
/// <summary>
/// Gets or sets the merchant ref id.
/// </summary>
public string MerchantRefId { get; set; }
/// <summary>
/// Gets or sets the user name.
/// </summary>
public string UserName { get; set; }
/// <summary>
/// Gets or sets the email.
/// </summary>
public string Email { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public string Description { get; set; }
/// <summary>
/// Gets or sets the purpose.
/// </summary>
public string Purpose { get; set; }
/// <summary>
/// Gets or sets the batch id.
/// </summary>
public string BatchId { get; set; }
/// <summary>
/// Gets or sets the payment type.
/// </summary>
public string PaymentType { get; set; }
/// <summary>
/// Gets or sets the account number.
/// </summary>
public string AccountNumber { get; set; }
/// <summary>
/// Gets or sets the account number.
/// </summary>
public string IfscCode { get; set; }
/// <summary>
/// Gets or sets the page index.
/// </summary>
public int PageIndex { get; set; }
/// <summary>
/// Gets or sets the page size.
/// </summary>
public int PageSize { get; set; }
}
}
namespace Hims.Shared.UserModels.PayU
{
/// <summary>
/// The payout response.
/// </summary>
public class PayoutResponseModel
{
/// <summary>
/// Gets or sets the status.
/// </summary>
public int Status { get; set; }
/// <summary>
/// Gets or sets the msg.
/// </summary>
public string Msg { get; set; }
/// <summary>
/// Gets or sets the code.
/// </summary>
public object Code { get; set; }
/// <summary>
/// Gets or sets the data.
/// </summary>
public Data Data { get; set; }
}
}
namespace Hims.Shared.UserModels.PayU
{
/// <summary>
/// The Payout response model
/// </summary>
public class PayoutTokenResponseModel
{
/// <summary>
/// Gets or sets token
/// </summary>
public string Access_Token { get; set; }
/// <summary>
/// Gets or sets token type
/// </summary>
public string Token_Type { get; set; }
/// <summary>
/// Gets or sets Expires in
/// </summary>
public long Expires_In { get; set; }
/// <summary>
/// Gets or sets refresh token
/// </summary>
public string Refresh_Token { get; set; }
/// <summary>
/// Gets or sets Scope
/// </summary>
public string Scope { get; set; }
}
}
namespace Hims.Shared.UserModels.PayU
{
/// <summary>
/// The Result Model
/// </summary>
public class ResultModel
{
/// <summary>
/// Gets or sets merchantTransactionId
/// </summary>
public string MerchantTransactionId { get; set; }
/// <summary>
/// Gets or sets paymentId
/// </summary>
public long PaymentId { get; set; }
/// <summary>
/// Gets or sets status
/// </summary>
public string Status { get; set; }
/// <summary>
/// Gets or sets Amount
/// </summary>
public long Amount { get; set; }
}
}
namespace Hims.Shared.UserModels.PayU
{
using System;
/// <summary>
/// The transaction detail.
/// </summary>
public class TransactionDetail
{
/// <summary>
/// Gets or sets the txn id.
/// </summary>
public int? TxnId { get; set; }
/// <summary>
/// Gets or sets the batch id.
/// </summary>
public string BatchId { get; set; }
/// <summary>
/// Gets or sets the merchant ref id.
/// </summary>
public string MerchantRefId { get; set; }
/// <summary>
/// Gets or sets the purpose.
/// </summary>
public string Purpose { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public decimal? Amount { get; set; }
/// <summary>
/// Gets or sets the txn status.
/// </summary>
public string TxnStatus { get; set; }
/// <summary>
/// Gets or sets the txn date.
/// </summary>
public DateTime TxnDate { get; set; }
/// <summary>
/// Gets or sets the payu transaction ref no.
/// </summary>
public string PayuTransactionRefNo { get; set; }
/// <summary>
/// Gets or sets the beneficiary name.
/// </summary>
public string BeneficiaryName { get; set; }
/// <summary>
/// Gets or sets the msg.
/// </summary>
public string Msg { get; set; }
/// <summary>
/// Gets or sets the response code.
/// </summary>
public string ResponseCode { get; set; }
/// <summary>
/// Gets or sets the transfer type.
/// </summary>
public string TransferType { get; set; }
/// <summary>
/// Gets or sets the bank transaction ref no.
/// </summary>
public string BankTransactionRefNo { get; set; }
}
}
\ No newline at end of file
namespace Hims.Shared.UserModels.PayU
{
/// <summary>
/// The web hook.
/// </summary>
public class WebHook
{
/// <summary>
/// Gets or sets the event.
/// </summary>
public string Event { get; set; }
/// <summary>
/// Gets or sets the msg.
/// </summary>
public string Msg { get; set; }
/// <summary>
/// Gets or sets the current balance.
/// </summary>
public string CurrentBalance { get; set; }
/// <summary>
/// Gets or sets the alert time.
/// </summary>
public string AlertTime { get; set; }
/// <summary>
/// Gets or sets the event name.
/// </summary>
public string EventName { get; set; }
/// <summary>
/// Gets or sets the transfer id.
/// </summary>
public string TransferId { get; set; }
/// <summary>
/// Gets or sets the reference id.
/// </summary>
public string ReferenceId { get; set; }
/// <summary>
/// Gets or sets the payout merchant id.
/// </summary>
public string PayoutMerchantId { get; set; }
/// <summary>
/// Gets or sets the payu ref id.
/// </summary>
public string PayuRefId { get; set; }
/// <summary>
/// Gets or sets the merchant reference id.
/// </summary>
public string MerchantReferenceId { get; set; }
/// <summary>
/// Gets or sets the bank reference id.
/// </summary>
public string BankReferenceId { get; set; }
/// <summary>
/// Gets or sets the error code.
/// </summary>
public string ErrorCode { get; set; }
/// <summary>
/// Gets or sets the merchant misc id.
/// </summary>
public string MerchantMiscId { get; set; }
/// <summary>
/// Gets or sets the link id.
/// </summary>
public string LinkId { get; set; }
}
}
#nullable enable
namespace Hims.Shared.UserModels.PediatricEncounter
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Library.Enums;
using Shared.Dapper.Attributes;
/// <summary>
/// The encounter.
/// </summary>
public class PediatricEncounterFilterModel
{
/// <summary>
/// Gets or sets the id.
/// </summary>
public int? PediatricEncounterId { get; set; }
/// <summary>
/// Gets or sets the encounter id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the encrypted encounter id.
/// </summary>
public string? EncryptedEncounterId { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the encrypted appointment id.
/// </summary>
public string? EncryptedAppointmentId { get; set; }
/// <summary>
/// Gets or sets the encrypted appointment id.
/// </summary>
public string? EncryptedPatientId { get; set; }
/// <summary>
/// Gets or sets the encrypted provider id.
/// </summary>
public string? EncryptedProviderId { get; set; }
/// <summary>
/// Gets or sets the encounter type.
/// </summary>
public PediatricEncounterType Type { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is admission.
/// </summary>
/// <value>
/// <c>true</c> if this instance is admission; otherwise, <c>false</c>.
/// </value>
public bool IsAdmission { get; set; }
/// <summary>
/// Gets or sets the page index.
/// </summary>
public int? PageIndex { get; set; }
/// <summary>
/// Gets or sets the page size.
/// </summary>
public int? PageSize { get; set; }
}
}
\ No newline at end of file
#nullable enable
namespace Hims.Shared.UserModels.PediatricEncounter
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Library.Enums;
using Shared.Dapper.Attributes;
/// <summary>
/// The encounter.
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the pediatric encounter id.
/// </summary>
public int PediatricEncounterId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int? AdmissionId { get; set; }
/// <summary>
/// Gets or sets the login role Id.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the encounter date.
/// </summary>
public DateTime PediatricEncounterDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get ; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the isadmission.
/// </summary>
public bool IsAdmission { get; set; }
/// <summary>
/// Gets or sets the json string.
/// </summary>
public string JsonString { get; set; }
/// <summary>
/// Gets or sets the encounter type.
/// </summary>
public PediatricEncounterType Type { get; set; }
/// <summary>
/// Gets or sets the measurements.
/// </summary>
public string Measurements{ get; set; }
/// <summary>
/// Gets or sets the neonatalrisk.
/// </summary>
public string NeonatalRisk { get; set; }
/// <summary>
/// Gets or sets the pediatricrisk
/// </summary>
public string PediatricRisk { get; set; }
/// <summary>
/// Gets or sets the syndrome.
/// </summary>
public string Syndrome { get; set; }
/// <summary>
/// Gets or sets the syndrome.
/// </summary>
public string ClinicalExamination { get; set; }
/// <summary>
/// Gets or sets the syndrome.
/// </summary>
public string DownSyndromeFollowUp { get; set; }
/// <summary>
/// Gets or sets the high risk intial.
/// </summary>
public string HighRiskIntial { get; set; }
/// <summary>
/// Gets or sets the pediatric guide.
/// </summary>
public string PediatricGuide { get; set; }
/// <summary>
/// Gets or sets the pediatric guide.
/// </summary>
public string OrdersPrescription { get; set; }
/// <summary>
/// Gets or Sets ReferalOrder.
/// </summary>
public string? RefferalOrder { get; set; }
/// <summary>
/// Gets or Sets ReferalOrder.
/// </summary>
public string? DiagnosisOrder { get; set; }
/// <summary>
/// Gets or Sets ReferalOrder.
/// </summary>
public string? NextVisitOrder { get; set; }
/// <summary>
/// Gets or Sets SpecialFeatures.
/// </summary>
public string? SpecialFeatures { get; set; }
/// <summary>
/// Gets or Sets MChat
/// </summary>
public string? MChat { get; set; }
public string CreatedByName { get; set; }
}
}
\ No newline at end of file
#nullable enable
namespace Hims.Shared.UserModels.PediatricEncounter
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Library.Enums;
using Shared.Dapper.Attributes;
/// <summary>
/// The encounter.
/// </summary>
public class PediatricEncounterResource
{
/// <summary>
/// Gets or sets the id.
/// </summary>
public int? PediatricEncounterId { get; set; }
/// <summary>
/// Gets or sets the value.
/// </summary>
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets the value.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the json.
/// </summary>
public string? JsonString { get; set; }
/// <summary>
/// Gets or sets the encrypted appointment id.
/// </summary>
public string? EncryptedAppointmentId { get; set; }
}
}
\ No newline at end of file
using System;
namespace Hims.Shared.UserModels.PediatricEncounter
{
/// <summary>
/// The pediatric measurement model.
/// </summary>
public class PediatricMeasurmentModel
{
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { 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 measurements.
/// </summary>
/// <value>
/// The measurements.
/// </value>
public string Measurements { get; set; }
/// <summary>
/// Gets or sets the name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
}
}
namespace Hims.Shared.UserModels.PediatricGraphs
{
using System;
/// <summary>
/// The pediatric age wise data model.
/// </summary>
public class PediatricAgeWiseDataModel
{
/// <summary>
/// Gets or sets the pediatric age wise data identifier.
/// </summary>
/// <value>
/// The pediatric age wise data identifier.
/// </value>
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 is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool? Active { 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 name of the type.
/// </summary>
/// <value>
/// The name of the type.
/// </value>
public string TypeName { get; set; }
/// <summary>
/// Gets or sets the l.
/// </summary>
/// <value>
/// The l.
/// </value>
public double? L { get; set; }
/// <summary>
/// Gets or sets the m.
/// </summary>
/// <value>
/// The m.
/// </value>
public double? M { get; set; }
/// <summary>
/// Gets or sets the P999.
/// </summary>
/// <value>
/// The P999.
/// </value>
public double? P999 { get; set; }
/// <summary>
/// Gets or sets the P01.
/// </summary>
/// <value>
/// The P01.
/// </value>
public double? P01 { get; set; }
/// <summary>
/// Gets or sets the P10.
/// </summary>
/// <value>
/// The P10.
/// </value>
public double? P10 { get; set; }
/// <summary>
/// Gets or sets the P90.
/// </summary>
/// <value>
/// The P90.
/// </value>
public double? P90 { get; set; }
}
}
namespace Hims.Shared.UserModels.PediatricGraphs
{
using System;
/// <summary>
/// The pediatric age wise data model z score.
/// </summary>
public class PediatricAgeWiseDataZScoreModel
{
/// <summary>
/// Gets or sets the pediatric age wise data identifier.
/// </summary>
/// <value>
/// The pediatric age wise data identifier.
/// </value>
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 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 is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool? Active { 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 name of the type.
/// </summary>
/// <value>
/// The name of the type.
/// </value>
public string TypeName { get; set; }
/// <summary>
/// Gets or sets the l.
/// </summary>
/// <value>
/// The l.
/// </value>
public double? L { get; set; }
/// <summary>
/// Gets or sets the m.
/// </summary>
/// <value>
/// The m.
/// </value>
public double? M { get; set; }
/// <summary>
/// Gets or sets the sd.
/// </summary>
/// <value>
/// The sd.
/// </value>
public double? SD { get; set; }
/// <summary>
/// Gets or sets the s.
/// </summary>
/// <value>
/// The s.
/// </value>
public double? S { get; set; }
/// <summary>
/// Gets or sets the minus3 sd.
/// </summary>
/// <value>
/// The minus3 sd.
/// </value>
public double? Minus3SD { get; set; }
/// <summary>
/// Gets or sets the minus2 sd.
/// </summary>
/// <value>
/// The minus2 sd.
/// </value>
public double? Minus2SD { get; set; }
/// <summary>
/// Gets or sets the minus1 sd.
/// </summary>
/// <value>
/// The minus1 sd.
/// </value>
public double? Minus1SD { get; set; }
/// <summary>
/// Gets or sets the median.
/// </summary>
/// <value>
/// The median.
/// </value>
public double? Median { get; set; }
/// <summary>
/// Gets or sets the one sd.
/// </summary>
/// <value>
/// The one sd.
/// </value>
public double? OneSD { get; set; }
/// <summary>
/// Gets or sets the two sd.
/// </summary>
/// <value>
/// The two sd.
/// </value>
public double? TwoSD { get; set; }
/// <summary>
/// Gets or sets the three sd.
/// </summary>
/// <value>
/// The three sd.
/// </value>
public double? ThreeSD { get; set; }
}
}
namespace Hims.Shared.UserModels.PediatricGraphs
{
/// <summary>
/// The pediatric base display model.
/// </summary>
public class PediatricBaseDisplayModel
{
/// <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 pediatric chart authority identifier.
/// </summary>
/// <value>
/// The pediatric chart authority identifier.
/// </value>
public int PediatricChartAuthorityId { 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 the name of the authority.
/// </summary>
/// <value>
/// The name of the authority.
/// </value>
public string AuthorityName { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.PediatricGraphs
{
/// <summary>
/// The pediatric chart authority model.
/// </summary>
public class PediatricChartAuthorityModel
{
/// <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 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="PediatricChartAuthorityModel"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool? Active { get; set; }
/// <summary>
/// Gets or sets the name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the name of the modified by.
/// </summary>
/// <value>
/// The name of the modified by.
/// </value>
public string ModifiedByName { get; set; }
}
}
namespace Hims.Shared.UserModels.PediatricGraphs
{
/// <summary>
/// The pediatric chart type model.
/// </summary>
public class PediatricChartTypeModel
{
/// <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 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.Shared.UserModels.Pharmacy
{
using System.Collections.Generic;
/// <summary>
/// The added purchase bill from excel model.
/// </summary>
public class AddedPurchaseBillFromExcelModel
{
/// <summary>
/// Gets or sets the bill number.
/// </summary>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the pharmacy purchase header id.
/// </summary>
public int? PharmacyPurchaseHeaderId { get; set; }
/// <summary>
/// Gets or sets the bills.
/// </summary>
public List<PharmacyBillModel> Bills { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
/// <summary>
/// The department consumption model.
/// </summary>
public class DepartmentConsumptionModel
{
/// <summary>
/// Gets or sets the department consumption identifier.
/// </summary>
/// <value>
/// The department consumption identifier.
/// </value>
public int DepartmentConsumptionId { get; set; }
/// <summary>
/// Gets or sets the pharmacy departmental stock identifier.
/// </summary>
/// <value>
/// The pharmacy departmental stock identifier.
/// </value>
public int? PharmacyDepartmentalStockId { get; set; }
/// <summary>
/// Gets or sets the quantity consumed.
/// </summary>
/// <value>
/// The quantity consumed.
/// </value>
public int QuantityConsumed { get; set; }
/// <summary>
/// Gets or sets the consumed by.
/// </summary>
/// <value>
/// The consumed by.
/// </value>
public int? ConsumedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the reason for consumption.
/// </summary>
/// <value>
/// The reason for consumption.
/// </value>
public string ReasonForConsumption { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the name of the consumed by.
/// </summary>
/// <value>
/// The name of the consumed by.
/// </value>
public string ConsumedByName { get; set; }
/// <summary>
/// Gets or sets the consumed by role.
/// </summary>
/// <value>
/// The consumed by role.
/// </value>
public string ConsumedByRole { get; set; }
/// <summary>
/// Gets or sets the name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the created by role.
/// </summary>
/// <value>
/// The created by role.
/// </value>
public string CreatedByRole { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int TotalItems { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the index of the page.
/// </summary>
/// <value>
/// The index of the page.
/// </value>
public int? PageIndex { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
/// <value>
/// The batch number.
/// </value>
public string BatchNumber { get; set; }
/// <summary>
/// Gets or sets the expiry date.
/// </summary>
/// <value>
/// The expiry date.
/// </value>
public DateTime? ExpiryDate { get; set; }
/// <summary>
/// Gets or sets the stock credited date.
/// </summary>
/// <value>
/// The stock credited date.
/// </value>
public DateTime StockCreditedDate { get; set; }
/// <summary>
/// Gets or sets the name of the product.
/// </summary>
/// <value>
/// The name of the product.
/// </value>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the name of the category.
/// </summary>
/// <value>
/// The name of the category.
/// </value>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the name of the generic.
/// </summary>
/// <value>
/// The name of the generic.
/// </value>
public string GenericName { get; set; }
/// <summary>
/// Gets or sets the tax percentage.
/// </summary>
/// <value>
/// The tax percentage.
/// </value>
public int TaxPercentage { 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 from date.
/// </summary>
/// <value>
/// From date.
/// </value>
public string FromDate { get; set; }
/// <summary>
/// Converts to date.
/// </summary>
/// <value>
/// To date.
/// </value>
public string ToDate { get; set; }
/// <summary>
/// Gets or sets the pharmacy product ids.
/// </summary>
/// <value>
/// The pharmacy product ids.
/// </value>
public string PharmacyProductIds { get; set; }
/// <summary>
/// Gets or sets the pharmacy department identifier.
/// </summary>
/// <value>
/// The pharmacy department identifier.
/// </value>
public int? PharmacyDepartmentId { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
/// <summary>
/// The drug model.
/// </summary>
public class DrugModel
{
/// <summary>
/// Gets or sets the name of the drug.
/// </summary>
/// <value>
/// The name of the drug.
/// </value>
public string DrugName { get; set; }
/// <summary>
/// Gets or sets the name of the company.
/// </summary>
/// <value>
/// The name of the company.
/// </value>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets the packaging of medicines.
/// </summary>
/// <value>
/// The packaging of medicines.
/// </value>
public string PackagingOfMedicines { get; set; }
/// <summary>
/// Gets or sets the type of the medicine.
/// </summary>
/// <value>
/// The type of the medicine.
/// </value>
public string MedicineType { get; set; }
/// <summary>
/// Gets or sets the composition.
/// </summary>
/// <value>
/// The composition.
/// </value>
public string Composition { get; set; }
/// <summary>
/// Gets or sets the alchohol interaction.
/// </summary>
/// <value>
/// The alchohol interaction.
/// </value>
public string AlchoholInteraction { get; set; }
/// <summary>
/// Gets or sets the pregnancy interaction.
/// </summary>
/// <value>
/// The pregnancy interaction.
/// </value>
public string PregnancyInteraction { get; set; }
/// <summary>
/// Gets or sets the expert advice.
/// </summary>
/// <value>
/// The expert advice.
/// </value>
public string ExpertAdvice { get; set; }
/// <summary>
/// Gets or sets the common side effects.
/// </summary>
/// <value>
/// The common side effects.
/// </value>
public string CommonSideEffects { get; set; }
/// <summary>
/// Gets or sets the medicine FAQ.
/// </summary>
/// <value>
/// The medicine FAQ.
/// </value>
public string MedicineFaq { get; set; }
/// <summary>
/// Gets or sets the medicine interaction.
/// </summary>
/// <value>
/// The medicine interaction.
/// </value>
public string MedicineInteraction { get; set; }
/// <summary>
/// Gets or sets the usage.
/// </summary>
/// <value>
/// The usage.
/// </value>
public string Usage { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System.Collections.Generic;
/// <summary>
/// The excel pharmacy product.
/// </summary>
public class ExcelPharmacyProduct
{
/// <summary>
/// Gets or sets the products.
/// </summary>
public List<RawProductsModel> Products { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the excel upload history id.
/// </summary>
public int ExcelUploadHistoryId { get; set; }
/// <summary>
/// Gets or sets the sheet name.
/// </summary>
public string SheetName { get; set; }
/// <summary>
/// Gets or sets the value indicating is create log.
/// </summary>
public bool IsCreateLog { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System.Collections.Generic;
/// <summary>
/// The excel pharmacy product.
/// </summary>
public class ExcelPharmacyProductWithPurchaseBillModel
{
/// <summary>
/// Gets or sets the purchase bills.
/// </summary>
public List<RawPurchaseBillModel> PurchaseBills { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the excel upload history id.
/// </summary>
public int ExcelUploadHistoryId { get; set; }
/// <summary>
/// Gets or sets the sheet name.
/// </summary>
public string SheetName { get; set; }
/// <summary>
/// Gets or sets the value indicating is create log.
/// </summary>
public bool IsCreateLog { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System.Collections.Generic;
/// <summary>
/// The excel retail stock sheet model.
/// </summary>
public class ExcelRetailStockSheetModel
{
/// <summary>
/// Gets or sets the location.
/// </summary>
/// <value>
/// The location.
/// </value>
public string Location { get; set; }
/// <summary>
/// Gets or sets the pharmacy ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int PharmacyWareHouseId { get; set; }
/// <summary>
/// Gets or sets the retail pharmacy identifier.
/// </summary>
/// <value>
/// The retail pharmacy identifier.
/// </value>
public int RetailPharmacyId { get; set; }
/// <summary>
/// Gets or sets the data.
/// </summary>
/// <value>
/// The data.
/// </value>
public List<RawProductsModel> Data { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.Pharmacy
{
/// <summary>
/// The excel retail store sheet model.
/// </summary>
public class ExcelRetailStoreSheetModel
{
/// <summary>
/// Gets or sets the stores.
/// </summary>
/// <value>
/// The stores.
/// </value>
public List<RetailStoreFromExcelModel> Stores { get; set; }
/// <summary>
/// Gets or sets the departments.
/// </summary>
/// <value>
/// The departments.
/// </value>
public List<DepartmentFromExcelModel> Departments { get; set; }
/// <summary>
/// Gets or sets the retail stock.
/// </summary>
/// <value>
/// The retail stock.
/// </value>
public List<ExcelRetailStockSheetModel> RetailStock { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the excel upload history id.
/// </summary>
public int ExcelUploadHistoryId { get; set; }
/// <summary>
/// Gets or sets the sheet name.
/// </summary>
public string SheetName { get; set; }
/// <summary>
/// Gets or sets the value indicating is create log.
/// </summary>
public bool IsCreateLog { get; set; }
}
/// <summary>
/// The retail store from excel model.
/// </summary>
public class RetailStoreFromExcelModel
{
/// <summary>
/// Gets or sets the matched warehouses.
/// </summary>
/// <value>
/// The matched warehouses.
/// </value>
public List<string> MatchedWarehouses { get; set; }
/// <summary>
/// Gets or sets the location.
/// </summary>
/// <value>
/// The location.
/// </value>
public string Location { get; set; }
/// <summary>
/// Gets or sets the retail store.
/// </summary>
/// <value>
/// The retail store.
/// </value>
public string RetailStore { get; set; }
}
/// <summary>
/// The department from excel model.
/// </summary>
public class DepartmentFromExcelModel
{
/// <summary>
/// Gets or sets the name of the department.
/// </summary>
/// <value>
/// The name of the department.
/// </value>
public string DepartmentName { get; set; }
/// <summary>
/// Gets or sets the location.
/// </summary>
/// <value>
/// The location.
/// </value>
public string Location { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Pharmacy
{
/// <summary>
/// The med frequency master model.
/// </summary>
public class MedFrequencyMasterModel
{
/// <summary>
/// Gets or sets the med frequency master identifier.
/// </summary>
/// <value>
/// The med frequency master identifier.
/// </value>
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="MedFrequencyMasterModel"/> 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 name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
using System.Collections.Generic;
/// <summary>
/// The new sales bill.
/// </summary>
public class NewSalesBill
{
/// <summary>
/// Gets or sets the pharmacy sale header id.
/// </summary>
public int? PharmacySaleHeaderId { 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 provider id.
/// </summary>
public int? ProviderId { get; set; }
/// <summary>
/// Gets or sets the bill type.
/// </summary>
public string BillType { get; set; }
/// <summary>
/// Gets or sets the paid via.
/// </summary>
public string PaidVia { get; set; }
/// <summary>
/// Gets or sets the sale date.
/// </summary>
public DateTime SaleDate { get; set; }
/// <summary>
/// Gets or sets the bill number.
/// </summary>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string PatientName { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string PatientMobile { get; set; }
/// <summary>
/// Gets or sets the provider name.
/// </summary>
public string ProviderName { get; set; }
/// <summary>
/// Gets or sets the login Account value id.
/// </summary>
public int? LoginAccountId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the login Role value id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the overall total.
/// </summary>
public double OverallTotal { get; set; }
/// <summary>
/// Gets or sets the overall net amount.
/// </summary>
public double OverallNetAmount { get; set; }
/// <summary>
/// Gets or sets the overall discount.
/// </summary>
public double? OverallDiscount { get; set; }
/// <summary>
/// Gets or sets the overall tax.
/// </summary>
public double OverallTax { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int PayTypeId { get; set; }
/// <summary>
/// Gets or sets the Payment number.
/// </summary>
public string PaymentNumber { get; set; }
/// <summary>
/// Gets or sets the products.
/// </summary>
public List<NewSaleBillProductModel> Products { get; set; }
/// <summary>
/// Gets or sets the Specialization Id.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the total.
/// </summary>
public double? TotalAmount { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public string TransactionId { get; set; }
/// <summary>
/// Gets or sets the transaction.
/// </summary>
public string Transaction { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public int? SalucroStatusCode { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public string SalucroTransactionId { get; set; }
/// <summary>
/// Gets or sets the Payment status.
/// </summary>
public bool PaymentStatus { get; set; }
/// <summary>
/// Gets or sets the payment initiation log identifier.
/// </summary>
/// <value>
/// The payment initiation log identifier.
/// </value>
public int? PaymentInitiationLogId { get; set; }
/// <summary>
/// Gets or sets the is salucro bill.
/// </summary>
public bool IsSalucroBill { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public string ProductList { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public string TypeOfPayment { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public string ReasonForDiscount { get; set; }
}
/// <summary>
/// The new sale bill product model.
/// </summary>
public class NewSaleBillProductModel
{
/// <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 pharmacy retail stock id.
/// </summary>
public int PharmacyRetailStockId { get; set; }
/// <summary>
/// Gets or sets the mrp.
/// </summary>
public double? Mrp { get; set; }
/// <summary>
/// Gets or sets the tax percentage.
/// </summary>
public string TaxPercentage { get; set; }
/// <summary>
/// Gets or sets the quantity.
/// </summary>
public int Quantity { get; set; }
/// <summary>
/// Gets or sets the total.
/// </summary>
public double? Total { get; set; }
/// <summary>
/// Gets or sets the tax amount.
/// </summary>
public double? TaxAmount { get; set; }
/// <summary>
/// Gets or sets the discount per item.
/// </summary>
public double? DiscountPerItem { get; set; }
/// <summary>
/// Gets or sets the discount.
/// </summary>
public double? Discount { get; set; }
/// <summary>
/// Gets or sets the net amount.
/// </summary>
public double? NetAmount { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.Pharmacy
{
/// <summary>
/// The patient sale bill.
/// </summary>
public class PatienSaleBill1
{
/// <summary>
/// Gets or sets the pharmacy sale header id.
/// </summary>
public int? PharmacySaleHeaderId { get; set; }
/// <summary>
/// Gets or sets the bill number.
/// </summary>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the Payment type.
/// </summary>
public string PaidVia { get; set; }
/// <summary>
/// Gets or sets the payment number.
/// </summary>
public string PaymentNumber { get; set; }
/// <summary>
/// Gets or sets the sale date
/// </summary>
public DateTime SaleDate { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string PatientName { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the umr no.
/// </summary>
public string UMRNo { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the provider name.
/// </summary>
public string ProviderName { get; set; }
/// <summary>
/// Gets or sets the created by name
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the role.
/// </summary>
public string Role { get; set; }
/// <summary>
/// Gets or sets the account id.
/// </summary>
public int AccountId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public string? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the total amount.
/// </summary>
public double TotalAmount { get; set; }
/// <summary>
/// Gets or sets the pharmacy bill type.
/// </summary>
public bool PharmacyBillType { get; set; }
/// <summary>
/// Gets or sets the sale return header id.
/// </summary>
public string SaleReturnHeaderId { get; set; }
/// <summary>
/// Gets or sets the total gst.
/// </summary>
public double TotalGST { get; set; }
/// <summary>
/// Gets or sets the retail name.
/// </summary>
public string RetailName { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int? TotalItems { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the index of the page.
/// </summary>
/// <value>
/// The index of the page.
/// </value>
public int? PageIndex { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
/// <summary>
/// The pharmacy sale bill.
/// </summary>
public class PharmaPurchaseBill
{
/// <summary>
/// Gets or sets the pharmacy product id.
/// </summary>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the BillNumber .
/// </summary>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the BillNumber .
/// </summary>
public string BillType { get; set; }
/// <summary>
/// Gets or sets the pharmacy product Name.
/// </summary>
///
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the GenericName Name.
/// </summary>
public string GenericName { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
public string BatchNumber { get; set; }
/// <summary>
/// Gets or sets the Barcode.
/// </summary>
public string Barcode { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the BillDate .
/// </summary>
public DateTime BillDate { get; set; }
/// <summary>
/// Gets or sets the CategoryName.
/// </summary>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the CompanyName.
/// </summary>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets the Supplier id.
/// </summary>
public int SupplierId { get; set; }
/// <summary>
/// Gets or sets the Supplier Name.
/// </summary>
public string SupplierName { get; set; }
/// <summary>
/// Gets or sets the quantity.
/// </summary>
public int Quantity { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public int Free { get; set; }
/// <summary>
/// Gets or sets the mrp.
/// </summary>
public double Mrp { get; set; }
/// <summary>
/// Gets or sets the purchase rate.
/// </summary>
public double PurchaseRate { get; set; }
/////////////////////////////////////////////////////////////////
/// <summary>
/// Gets or sets the total.for purchase product
/// </summary>
public double Total { get; set; }
/// <summary>
/// Gets or sets the tax amount for per purchase product.
/// </summary>
public double TaxAmount { get; set; }
/// <summary>
/// Gets or sets the discount amount for per purchase product.
/// </summary>
public double DiscountAmount { get; set; }
/// <summary>
/// Gets or sets the net amount for per purchase product..
/// </summary>
public double NetAmount { get; set; }
///////////////////////////////////////////////////////////////
/// <summary>
/// Gets or sets the total for purchase Bill.
/// </summary>
public double BillTotal { get; set; }
/// <summary>
/// Gets or sets the tax amount for purchase Bill.
/// </summary>
public double BillTaxes { get; set; }
/// <summary>
/// Gets or sets the discount amount for purchase Bill.
/// </summary>
public double? BillDiscount { get; set; }
/// <summary>
/// Gets or sets the net amount for purchase Bill.
/// </summary>
public double BillNetAmount { get; set; }
//////////////////////////////////////////////////ReTurn/////////
/// <summary>
/// Gets or sets the ReTurn quantity for per product.
/// </summary>
public int ReturnQuantity { get; set; }
/// <summary>
/// Gets or sets the Return date for per product.
/// </summary>
public DateTime ReturnDate { get; set; }
/// <summary>
/// Gets or sets the Return total for per product
/// </summary>
public double ReturnTotal { get; set; }
/// <summary>
/// Gets or sets the Return NetAmount include (tax& discount)for per product
/// </summary>
public double ReturnNetAmount { get; set; }
/////////////////////////////////////////////////////////////////
/// <summary>
/// Gets or sets the Return OverallBillAmount.
/// </summary>
public double OverallBillAmount { get; set; }
/// <summary>
/// Gets or sets the Return OverallTaxes amount.
/// </summary>
public double OverallTaxes { get; set; }
/// <summary>
/// Gets or sets the Return OverallDiscount amount.
/// </summary>
public double OverallDiscount { get; set; }
/// <summary>
/// Gets or sets the Return OverallNetamount.
/// </summary>
public double OverallNetamount { get; set; }
public string LocationName { get; set; }
}
}
#nullable enable
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
/// <summary>
/// The pharmacy dashboard model.
/// </summary>
public class PharmacyDashboardModel
{
/// <summary>
/// Gets or sets the product group for tender identifier.
/// </summary>
/// <value>
/// The product group for tender identifier.
/// </value>
public int? ProductGroupForTenderId { get; set; }
/// <summary>
/// Gets or sets the available qty.
/// </summary>
/// <value>
/// The available qty.
/// </value>
public int AvailableQty { get; set; }
/// <summary>
/// Gets or sets the product name.
/// </summary>
public string? ProductName { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
public string? BatchNumber { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
/// <value>
/// The status.
/// </value>
public string? Status { get; set; }
/// <summary>
/// Gets or sets the expiry date.
/// </summary>
public DateTime? ExpiryDate { get; set; }
/// <summary>
/// Gets or sets the barcode.
/// </summary>
public string? Barcode { get; set; }
/// <summary>
/// Gets or sets the generic name.
/// </summary>
public string? GenericName { get; set; }
/// <summary>
/// Gets or sets the rol quantity.
/// </summary>
public int RolQuantity { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
public int TotalItems { get; set; }
/// <summary>
/// Gets or sets the pharmacy Product Id.
/// </summary>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the name of the retail.
/// </summary>
/// <value>
/// The name of the retail.
/// </value>
public string? RetailName { get; set; }
/// <summary>
/// Gets or sets the name of the ware house.
/// </summary>
/// <value>
/// The name of the ware house.
/// </value>
public string? WareHouseName { get; set; }
/// <summary>
/// Gets or sets the pharmacy ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int? PharmacyWareHouseId { get; set; }
/// <summary>
/// Gets or sets the retail pharmacy identifier.
/// </summary>
/// <value>
/// The retail pharmacy identifier.
/// </value>
public int? RetailPharmacyId { get; set; }
/// <summary>
/// Gets or sets the 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 category name.
/// </summary>
public string? CategoryName { get; set; }
/// <summary>
/// Gets or sets the retail store name.
/// </summary>
public string? RetailStoreName { get; set; }
/// <summary>
/// Gets or sets the stock identifier.
/// </summary>
/// <value>
/// The stock identifier.
/// </value>
public string? StockId { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
using System.Collections.Generic;
/// <summary>
/// The pharmacy department model.
/// </summary>
public class PharmacyDepartmentModel
{
/// <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 pharmacy department ids.
/// </summary>
/// <value>
/// The pharmacy department ids.
/// </value>
public string PharmacyDepartmentIds { 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 name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="PharmacyDepartmentModel"/> 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 the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int? LoginAccountId { 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 name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { 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 name of the modified by.
/// </summary>
/// <value>
/// The name of the modified by.
/// </value>
public string ModifiedByName { 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 login role id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the user ids.
/// </summary>
/// <value>
/// The user ids.
/// </value>
public string UserIds { get; set; }
/// <summary>
/// Gets or sets the users.
/// </summary>
/// <value>
/// The users.
/// </value>
public List<PharmacyDepartmentUserModel> Users { get; set; }
/// <summary>
/// Gets or sets the account based access identifier.
/// </summary>
/// <value>
/// The account based access identifier.
/// </value>
public int? AccountBasedAccessId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is uploaded.
/// </summary>
/// <value>
/// <c>true</c> if this instance is uploaded; otherwise, <c>false</c>.
/// </value>
public bool IsUploaded { get; set; }
/// <summary>
/// Gets or sets the name of the location.
/// </summary>
/// <value>
/// The name of the location.
/// </value>
public string LocationName { get; set; }
}
/// <summary>
/// The pharmacy department user model.
/// </summary>
public class PharmacyDepartmentUserModel
{
/// <summary>
/// Gets or sets the pharmacy department user identifier.
/// </summary>
/// <value>
/// The pharmacy department user identifier.
/// </value>
public int? PharmacyDepartmentUserId { get; set; }
/// <summary>
/// Gets or sets the inventory department user identifier.
/// </summary>
/// <value>
/// The inventory department user identifier.
/// </value>
public int? InventoryDepartmentUserId { 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 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; }
/// <summary>
/// Gets or sets the full name.
/// </summary>
/// <value>
/// The full name.
/// </value>
public string FullName { get; set; }
/// <summary>
/// Gets or sets the name of the role.
/// </summary>
/// <value>
/// The name of the role.
/// </value>
public string RoleName { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
/// <summary>
/// The pharmacy departmental stock model.
/// </summary>
public class PharmacyDepartmentalStockModel
{
/// <summary>
/// Gets or sets the pharmacy departmental stock identifier.
/// </summary>
/// <value>
/// The pharmacy departmental stock identifier.
/// </value>
public int PharmacyDepartmentalStockId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product identifier.
/// </summary>
/// <value>
/// The pharmacy product identifier.
/// </value>
public int PharmacyProductId { 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 created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the tax percentage.
/// </summary>
/// <value>
/// The tax percentage.
/// </value>
public int TaxPercentage { get; set; }
/// <summary>
/// Gets or sets the available quantity.
/// </summary>
/// <value>
/// The available quantity.
/// </value>
public int AvailableQuantity { get; set; }
/// <summary>
/// Gets or sets the pharmacy stock identifier.
/// </summary>
/// <value>
/// The pharmacy stock identifier.
/// </value>
public int? PharmacyStockId { 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 pharmacy retail stock identifier.
/// </summary>
/// <value>
/// The pharmacy retail stock identifier.
/// </value>
public int? PharmacyRetailStockId { 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 modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { 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 pharmacy product detail identifier.
/// </summary>
/// <value>
/// The pharmacy product detail identifier.
/// </value>
public int? PharmacyProductDetailId { get; set; }
/// <summary>
/// Gets or sets the name of the product.
/// </summary>
/// <value>
/// The name of the product.
/// </value>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the name of the department.
/// </summary>
/// <value>
/// The name of the department.
/// </value>
public string DepartmentName { get; set; }
/// <summary>
/// Gets or sets the name of the generic.
/// </summary>
/// <value>
/// The name of the generic.
/// </value>
public string GenericName { 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 name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the barcode.
/// </summary>
/// <value>
/// The barcode.
/// </value>
public string Barcode { get; set; }
/// <summary>
/// Gets or sets the name of the modified by.
/// </summary>
/// <value>
/// The name of the modified by.
/// </value>
public string ModifiedByName { 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 total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int TotalItems { 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 MRP.
/// </summary>
/// <value>
/// The MRP.
/// </value>
public double Mrp { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the index of the page.
/// </summary>
/// <value>
/// The index of the page.
/// </value>
public int? PageIndex { get; set; }
/// <summary>
/// Gets or sets the name of the category.
/// </summary>
/// <value>
/// The name of the category.
/// </value>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the unavailable stock.
/// </summary>
/// <value>
/// The unavailable stock.
/// </value>
public string UnavailableStock { get; set; }
/// <summary>
/// Gets or sets the search parameter.
/// </summary>
/// <value>
/// The search parameter.
/// </value>
public string SearchParam { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
/// <summary>
/// The pharmacy doctor collection model.
/// </summary>
public class PharmacyDoctorCollection
{
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the provider name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the collection.
/// </summary>
public int Collection { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
/// <summary>
/// The pharmacy doctor collection model.
/// </summary>
public class PharmacyEmployeeCollection
{
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int AccountId { get; set; }
/// <summary>
/// Gets or sets the provider name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the role name.
/// </summary>
public string Role { get; set; }
/// <summary>
/// Gets or sets the collection.
/// </summary>
public int Collection { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
/// <summary>
/// The pharmacy explorer model.
/// </summary>
public class PharmacyExplorerModel
{
/// <summary>
/// Gets or sets the pharmacy product id.
/// </summary>
public int? PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product name.
/// </summary>
public string? ProductName { get; set; }
/// <summary>
/// Gets or sets the Product Percentage
/// </summary>
public string? ProdPercentage { get; set; }
/// <summary>
/// Gets or sets the pharmacy category id.
/// </summary>
public int? CategoryId { get; set; }
/// <summary>
/// Gets or sets the category name.
/// </summary>
public string? CategoryName { get; set; }
/// <summary>
/// Gets or sets the category Percentage
/// </summary>
public string? CatPercentage { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
using System.Collections.Generic;
/// <summary>
/// The pharmacy issued stock header model.
/// </summary>
public class PharmacyIssuedStockHeaderModel
{
/// <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 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 name of the issued by.
/// </summary>
/// <value>
/// The name of the issued by.
/// </value>
public string IssuedByName { 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; }
/// <summary>
/// Gets or sets the name of the indent raised by.
/// </summary>
/// <value>
/// The name of the indent raised by.
/// </value>
public string IndentRaisedByName { get; set; }
/// <summary>
/// Gets or sets the indent created date.
/// </summary>
/// <value>
/// The indent created date.
/// </value>
public DateTime IndentCreatedDate { get; set; }
/// <summary>
/// Gets or sets the name of the hand over.
/// </summary>
/// <value>
/// The name of the hand over.
/// </value>
public string HandOverName { get; set; }
/// <summary>
/// Gets or sets the raised from location.
/// </summary>
/// <value>
/// The raised from location.
/// </value>
public string RaisedFromLocation { get; set; }
/// <summary>
/// Gets or sets the raised for retail.
/// </summary>
/// <value>
/// The raised for retail.
/// </value>
public string RaisedForRetail { get; set; }
/// <summary>
/// Gets or sets the approved from ware house.
/// </summary>
/// <value>
/// The approved from ware house.
/// </value>
public string ApprovedFromWareHouse { get; set; }
/// <summary>
/// Gets or sets the reason for requirement.
/// </summary>
/// <value>
/// The reason for requirement.
/// </value>
public string ReasonForRequirement { get; set; }
/// <summary>
/// Gets or sets the raised for department.
/// </summary>
/// <value>
/// The raised for department.
/// </value>
public string RaisedForDepartment { get; set; }
/// <summary>
/// Gets or sets the name of the received by.
/// </summary>
/// <value>
/// The name of the received by.
/// </value>
public string ReceivedByName { get; set; }
/// <summary>
/// Gets or sets the products.
/// </summary>
/// <value>
/// The products.
/// </value>
public List<PharmacyIssuedStockDetailModel> Products { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int TotalItems { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the index of the page.
/// </summary>
/// <value>
/// The index of the page.
/// </value>
public int? PageIndex { get; set; }
}
/// <summary>
/// The pharmacy issued stock detail model.
/// </summary>
public class PharmacyIssuedStockDetailModel
{
/// <summary>
/// Gets or sets the pharmacy issued stock detail identifier.
/// </summary>
/// <value>
/// The pharmacy issued stock detail identifier.
/// </value>
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; }
/// <summary>
/// Gets or sets the name of the product.
/// </summary>
/// <value>
/// The name of the product.
/// </value>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the name of the generic.
/// </summary>
/// <value>
/// The name of the generic.
/// </value>
public string GenericName { get; set; }
/// <summary>
/// Gets or sets the category.
/// </summary>
/// <value>
/// The category.
/// </value>
public string Category { get; set; }
/// <summary>
/// Gets or sets the tax percentage.
/// </summary>
/// <value>
/// The tax percentage.
/// </value>
public string TaxPercentage { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
/// <summary>
/// The Pharmacy product detail model.
/// </summary>
public class PharmacyProductDetailModel
{
/// <summary>
/// Gets or sets the pharmacy product detail identifier.
/// </summary>
/// <value>
/// The pharmacy product detail identifier.
/// </value>
public int PharmacyProductDetailId { 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 department identifier.
/// </summary>
/// <value>
/// The pharmacy department identifier.
/// </value>
public int? PharmacyDepartmentId { get; set; }
/// <summary>
/// Gets or sets the name of the product.
/// </summary>
/// <value>
/// The name of the product.
/// </value>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the name of the generic.
/// </summary>
/// <value>
/// The name of the generic.
/// </value>
public string GenericName { 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 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 created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified by Name.
/// </summary>
/// <value>
/// The created by.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the retail pharmacy identifier.
/// </summary>
/// <value>
/// The retail pharmacy identifier.
/// </value>
public int? RetailPharmacyId { get; set; }
/// <summary>
/// Gets or sets the pharmacy ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int? PharmacyWareHouseId { get; set; }
/// <summary>
/// Gets or sets the name of the rack.
/// </summary>
/// <value>
/// The name of the rack.
/// </value>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the login role identifier.
/// </summary>
/// <value>
/// The pharmacy login role identifier.
/// </value>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the login account id identifier.
/// </summary>
/// <value>
/// The pharmacy login account id identifier.
/// </value>
public int? LoginAccountId { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
/// <summary>
/// The pharmacy sale bill.
/// </summary>
public class PharmacyProductProfit
{
/// <summary>
/// Gets or sets the pharmacy product id.
/// </summary>
public int? PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product Name.
/// </summary>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the pharmacy retail stock id.
/// </summary>
public int PharmacyRetailStockId { get; set; }
/// <summary>
/// Gets or sets the mrp.
/// </summary>
public double Mrp { get; set; }
/// <summary>
/// Gets or sets the purchase rate.
/// </summary>
public double PurchaseRate { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
public string BatchNumber { get; set; }
/// <summary>
/// Gets or sets the Quantity in.
/// </summary>
public int QuantityIn { get; set; }
/// <summary>
/// Gets or sets the Quantity Out
public int QuantityOut { get; set; }
/// <summary>
/// Gets or sets the Supplier id.
/// </summary>
public int SupplierId { get; set; }
/// <summary>
/// Gets or sets the Supplier Name.
/// </summary>
public string SupplierName { get; set; }
/// <summary>
/// Gets or sets the Retail Pharmacyid.
/// </summary>
public int? RetailPharmacyId { get; set; }
/// <summary>
/// Gets or sets the Retail Name.
/// </summary>
public string RetailName { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
/// <summary>
/// The pharmacy product rack model.
/// </summary>
public class PharmacyProductRackModel
{
/// <summary>
/// Gets or sets the pharmacy product rack identifier.
/// </summary>
/// <value>
/// The pharmacy product rack identifier.
/// </value>
public int PharmacyProductRackId { 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 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 retail pharmacy identifier.
/// </summary>
/// <value>
/// The retail pharmacy identifier.
/// </value>
public int? RetailPharmacyId { 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 pharmacy ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int? PharmacyWareHouseId { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Pharmacy
{
public class PharmacyProductSubTypeModel
{
/// <summary>
/// Gets or sets the pharmacy product sub type identifier.
/// </summary>
/// <value>
/// The pharmacy product sub type identifier.
/// </value>
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 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 name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { 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 name of the modified by.
/// </summary>
/// <value>
/// The name of the modified by.
/// </value>
public string ModifiedByName { 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 type.
/// </summary>
/// <value>
/// The name of the type.
/// </value>
public string TypeName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is general item.
/// </summary>
/// <value>
/// <c>true</c> if this instance is general item; otherwise, <c>false</c>.
/// </value>
public bool IsGeneralItem { get; set; }
/// <summary>
/// Gets or sets the login role identifier.
/// </summary>
/// <value>
/// The login role identifier.
/// </value>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the login account identifier.
///</summary>
/// <value>
/// The login account identifier.
/// </value>
public int? LoginAccountId { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Pharmacy
{
/// <summary>
/// The pharmacy product type model.
/// </summary>
public class PharmacyProductTypeModel
{
/// <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 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="PharmacyProductTypeModel"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is general item.
/// </summary>
/// <value>
/// <c>true</c> if this instance is general item; otherwise, <c>false</c>.
/// </value>
public bool IsGeneralItem { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { 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 name of the modified by.
/// </summary>
/// <value>
/// The name of the modified by.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int? LoginAccountId { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
/// <summary>
/// The pharmacy sale bill.
/// </summary>
public class PharmacyPurchaseReportBill
{
/// <summary>
/// Gets or sets the pharmacy purchase detail id.
/// </summary>
public int? PharmacyPurchaseDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy purchase header id.
/// </summary>
public int? PharmacyPurchaseHeaderId { get; set; }
/// <summary>
/// Gets or sets the serial num.
/// </summary>
public int? SerialNum { 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 pharmacy retail stock id.
/// </summary>
public int? PharmacyRetailStockId { get; set; }
/// <summary>
/// Gets or sets the quantity.
/// </summary>
public int? Quantity { get; set; }
/// <summary>
/// Gets or sets the return quantity.
/// </summary>
public int? ReturnQuantity { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the admission id.
/// </summary>
public int? AdmissionId { get; set; }
/// <summary>
/// Gets or sets the totalAmount.
/// </summary>
public double? TotalAmount { get; set; }
/// <summary>
/// Gets or sets the total.
/// </summary>
public double? Total { 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 tax amount.
/// </summary>
public double? TaxAmount { get; set; }
/// <summary>
/// Gets or sets the discount per item.
/// </summary>
public double? DiscountPerItem { get; set; }
/// <summary>
/// Gets or sets the discount.
/// </summary>
public double? Discount { get; set; }
/// <summary>
/// Gets or sets the net amount.
/// </summary>
public double? NetAmount { get; set; }
/// <summary>
/// Gets or sets the overall total.
/// </summary>
public double? OverallTotal { get; set; }
/// <summary>
/// Gets or sets the overall taxes.
/// </summary>
public double? OverallTaxes { get; set; }
/// <summary>
/// Gets or sets the overall net amount.
/// </summary>
public double? OverallNetAmount { get; set; }
/// <summary>
/// Gets or sets the overall discount.
/// </summary>
public double? OverallDiscount { get; set; }
/// <summary>
/// Gets or sets the bill type.
/// </summary>
public string BillType { get; set; }
/// <summary>
/// Gets or sets the bill number.
/// </summary>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string PatientName { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string PatientMobile { get; set; }
/// <summary>
/// Gets or sets the provider name.
/// </summary>
public string ProviderName { get; set; }
/// <summary>
/// Gets or sets the product name.
/// </summary>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the sale date.
/// </summary>
public DateTime? SaleDate { get; set; }
/// <summary>
/// Gets or sets the expiry date.
/// </summary>
public DateTime? ExpiryDate { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
public string BatchNumber { get; set; }
/// <summary>
/// Gets or sets the category name.
/// </summary>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the supplier name.
/// </summary>
public string SupplierName { get; set; }
/// <summary>
/// Gets or sets the generic name.
/// </summary>
public string GenericName { get; set; }
/// <summary>
/// Gets or sets the company name.
/// </summary>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets the umr no.
/// </summary>
public string UMRNo { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public string Gender { get; set; }
/// <summary>
/// Gets or sets the age.
/// </summary>
public int? Age { get; set; }
/// <summary>
/// Gets or sets the bill date.
/// </summary>
public DateTime BillDate { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string RoleName { get; set; }
/// <summary>
/// Gets or sets the from date.
/// </summary>
public string? FromDate { get; set; }
/// <summary>
/// Gets or sets the to date.
/// </summary>
public string? ToDate { get; set; }
/// <summary>
/// Gets or sets the pharmacy bill type
/// </summary>
public bool? pharmacyBillType { get; set; }
/// <summary>
/// Gets or sets the paid via.
/// </summary>
public string PaidVia { get; set; }
/// <summary>
/// Gets or sets the tax.
/// </summary>
public string Tax { get; set; }
/// <summary>
/// Gets or sets the page index.
/// </summary>
public int PageIndex { get; set; }
/// <summary>
/// Gets or sets the page size.
/// </summary>
public int PageSize { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
public int TotalItems { get; set; }
/// <summary>
/// Gets or sets the due date.
/// </summary>
public string DueDate { get; set; }
/// <summary>
/// Gets or sets the available quantity.
/// </summary>
public int AvailableQuantity { get; set; }
/// <summary>
/// Gets or sets the purchase rate/unit.
/// </summary>
public double? PurchaseRateUnit { get; set; }
/// <summary>
/// Gets or sets the mrp/unit.
/// </summary>
public double? MrpUnit { get; set; }
/// <summary>
/// Gets or sets the telemedicine Fallow Up charges.
/// </summary>
public int QuantityIn { get; set; }
/// <summary>
/// Gets or sets the telemedicine Fallow Up charges.
/// </summary>
public int QuantityOut { get; set; }
/// <summary>
/// Gets or sets the Modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string? ModifiedByRole { get; set; }
/// <summary>
/// Gets or sets remaining days.
/// </summary>
public int? DueDays { get; set; }
/// <summary>
/// Gets or sets IsCreditClear .
/// </summary>
public bool? IsCreditClear { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the supplier identifier.
/// </summary>
/// <value>
/// The supplier identifier.
/// </value>
public int? SupplierId { get; set; }
/// <summary>
/// Gets or sets the Credit Paid On Day date.
/// </summary>
public DateTime? PaidOnDate { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public double? Free { get; set; }
/// <summary>
/// Gets or sets the WareHouseName.
/// </summary>
public string? WareHouseName { get; set; }
/// <summary>
/// Gets or sets the return date.
/// </summary>
public DateTime? ReturnDate { get; set; }
/// <summary>
/// Gets or sets the Return net amount.
/// </summary>
public double? ReturnNetamount { get; set; }
/// <summary>
/// Gets or sets the wareHouse id.
/// </summary>
public int? PharmacyWareHouseId { get; set; }
/// <summary>
/// Gets or sets the role id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
public string Barcode { 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 payType id.
/// </summary>
public int? PayTypeId { get; set; }
/// <summary>
/// Gets or sets the payment number.
/// </summary>
public string PaymentNumber { get; set; }
/// <summary>
/// Gets or sets the account number.
/// </summary>
public int? AccountId{ get; set; }
/// <summary>
/// Gets or sets texes.
/// </summary>
public double? Taxes { get; set; }
/// <summary>
/// Gets or sets the location name.
/// </summary>
public string LocationName { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Pharmacy
{
/// <summary>
/// The pharmacy purchase return bill model.
/// </summary>
public class PharmacyPurchaseReturnBillModel
{
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double Amount { get; set; }
/// <summary>
/// Gets or sets the discount amount.
/// </summary>
public double? DiscountAmount { get; set; }
/// <summary>
/// Gets or sets the discount percentage.
/// </summary>
public double? DiscountPercentage { get; set; }
/// <summary>
/// Gets or sets the net amount.
/// </summary>
public double NetAmount { get; set; }
/// <summary>
/// Gets or sets the tax amount.
/// </summary>
public double TaxAmount { get; set; }
/// <summary>
/// Gets or sets the bill number.
/// </summary>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the pharmacy product id.
/// </summary>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the pharmacy purchase detail id.
/// </summary>
public int PharmacyPurchaseDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy purchase header id.
/// </summary>
public int PharmacyPurchaseHeaderId { get; set; }
/// <summary>
/// Gets or sets the pharmacy stock id.
/// </summary>
public int PharmacyStockId { get; set; }
/// <summary>
/// Gets or sets the return quantity.
/// </summary>
public int ReturnQuantity { get; set; }
/// <summary>
/// Gets or sets the tax percentage.
/// </summary>
public int TaxPercentage { get; set; }
/// <summary>
/// Gets or sets the login Account value id.
/// </summary>
public int? LoginAccountId { get; set; }
/// <summary>
/// Gets or sets the login Role value id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the ExpiryDate.
/// </summary>
public DateTime ReturnDate { get; set; }
/// <summary>
/// Gets or sets the ExpiryDate.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the Indent Name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the IndentByrole Name.
/// </summary>
public string RoleName { get; set; }
/// <summary>
/// Gets or sets the BatchNumber
/// </summary>
public string BatchNumber { get; set; }
/// <summary>
/// Gets or sets the supplier name .
/// </summary>
public string SupplierName { get; set; }
/// <summary>
/// Gets or sets the supplier name .
/// </summary>
public string WareHouseName { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
/// <summary>
/// The pharmacy retail stock model.
/// </summary>
public class PharmacyRetailStockModel
{
/// <summary>
/// Gets or sets the pharmacy retail stock id.
/// </summary>
public int PharmacyRetailStockId { 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 quantity out.
/// </summary>
public int QuantityOut { get; set; }
/// <summary>
/// Gets or sets the pharmacy stock id.
/// </summary>
public int? PharmacyStockId { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
public string BatchNumber { get; set; }
/// <summary>
/// Gets or sets the barcode.
/// </summary>
public string Barcode { 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 loss amount.
/// </summary>
public double LossAmount { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the update type.
/// </summary>
public string UpdateType { get; set; }
/// <summary>
/// Gets or sets the login Account value id.
/// </summary>
public int? LoginAccountId { get; set; }
/// <summary>
/// Gets or sets the login Role value id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the product name.
/// </summary>
public string ProductName { 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; }
public int? LocationId { get; set; }
public string? ResultsType { get; set;}
public string? FromDate { get; set; }
public string? ToDate { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
/// <summary>
/// The pharmacy sale bill.
/// </summary>
public class PharmacySaleBill
{
/// <summary>
/// Gets or sets the pharmacy sale detail id.
/// </summary>
public int? PharmacySaleDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy sale header id.
/// </summary>
public int? PharmacySaleHeaderId { get; set; }
/// <summary>
/// Gets or sets the sale return header id.
/// </summary>
public int? SaleReturnHeaderId { get; set; }
/// <summary>
/// Gets or sets the serial num.
/// </summary>
public int? SerialNum { 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 pharmacy retail stock id.
/// </summary>
public int? PharmacyRetailStockId { get; set; }
/// <summary>
/// Gets or sets the quantity.
/// </summary>
public int? Quantity { get; set; }
/// <summary>
/// Gets or sets the return quantity.
/// </summary>
public int? ReturnQuantity { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the admission id.
/// </summary>
public int? AdmissionId { get; set; }
/// <summary>
/// Gets or sets the totalAmount.
/// </summary>
public double? TotalAmount { get; set; }
/// <summary>
/// Gets or sets the total.
/// </summary>
public double? Total { get; set; }
/// <summary>
/// Gets or sets the mrp.
/// </summary>
public double? Mrp { get; set; }
/// <summary>
/// Gets or sets the paid amount.
/// </summary>
/// <value>
/// The paid amount.
/// </value>
public double? PaidAmount { get; set; }
/// <summary>
/// Gets or sets the tax amount.
/// </summary>
public double? TaxAmount { get; set; }
/// <summary>
/// Gets or sets the discount per item.
/// </summary>
public double? DiscountPerItem { get; set; }
/// <summary>
/// Gets or sets the discount.
/// </summary>
public double? Discount { get; set; }
/// <summary>
/// Gets or sets the net amount.
/// </summary>
public double? NetAmount { get; set; }
/// <summary>
/// Gets or sets the overall total.
/// </summary>
public double? OverallTotal { get; set; }
/// <summary>
/// Gets or sets the overall taxes.
/// </summary>
public double? OverallTaxes { get; set; }
/// <summary>
/// Gets or sets the overall net amount.
/// </summary>
public double? OverallNetAmount { get; set; }
/// <summary>
/// Gets or sets the overall discount.
/// </summary>
public double? OverallDiscount { get; set; }
/// <summary>
/// Gets or sets the bill type.
/// </summary>
public string BillType { get; set; }
/// <summary>
/// Gets or sets the bill number.
/// </summary>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string PatientName { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string PatientMobile { get; set; }
/// <summary>
/// Gets or sets the provider name.
/// </summary>
public string ProviderName { get; set; }
/// <summary>
/// Gets or sets the product name.
/// </summary>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the sale date.
/// </summary>
public DateTime? SaleDate { get; set; }
/// <summary>
/// Gets or sets the expiry date.
/// </summary>
public DateTime? ExpiryDate { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
public string BatchNumber { get; set; }
/// <summary>
/// Gets or sets the category name.
/// </summary>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the generic name.
/// </summary>
public string GenericName { get; set; }
/// <summary>
/// Gets or sets the company name.
/// </summary>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets the umr no.
/// </summary>
public string UMRNo { get; set; }
/// <summary>
/// Gets or sets the tax percentage.
/// </summary>
public string TaxPercentage { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public string Gender { get; set; }
/// <summary>
/// Gets or sets the age.
/// </summary>
public int? Age { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the login Account value id.
/// </summary>
public int? LoginAccountId { get; set; }
/// <summary>
/// Gets or sets the login Role value id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the Payment type.
/// </summary>
public string PaidVia { get; set; }
/// <summary>
/// Gets or sets the medicine type
/// </summary>
public string MedicineType { get; set; }
/// <summary>
/// Gets or sets the surgery kit headerId
/// </summary>
public int? SurgeryKitHeaderId { get; set; }
/// <summary>
/// Gets or sets the surgery kit name
/// </summary>
public string KitName { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public string FromDate { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the optional text 2.
/// </summary>
public string ToDate { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the login Role value id.
/// </summary>
public int? RetailPharmacyId { get; set; }
/// <summary>
/// Gets or sets the Payment type.
/// </summary>
public string RetailName { 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 payType id.
/// </summary>
public int? PayTypeId { get; set; }
/// <summary>
/// Gets or sets the payment number.
/// </summary>
public string PaymentNumber { get; set; }
/// <summary>
/// Gets or sets the HSNCode.
/// </summary>
public string HSNCode { get; set; }
/// <summary>
/// Gets or sets the patient first name.
/// </summary>
public string FirstName { get; set; }
/// <summary>
/// Gets or sets the patient middle name.
/// </summary>
public string LastName { get; set; }
/// <summary>
/// Gets or sets the patient last name.
/// </summary>
public string MiddleName { get; set; }
/// <summary>
/// Gets or sets the patient dob.
/// </summary>
public DateTime? DateOfBirth { get; set; }
/// <summary>
/// Gets or sets the patient last name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the patient last name.
/// </summary>
public string Role { get; set; }
/// <summary>
/// Gets or sets the patient last name.
/// </summary>
public int AccountId { get; set; }
/// <summary>
/// Gets or sets the patient last name.
/// </summary>
public double TotalGST { get; set; }
/// <summary>
/// Gets or sets the patient last name.
/// </summary>
public bool PharmacyBillType { get; set; }
/// <summary>
/// Gets or sets the Specialization id.
/// </summary>
public int SpecializationId { get; set; }
/// <summary>
/// Gets or sets the Specialization name.
/// </summary>
public string SpecializationName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is igst.
/// </summary>
/// <value>
/// <c>true</c> if this instance is igst; otherwise, <c>false</c>.
/// </value>
public bool IsIGST { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is SGST.
/// </summary>
/// <value>
/// <c>true</c> if this instance is SGST; otherwise, <c>false</c>.
/// </value>
public bool IsSGST { get; set; }
/// <summary>
/// Gets or sets the is salucro bill.
/// </summary>
public bool IsSalucroBill { get; set; }
/// <summary>
/// Gets or sets the scheduled drug.
/// </summary>
/// <value>
/// The scheduled drug.
/// </value>
public string ScheduledDrug { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is general item.
/// </summary>
/// <value>
/// <c>true</c> if this instance is general item; otherwise, <c>false</c>.
/// </value>
public bool IsGeneralItem { get; set; }
/// <summary>
/// Gets or sets the scheduled drug.
/// </summary>
/// <value>
/// The scheduled drug.
/// </value>
public string ReasonForDiscount { get; set; }
public double RemovedAmount { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// /The pharmacy sale detail model.
/// </summary>
public class PharmacySaleDetailModel
{
/// <summary>
/// Gets or sets the pharmacy sale detail id.
/// </summary>
public int PharmacySaleDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy sale header id.
/// </summary>
public int PharmacySaleHeaderId { get; set; }
/// <summary>
/// Gets or sets the serial num.
/// </summary>
public int SerialNum { 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 pharmacy retail stock id.
/// </summary>
public int PharmacyRetailStockId { get; set; }
/// <summary>
/// Gets or sets the quantity.
/// </summary>
public int Quantity { get; set; }
/// <summary>
/// Gets or sets the return quantity.
/// </summary>
public int? ReturnQuantity { get; set; }
/// <summary>
/// Gets or sets the total.
/// </summary>
public double Total { get; set; }
/// <summary>
/// Gets or sets the tax amount.
/// </summary>
public double TaxAmount { get; set; }
/// <summary>
/// Gets or sets the discount per item.
/// </summary>
public double? DiscountPerItem { get; set; }
/// <summary>
/// Gets or sets the discount.
/// </summary>
public double? Discount { get; set; }
/// <summary>
/// Gets or sets the net amount.
/// </summary>
public double NetAmount { get; set; }
/// <summary>
/// Gets or sets the MRP.
/// </summary>
/// <value>
/// The MRP.
/// </value>
public double Mrp { get; set; }
/// <summary>
/// Gets or sets the tax percentage.
/// </summary>
/// <value>
/// The tax percentage.
/// </value>
public int TaxPercentage { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// The pharmacy sale return bill details model.
/// </summary>
public class PharmacySaleReturnBillDetailsModel
{
/// <summary>
/// Gets or sets the return date.
/// </summary>
public DateTime ReturnDate { get; set; }
/// <summary>
/// Gets or sets the quantity.
/// </summary>
public int Quantity { get; set; }
/// <summary>
/// Gets or sets the sale return details id.
/// </summary>
public int? SaleReturnDetailsId { get; set; }
/// <summary>
/// Gets or sets the sale return header id.
/// </summary>
public int? SaleReturnHeaderId { get; set; }
/// <summary>
/// Gets or sets the discount percentage.
/// </summary>
public double? DiscountPercentage { get; set; }
/// <summary>
/// Gets or sets the discount amount.
/// </summary>
public double? DiscountAmount { get; set; }
/// <summary>
/// Gets or sets the net amount.
/// </summary>
public double NetAmount { get; set; }
/// <summary>
/// Gets or sets the total.
/// </summary>
public double Total { get; set; }
/// <summary>
/// Gets or sets the bill type.
/// </summary>
public string BillType { get; set; }
/// <summary>
/// Gets or sets the bill number.
/// </summary>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the pharmacy sale detail id.
/// </summary>
public int PharmacySaleDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy retail stock id.
/// </summary>
public int PharmacyRetailStockId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product id.
/// </summary>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the pharmacy sale header id.
/// </summary>
public int PharmacySaleHeaderId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string PatientName { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the provider name.
/// </summary>
public string ProviderName { get; set; }
/// <summary>
/// Gets or sets the product name.
/// </summary>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the expiry date.
/// </summary>
public DateTime? ExpiryDate { get; set; }
/// <summary>
/// Gets or sets the category name.
/// </summary>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the company name.
/// </summary>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets the umr no.
/// </summary>
public string UMRNo { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public string Gender { get; set; }
/// <summary>
/// Gets or sets the age.
/// </summary>
public int? Age { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the mrp.
/// </summary>
public double? Mrp { get; set; }
/// <summary>
/// Gets or sets the overall total.
/// </summary>
public double? OverallTotal { get; set; }
/// <summary>
/// Gets or sets the overall taxes.
/// </summary>
public double? OverallTaxes { get; set; }
/// <summary>
/// Gets or sets the overall net amount.
/// </summary>
public double? OverallNetAmount { get; set; }
/// <summary>
/// Gets or sets the overall discount.
/// </summary>
public double? OverallDiscount { get; set; }
/// <summary>
/// Gets or sets the BatchNumber
/// </summary>
public string BatchNumber { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the created by person's -Role .
/// </summary>
public string RoleName { get; set; }
/// <summary>
/// Gets or sets the discount percentage.
/// </summary>
public double? TaxPercentage { get; set; }
/// <summary>
/// Gets or sets the discount amount.
/// </summary>
public double? TaxAmount { get; set; }
/// <summary>
/// Gets or sets the retailName.
/// </summary>
public string RetailName { get; set; }
/// <summary>
/// Gets or sets the patient first name.
/// </summary>
public string FirstName { get; set; }
/// <summary>
/// Gets or sets the patient middle name.
/// </summary>
public string LastName { get; set; }
/// <summary>
/// Gets or sets the patient last name.
/// </summary>
public string MiddleName { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the patient dob.
/// </summary>
public DateTime? DateOfBirth { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// The pharmacy sale return bill model.
/// </summary>
public class PharmacySaleReturnBillModel
{
/// <summary>
/// Gets or sets the return date.
/// </summary>
public DateTime ReturnDate { get; set; }
/// <summary>
/// Gets or sets the quantity.
/// </summary>
public int Quantity { get; set; }
/// <summary>
/// Gets or sets the sale return header id.
/// </summary>
public int? SaleReturnHeaderId { get; set; }
/// <summary>
/// Gets or sets the discount percentage.
/// </summary>
public double? DiscountPercentage { get; set; }
/// <summary>
/// Gets or sets the discount amount.
/// </summary>
public double? DiscountAmount { get; set; }
/// <summary>
/// Gets or sets the net amount.
/// </summary>
public double NetAmount { get; set; }
/// <summary>
/// Gets or sets the total.
/// </summary>
public double Total { get; set; }
/// <summary>
/// Gets or sets the bill type.
/// </summary>
public string BillType { get; set; }
/// <summary>
/// Gets or sets the bill number.
/// </summary>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the pharmacy sale detail id.
/// </summary>
public int PharmacySaleDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy retail stock id.
/// </summary>
public int PharmacyRetailStockId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product id.
/// </summary>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the pharmacy sale header id.
/// </summary>
public int PharmacySaleHeaderId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the login Account value id.
/// </summary>
public int? LoginAccountId { get; set; }
/// <summary>
/// Gets or sets the login Role value id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public string TransactionId { get; set; }
/// <summary>
/// Gets or sets the transaction.
/// </summary>
public string Transaction { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public int? SalucroStatusCode { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public string SalucroTransactionId { get; set; }
/// <summary>
/// Gets or sets the payment initiation log identifier.
/// </summary>
/// <value>
/// The payment initiation log identifier.
/// </value>
public int? PaymentInitiationLogId { 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 patient mobile.
/// </summary>
/// <value>
/// The patient mobile.
/// </value>
public string PatientMobile { 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; }
public double RemovedProductAmount { get; set;}
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
/// <summary>
/// The pharmacy sale return fetch model.
/// </summary>
public class PharmacySaleReturnFetchModel
{
/// <summary>
/// Gets or sets the sale return header id.
/// </summary>
public int SaleReturnHeaderId { get; set; }
/// <summary>
/// Gets or sets the return date.
/// </summary>
public DateTime ReturnDate { get; set; }
/// <summary>
/// Gets or sets the bill type.
/// </summary>
public string BillType { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string PatientName { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the overall total.
/// </summary>
public double OverallTotal { get; set; }
/// <summary>
/// Gets or sets the total.
/// </summary>
public double Total { get; set; }
/// <summary>
/// Gets or sets the overall net amount.
/// </summary>
public double OverallNetAmount { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the pharmacy sale header id.
/// </summary>
public int PharmacySaleHeaderId { get; set; }
/// <summary>
/// Gets or sets the sale return detail id.
/// </summary>
public int SaleReturnDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product id.
/// </summary>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the quantity.
/// </summary>
public int Quantity { get; set; }
/// <summary>
/// Gets or sets the tax percentage.
/// </summary>
public double? TaxPercentage { get; set; }
/// <summary>
/// Gets or sets the tax amount.
/// </summary>
public double? TaxAmount { get; set; }
/// <summary>
/// Gets or sets the discount percentage.
/// </summary>
public double? DiscountPercentage { get; set; }
/// <summary>
/// Gets or sets the discount amount.
/// </summary>
public double? DiscountAmount { get; set; }
/// <summary>
/// Gets or sets the net amount.
/// </summary>
public double NetAmount { get; set; }
/// <summary>
/// Gets or sets the product name.
/// </summary>
public string ProductName { get;set; }
/// <summary>
/// Gets or sets the expiry date.
/// </summary>
public DateTime? ExpiryDate { get;set; }
/// <summary>
/// Gets or sets the mrp.
/// </summary>
public double Mrp { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string CreatedByName { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
/// <summary>
/// The pharmacy store model.
/// </summary>
public class PharmacyStoreModel
{
/// <summary>
/// Gets or sets the pharmacy stores identifier.
/// </summary>
/// <value>
/// The pharmacy stores identifier.
/// </value>
public int PharmacyStoreId { 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 name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the name of the hospital.
/// </summary>
/// <value>
/// The name of the hospital.
/// </value>
public string HospitalName { get; set; }
/// <summary>
/// Gets or sets the location.
/// </summary>
/// <value>
/// The location.
/// </value>
public string Location { get; set; }
/// <summary>
/// Gets or sets the pin code.
/// </summary>
/// <value>
/// The pin code.
/// </value>
public string PinCode { get; set; }
/// <summary>
/// Gets or sets the GST number.
/// </summary>
/// <value>
/// The GST number.
/// </value>
public string GSTNumber { 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 name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="PharmacyStoreModel"/> 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; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
using System.Collections.Generic;
/// <summary>
/// The pharmacy ware house model.
/// </summary>
public class PharmacyWareHouseModel
{
/// <summary>
/// Gets or sets the pharmacy ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int? PharmacyWareHouseId { get; set; }
/// <summary>
/// Gets or sets the retail store count.
/// </summary>
/// <value>
/// The retail store count.
/// </value>
public int? RetailStoreCount { get; set; }
/// <summary>
/// Gets or sets the name of the ware house.
/// </summary>
/// <value>
/// The name of the ware house.
/// </value>
public string WareHouseName { 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 the allowed account identifier.
/// </summary>
/// <value>
/// The allowed account identifier.
/// </value>
public string AllowedAccountId { get; set; }
/// <summary>
/// Gets or sets the allowed users.
/// </summary>
/// <value>
/// The allowed users.
/// </value>
public List<AllowedAccount> AllowedUsers { get; set; }
/// <summary>
/// Gets or sets the name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the created by role.
/// </summary>
/// <value>
/// The created by role.
/// </value>
public string CreatedByRole { get; set; }
/// <summary>
/// Gets or sets the name of the modified by.
/// </summary>
/// <value>
/// The name of the modified by.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the modified by role.
/// </summary>
/// <value>
/// The modified by role.
/// </value>
public string ModifiedByRole { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="PharmacyWareHouseModel"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool? Active { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int TotalItems { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the index of the page.
/// </summary>
/// <value>
/// The index of the page.
/// </value>
public int? PageIndex { get; set; }
/// <summary>
/// Gets or sets the login role identifier.
/// </summary>
/// <value>
/// The login role identifier.
/// </value>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the userBasedStore.
/// </summary>
public int? userBasedStore { get; set; }
/// <summary>
/// Gets or sets the retail store.
/// </summary>
/// <value>
/// The retail store.
/// </value>
public List<RetailPharmacyModel> RetailStore { 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 central warehouse location identifier.
/// </summary>
/// <value>
/// The central warehouse location identifier.
/// </value>
public int? CentralWarehouseLocationId { get; set; }
/// <summary>
/// Gets or sets the central warehouse location.
/// </summary>
/// <value>
/// The central warehouse location.
/// </value>
public string CentralWarehouseLocation { get; set; }
/// <summary>
/// Gets or sets the location flag.
/// </summary>
/// <value>
/// The location flag.
/// </value>
public bool? LocationFlag { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is uploaded.
/// </summary>
/// <value>
/// <c>true</c> if this instance is uploaded; otherwise, <c>false</c>.
/// </value>
public bool IsUploaded { get; set; }
/// <summary>
/// Gets or sets the warehouse ids.
/// </summary>
/// <value>
/// The warehouse ids.
/// </value>
public string WarehouseIds { get; set; }
/// <summary>
/// Gets or sets the name of the location.
/// </summary>
/// <value>
/// The name of the location.
/// </value>
public string LocationName { get; set; }
public bool NoLocation { get; set; }
}
/// <summary>
/// The allowed account.
/// </summary>
public class AllowedAccount
{
/// <summary>
/// Gets or sets the account identifier.
/// </summary>
/// <value>
/// The account identifier.
/// </value>
public int AccountId { get; set; }
/// <summary>
/// Gets or sets the pharmacy ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int PharmacyWareHouseId { get; set; }
/// <summary>
/// Gets or sets the module department user identifier.
/// </summary>
/// <value>
/// The module department user identifier.
/// </value>
public int ModuleDepartmentUserId { get; set; }
/// <summary>
/// Gets or sets the full name.
/// </summary>
/// <value>
/// The full name.
/// </value>
public string FullName { get; set; }
/// <summary>
/// Gets or sets the name of the role.
/// </summary>
/// <value>
/// The name of the role.
/// </value>
public string RoleName { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
/// <summary>
/// The purchase bill detail model.
/// </summary>
public class PurchaseBillDetailModel
{
/// <summary>
/// Gets or sets the pharmacy purchase detail identifier.
/// </summary>
/// <value>
/// The pharmacy purchase detail identifier.
/// </value>
public int PharmacyPurchaseDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy purchase header identifier.
/// </summary>
/// <value>
/// The pharmacy purchase header identifier.
/// </value>
public int PharmacyPurchaseHeaderId { 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 tax identifier.
/// </summary>
/// <value>
/// The tax identifier.
/// </value>
public int TaxId { get; set; }
/// <summary>
/// Gets or sets the purchase order detail identifier.
/// </summary>
/// <value>
/// The purchase order detail identifier.
/// </value>
public long? PurchaseOrderDetailId { get; set; }
/// <summary>
/// Gets or sets the quantity.
/// </summary>
/// <value>
/// The quantity.
/// </value>
public int Quantity { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
/// <value>
/// The free.
/// </value>
public int? Free { get; set; }
/// <summary>
/// Gets or sets the tax per item.
/// </summary>
/// <value>
/// The tax per item.
/// </value>
public int TaxPerItem { get; set; }
/// <summary>
/// Gets or sets the discount per item.
/// </summary>
/// <value>
/// The discount per item.
/// </value>
public int DiscountPerItem { get; set; } = 0;
/// <summary>
/// Gets or sets the purchase rate.
/// </summary>
/// <value>
/// The purchase rate.
/// </value>
public double PurchaseRate { get; set; }
/// <summary>
/// Gets or sets the MRP.
/// </summary>
/// <value>
/// The MRP.
/// </value>
public double Mrp { get; set; }
/// <summary>
/// Gets or sets the total.
/// </summary>
/// <value>
/// The total.
/// </value>
public double Total { get; set; }
/// <summary>
/// Gets or sets the tax amount.
/// </summary>
/// <value>
/// The tax amount.
/// </value>
public double TaxAmount { 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 net amount.
/// </summary>
/// <value>
/// The net amount.
/// </value>
public double NetAmount { 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 name of the category.
/// </summary>
/// <value>
/// The name of the category.
/// </value>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the name of the generic.
/// </summary>
/// <value>
/// The name of the generic.
/// </value>
public string GenericName { get; set; }
/// <summary>
/// Gets or sets the name of the product.
/// </summary>
/// <value>
/// The name of the product.
/// </value>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the name of the company.
/// </summary>
/// <value>
/// The name of the company.
/// </value>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets the tax percentage.
/// </summary>
/// <value>
/// The tax percentage.
/// </value>
public string TaxPercentage { get; set; }
/// <summary>
/// Gets or sets the expiry date.
/// </summary>
/// <value>
/// The expiry date.
/// </value>
public DateTime? ExpiryDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is expiry.
/// </summary>
/// <value>
/// <c>true</c> if this instance is expiry; otherwise, <c>false</c>.
/// </value>
public bool IsExpiry { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is igst.
/// </summary>
/// <value>
/// <c>true</c> if this instance is igst; otherwise, <c>false</c>.
/// </value>
public bool IsIGST { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is SGST.
/// </summary>
/// <value>
/// <c>true</c> if this instance is SGST; otherwise, <c>false</c>.
/// </value>
public bool IsSGST { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
/// <value>
/// The batch number.
/// </value>
public string Barcode { get; set; }
/// <summary>
/// Gets or sets the type of the GST.
/// </summary>
/// <value>
/// The type of the GST.
/// </value>
public string GSTType { get; set; }
}
}
namespace Hims.Shared.UserModels.Pharmacy
{
using System;
using System.Collections.Generic;
/// <summary>
/// The purchase bill header model.
/// </summary>
public class PurchaseBillHeaderModel
{
/// <summary>
/// Gets or sets the bill amount.
/// </summary>
/// <value>
/// The bill amount.
/// </value>
public double BillAmount { get; set; }
/// <summary>
/// Gets or sets the discount.
/// </summary>
/// <value>
/// The discount.
/// </value>
public double Discount { get; set; }
/// <summary>
/// Gets or sets the taxes.
/// </summary>
/// <value>
/// The taxes.
/// </value>
public double Taxes { 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 created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the supplier identifier.
/// </summary>
/// <value>
/// The supplier identifier.
/// </value>
public int SupplierId { get; set; }
/// <summary>
/// Gets or sets the pharmacy purchase header identifier.
/// </summary>
/// <value>
/// The pharmacy purchase header identifier.
/// </value>
public int PharmacyPurchaseHeaderId { get; set; }
/// <summary>
/// Gets or sets the pharmacy ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int PharmacyWareHouseId { get; set; }
/// <summary>
/// Gets or sets the bill number.
/// </summary>
/// <value>
/// The bill number.
/// </value>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the type of the bill.
/// </summary>
/// <value>
/// The type of the bill.
/// </value>
public string BillType { get; set; }
/// <summary>
/// Gets or sets the bill date.
/// </summary>
/// <value>
/// The bill date.
/// </value>
public DateTime BillDate { get; set; }
/// <summary>
/// Gets or sets the due date.
/// </summary>
/// <value>
/// The due date.
/// </value>
public DateTime? DueDate { get; set; }
/// <summary>
/// Gets or sets the products.
/// </summary>
/// <value>
/// The products.
/// </value>
public List<PurchaseBillDetailModel> Products { get; set; }
/// <summary>
/// Gets or sets the login role identifier.
/// </summary>
/// <value>
/// The login role identifier.
/// </value>
public int LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the login role identifier.
/// </summary>
/// <value>
/// The login role identifier.
/// </value>
public string? WareHouseName { get; set; }
/// <summary>
/// Gets or sets the purchase order header identifier.
/// </summary>
/// <value>
/// The purchase order header identifier.
/// </value>
public long? PurchaseOrderHeaderId { get; set; }
/// <summary>
/// Gets or sets the name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment