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

initial commit

parent 5bbe2c44
#nullable enable
namespace Hims.Shared.UserModels
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.UserModels.ChargeModule;
using Shared.Dapper.Attributes;
/// <summary>
/// The encounter.
/// </summary>
public class ScanTestMasterServiceModel
{
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int? ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int? LocationScanTestMasterMapId { get; set; }
/// <summary>
/// Gets or sets the scan test name.
/// </summary>
public string ScanTestName { get; set; }
/// <summary>
/// Gets or sets the scan test code.
/// </summary>
public string ScanTestCode { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public string Description { get; set; }
/// <summary>
/// Gets or sets the ScanClassificationName.
/// </summary>
public string ScanClassificationName { get; set; }
/// <summary>
/// Gets or sets the Scan Sub Classification Name.
/// </summary>
public string ScanSubClassificationName { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public decimal Duration { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool? Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? ScanClassificationId { get; set; }
/// <summary>
/// Gets or sets the Scan Sub Classification Id.
/// </summary>
public int? ScanSubClassificationId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? LoginRoleId { 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 modified by name.
/// </summary>
public string? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string CreatedByName { 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; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double Amount { get; set; }
/// <summary>
/// Gets or sets the charge category name.
/// </summary>
public string ChargeCategoryName { get; set; }
/// <summary>
/// Gets or sets the location name.
/// </summary>
public string LocationName { get; set; }
/// <summary>
/// Gets or sets the Charge Category id.
/// </summary>
public int? ChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the 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 test category.
/// </summary>
public int? TestCategory { get; set; }
/// <summary>
/// Gets or sets test sub category.
/// </summary>
public int? TestSubCategory { get; set; }
/// <summary>
/// Gets or sets the term.
/// </summary>
/// <value>
/// The term.
/// </value>
public string? Term { get; set; }
/// <summary>
/// Gets or sets the charges.
/// </summary>
/// <value>
/// The charges.
/// </value>
public List<ChargeModuleDetailsModel> Charges { get; set; }
}
}
\ No newline at end of file
namespace Hims.Shared.UserModels.Scan.ScanTest
{
using Hims.Shared.UserModels.Laboratory;
using System;
using System.Collections.Generic;
/// <summary>
/// The request indent header model.
/// </summary>
public class TestImportModel
{
/// <summary>
/// Gets or sets the list of Tests.
/// </summary>
public List<TestMapModel> Tests { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { 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 modified by name.
/// </summary>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the scan test name.
/// </summary>
public string ScanTestName { get; set; }
}
/// <summary>
/// The request indent product model.
/// </summary>
public class TestMapModel
{
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the charge category id.
/// </summary>
public int ChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the scan test name.
/// </summary>
public string ScanTestName { get; set; }
/// <summary>
/// Gets or sets the scan test code.
/// </summary>
public string ScanTestCode { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public string Description { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public decimal Duration { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool? Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int? LoginRoleId { 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 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; }
/// <summary>
/// Gets or sets the name of the location.
/// </summary>
/// <value>
/// The name of the location.
/// </value>
public string? LocationNames { get; set; }
/// <summary>
/// Gets or sets the type.
/// </summary>
public string Type { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { 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 test sub category.
/// </summary>
public int? ScanClassificationId { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double Amount { get; set; }
}
}
using System;
using System.Collections.Generic;
namespace Hims.Shared.UserModels.ServiceOrder.Admission
{
/// <summary> The chat.</summary>
public class BasicViewModel
{
/// <summary>
/// Gets or sets the date.
/// </summary>
/// <value>
/// The date.
/// </value>
public DateTime Date { get; set; }
/// <summary>
/// Gets or sets the bed cost.
/// </summary>
/// <value>
/// The bed cost.
/// </value>
public double BedCost { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is bed.
/// </summary>
/// <value>
/// <c>true</c> if this instance is bed; otherwise, <c>false</c>.
/// </value>
public bool IsBed { get; set; }
/// <summary>
/// Gets or sets the provider cost.
/// </summary>
/// <value>
/// The provider cost.
/// </value>
public IEnumerable<ProviderCostModel> ProviderCost { 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 AdmissionDate.
/// </summary>
/// <value>
/// The AdmissionDate.
/// </value>
public DateTime AdmissionDate { get; set; }
/// <summary>
/// Gets or sets the DischargeDate.
/// </summary>
/// <value>
/// The DischargeDate.
/// </value>
public DateTime DischargeDate { get; set; }
/// <summary>
/// Gets or sets the charge category name.
/// </summary>
public string ChargeCategoryName { get; set; }
public string ModuleTypeName { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.ServiceOrder.Admission
{
/// <summary> The chat.</summary>
public class ProviderCostModel
{
/// <summary>
/// Gets or sets the date.
/// </summary>
/// <value>
/// The date.
/// </value>
public int? Day { get; set; }
/// <summary>
/// Gets or sets the bed cost.
/// </summary>
/// <value>
/// The bed cost.
/// </value>
public double? InPatientCharges { get; set; }
/// <summary>
/// Gets or sets the out patient charges.
/// </summary>
/// <value>
/// The out patient charges.
/// </value>
public double? OutPatientCharges { get; set; }
/// <summary>
/// Gets or sets the covid charges.
/// </summary>
/// <value>
/// The covid charges.
/// </value>
public double? CovidCharges { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.ServiceOrder.Admission
{
/// <summary> The chat.</summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the patient id.
/// </summary>
/// <value>
/// The patient id.
/// </value>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
/// <value>
/// The provider id.
/// </value>
public int ProviderId { 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 charge category.
/// </summary>
/// <value>
/// The name of the charge category.
/// </value>
public string ChargeCategoryName { get; set; }
/// <summary>
/// Gets or sets the name of the admission pay type.
/// </summary>
/// <value>
/// The name of the admission pay type.
/// </value>
public string AdmissionPayTypeName { get; set; }
/// <summary>
/// Gets or sets the father or husband
/// </summary>
/// <value>
/// the father or husband
/// </value>
public string FatherOrHusband { get; set; }
/// <summary>
/// Gets or sets the thumbnail URL.
/// </summary>
/// <value>
/// The thumbnail URL.
/// </value>
public string ThumbnailUrl { get; set; }
/// <summary>
/// Gets or sets the unique identifier.
/// </summary>
/// <value>
/// The unique identifier.
/// </value>
public string Guid { 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 bed number.
/// </summary>
/// <value>
/// The bed number.
/// </value>
public string BedNumber { get; set; }
/// <summary>
/// Gets or sets the name of the room.
/// </summary>
/// <value>
/// The name of the room.
/// </value>
public string RoomName { get; set; }
/// <summary>
/// Gets or sets the name of the ward.
/// </summary>
/// <value>
/// The name of the ward.
/// </value>
public string WardName { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
/// <value>
/// The gender.
/// </value>
public string Gender { get; set; }
/// <summary>
/// Gets or sets the age.
/// </summary>
/// <value>
/// The age.
/// </value>
public int? Age { get; set; }
/// <summary>
/// Gets or sets the admission no.
/// </summary>
/// <value>
/// The admission no.
/// </value>
public string AdmissionNo { 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 admission date.
/// </summary>
/// <value>
/// The admission date.
/// </value>
public DateTime AdmissionDate { get; set; }
/// <summary>
/// Gets or sets the admission time.
/// </summary>
/// <value>
/// The admission time.
/// </value>
public TimeSpan AdmissionTime { get; set; }
/// <summary>
/// Gets or sets the time string.
/// </summary>
/// <value>
/// The time string.
/// </value>
public string TimeString { get; set; }
/// <summary>
/// Gets or sets the name of the attendant.
/// </summary>
/// <value>
/// The name of the attendant.
/// </value>
public string AttendantName { get; set; }
/// <summary>
/// Gets or sets the attendant contact no.
/// </summary>
/// <value>
/// The attendant contact no.
/// </value>
public string AttendantContactNo { get; set; }
/// <summary>
/// Gets or sets the attendant relation with patient.
/// </summary>
/// <value>
/// The attendant relation with patient.
/// </value>
public string AttendantRelationWithPatient { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is discharged.
/// </summary>
/// <value>
/// <c>true</c> if this instance is discharged; otherwise, <c>false</c>.
/// </value>
public bool IsDischarged { 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 provider gender.
/// </summary>
/// <value>
/// The provider gender.
/// </value>
public string ProviderGender { get; set; }
/// <summary>
/// Gets or sets the patient mobile.
/// </summary>
/// <value>
/// The patient mobile.
/// </value>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the appointment/admission status.
/// </summary>
/// <value>
/// The appointment/admission status.
/// </value>
public string Status { get; set; }
/// <summary>
/// Gets or sets the discharge date.
/// </summary>
/// <value>
/// The discharge date.
/// </value>
public DateTime? DischargeDate { get; set; }
/// <summary>
/// Gets or sets the discharge time.
/// </summary>
public TimeSpan? DischargeTime { get; set; }
/// <summary>
/// Gets or sets the time string.
/// </summary>
/// <value>
/// The time string.
/// </value>
public string DischargeTimeString { get; set; }
/// <summary>
/// Gets or sets the expected discharge date.
/// </summary>
/// <value>
/// The expected discharge date.
/// </value>
public DateTime? ExpectedDischargeDate { get; set; }
/// <summary>
/// Gets or sets the encrypted provider id.
/// </summary>
public string EncryptedProviderId { get; set; }
/// <summary>
/// Gets or sets the street address.
/// </summary>
/// <value>
/// The street address.
/// </value>
public string StreetAddress { get; set; }
/// <summary>
/// Gets or sets the address.
/// </summary>
/// <value>
/// The address.
/// </value>
public string AddressLine2 { get; set; }
/// <summary>
/// Gets or sets the city.
/// </summary>
/// <value>
/// The city.
/// </value>
public string City { get; set; }
/// <summary>
/// Gets or sets the state.
/// </summary>
/// <value>
/// The state.
/// </value>
public string State { get; set; }
/// <summary>
/// Gets or sets the zipcode.
/// </summary>
/// <value>
/// The zipcode.
/// </value>
public string Zipcode { get; set; }
/// <summary>
/// Gets or sets the zipcode.
/// </summary>
/// <value>
/// The zipcode.
/// </value>
public string FullAddress { get; set; }
/// <summary>
/// Gets or sets the name of the ward.
/// </summary>
/// <value>
/// The name of the ward.
/// </value>
public string FloorName { get; set; }
/// <summary>
/// Gets or sets the name of the ward.
/// </summary>
/// <value>
/// The name of the ward.
/// </value>
public string LocationName { get; set; }
/// <summary>
/// Gets or sets the charge category identifier.
/// </summary>
/// <value>
/// The charge category identifier.
/// </value>
public int? ChargeCategoryId { get; set; }
}
}
namespace Hims.Shared.UserModels.ServiceOrder
{
/// <summary>
/// The receipt model
/// </summary>
public class AutomaticFilterModel
{
/// <summary>
/// Gets or sets the admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int AdmissionId { get; set; }
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the identifier.
/// </summary>
/// <value>
/// The identifier.
/// </value>
public string Id { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="FilterModel"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [by pass].
/// </summary>
/// <value>
/// <c>true</c> if [by pass]; otherwise, <c>false</c>.
/// </value>
public bool ByPass { 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 <see cref="FilterModel"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.ServiceOrder
{
using System;
using Dapper.Attributes;
/// <summary>
/// The Service Order insert model
/// </summary>
public class AutomaticInsertModel
{
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public double BedCost { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is bed.
/// </summary>
/// <value>
/// <c>true</c> if this instance is bed; otherwise, <c>false</c>.
/// </value>
public bool IsBed { get; set; }
/// <summary>
/// Gets or sets the doctor cost.
/// </summary>
/// <value>
/// The doctor cost.
/// </value>
public double DoctorCost { get; set; }
/// <summary>
/// Gets or sets the doctor cost once.
/// </summary>
/// <value>
/// The doctor cost once.
/// </value>
public double DoctorCostOnce { get; set; }
/// <summary>
/// Gets or sets the no of days.
/// </summary>
/// <value>
/// The no of days.
/// </value>
public int NoOfDays { 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 created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the room charge category identifier.
/// </summary>
/// <value>
/// The room charge category identifier.
/// </value>
public int? RoomChargeCategoryId { get; set; }
}
}
namespace Hims.Shared.UserModels.ServiceOrder.Charge
{
/// <summary>
/// <br />
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the charge identifier.
/// </summary>
/// <value>
/// The charge identifier.
/// </value>
public int ChargeId { 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 cost.
/// </summary>
/// <value>
/// The cost.
/// </value>
public decimal Cost { get; set; }
/// <summary>
/// Gets or sets the name of the charge group.
/// </summary>
/// <value>
/// The name of the charge group.
/// </value>
public string ChargeGroupName { 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 repeat type identifier.
/// </summary>
/// <value>
/// The repeat type identifier.
/// </value>
public int RepeatTypeId { get; set; }
/// <summary>
/// Gets or sets the automatic type identifier.
/// </summary>
/// <value>
/// The automatic type identifier.
/// </value>
public int AutomaticTypeId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is special doctor.
/// </summary>
/// <value>
/// <c>true</c> if this instance is special doctor; otherwise, <c>false</c>.
/// </value>
public int? ChargeTypeId { get; set; }
}
}
namespace Hims.Shared.UserModels.ServiceOrder.Counselling
{
public class basicCounsellingModel
{
public int CounsellingId { get; set; }
public int PatientId { get; set; }
public int PackageModuleId { get; set; }
public string CounsellingNo { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.ServiceOrder
{
/// <summary>
/// The receipt model
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int AdmissionId { get; set; }
/// <summary>
/// Gets or sets the identifier.
/// </summary>
/// <value>
/// The identifier.
/// </value>
public string Id { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="FilterModel"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool ActiveOnly { 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 encrypted provider id.
/// </summary>
public string? EncryptedProviderId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int? ProviderId { get; set; }
/// <summary>
/// Gets or sets the admission ids.
/// </summary>
/// <value>
/// The admission ids.
/// </value>
public List<int> AdmissionIds { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="FilterModel"/> 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 discharged.
/// </summary>
/// <value>
/// <c>true</c> if this instance is discharged; otherwise, <c>false</c>.
/// </value>
public bool IsDischarged { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.ServiceOrder
{
using System;
public class InsertHelperModel
{
public int? ServiceOrderId { get; set; }
public int ChargeId { get; set; }
public int Unit { get; set; }
public double Cost { get; set; }
public int? ChargeTypeId { get; set; }
public int? ChargeTypeMainId { get; set; }
public int? AdmissionPackageId { get; set; }
public int? PackageModuleDetailId { get; set; }
public int? UsedQuantity { get; set; }
public double? UsedCost { get; set; }
public string Notes { get; set; }
public bool Active { get; set; }
public DateTime CreatedDate { get; set; }
public string DiscountType { get; set; }
public double? DiscountPercentage { get; set; }
public double? DiscountAmount { get; set; }
public double? Discount { get; set; }
}
public class InsertLabServiceHelperModel
{
public int? LabServicesId { get; set; }
public int LabMainDetailId { get; set; }
public int LabHeaderId { get; set; }
public DateTime? LabDate { get; set; }
public int ChargeCategoryId { get; set; }
public int Unit { get; set; }
public double Cost { get; set; }
public string Notes { get; set; }
public bool Active { get; set; }
public int? AdmissionPackageId { get; set; }
public int? PackageModuleDetailId { get; set; }
public int? UsedQuantity { get; set; }
public double? UsedCost { get; set; }
public DateTime CreatedDate { get; set; }
public string DiscountType { get; set; }
public double? DiscountPercentage { get; set; }
public double? DiscountAmount { get; set; }
public double? Discount { get; set; }
}
public class InsertSurgeryHelperModel
{
public int? SurgeryServiceId { get; set; }
public int ChargeId { get; set; }
public int Unit { get; set; }
public double Cost { get; set; }
public int? ChargeTypeId { get; set; }
public int? ChargeTypeMainId { get; set; }
public int? AdmissionPackageId { get; set; }
public int? PackageModuleDetailId { get; set; }
public int? UsedQuantity { get; set; }
public double? UsedCost { get; set; }
public string Notes { get; set; }
public bool Active { get; set; }
public DateTime CreatedDate { get; set; }
public int? SurgeryId { get; set; }
public int? ChargeCategoryId { get; set; }
}
public class InsertScanHelperModel
{
public int? ScanServiceId { get; set; }
public int ChargeId { get; set; }
public int Unit { get; set; }
public double Cost { get; set; }
public int? ChargeTypeId { get; set; }
public int? ChargeTypeMainId { get; set; }
public int? AdmissionPackageId { get; set; }
public int? PackageModuleDetailId { get; set; }
public int? UsedQuantity { get; set; }
public double? UsedCost { get; set; }
public string Notes { get; set; }
public bool Active { get; set; }
public DateTime CreatedDate { get; set; }
public int? ScanTestMasterId { get; set; }
public int? ChargeCategoryId { get; set; }
}
public class InsertModel
{
public List<InsertHelperModel> Records { get; set; }
public List<InsertLabServiceHelperModel> LabServices { get; set; }
public List<InsertSurgeryHelperModel> SurgeryServices { get; set; }
public List<InsertScanHelperModel> ScanServices { get; set; }
public List<int> Packages { get; set; }
public int CreatedBy { get; set; }
public int AdmissionId { get; set; }
public string Id { get; set; }
public bool IsAdmission { get; set; }
public short? RoleId { get; set; }
public string RollName { get; set; }
public string FullName { get; set; }
public string Notes { get; set; }
public int? LocationId { get; set; }
public bool? ReceiptSaving { get; set; }
}
}
using Hims.Shared.UserModels.Laboratory;
using Hims.Shared.UserModels.Labs;
using System.Collections.Generic;
namespace Hims.Shared.UserModels.ServiceOrder
{
/// <summary> The chat.</summary>
public class OverAllViewModel
{
/// <summary>
/// Gets or sets the no of days.
/// </summary>
/// <value>
/// The no of days.
/// </value>
public int NoOfDays { get; set; }
public string ModuleTypeName { get; set; }
/// <summary>
/// Gets or sets the bed cost.
/// </summary>
/// <value>
/// The bed cost.
/// </value>
public double BedCost { get; set; }
/// <summary>
/// Gets or sets the doctor cost.
/// </summary>
/// <value>
/// The doctor cost.
/// </value>
public double DoctorCost { get; set; }
/// <summary>
/// Gets or sets the covid cost.
/// </summary>
/// <value>
/// The covid cost.
/// </value>
public double CovidCost { get; set; }
/// <summary>
/// Gets or sets the general records.
/// </summary>
/// <value>
/// The general records.
/// </value>
public IEnumerable<ViewModel> GeneralRecords { get; set; }
/// <summary>
/// Gets or sets the general records.
/// </summary>
/// <value>
/// The general records.
/// </value>
public IEnumerable<SurgeryViewModel> SurgeryServiceRecords { get; set; }
/// <summary>
/// Gets or sets the lab services.
/// </summary>
/// <value>
/// The lab services.
/// </value>
public IEnumerable<AdmissionNewLabsModel> LabServices { get; set; }
/// <summary>
/// Gets or sets the lab services.
/// </summary>
/// <value>
/// The lab services.
/// </value>
public IEnumerable<ScanViewModel> ScanServiceRecords { get; set; }
/// <summary>
/// Gets or sets the pharmacy indent records.
/// </summary>
/// <value>
/// The pharmacy indent records.
/// </value>
public IEnumerable<PharmacyIndent.ViewModel> PharmacyIndentRecords { get; set; }
/// <summary>
/// Gets or sets the pharmacy indent records.
/// </summary>
/// <value>
/// The pharmacy indent records.
/// </value>
public IEnumerable<PackageModuleModel> PackageRecords { get; set; }
/// <summary>
/// Gets or sets the room charge category identifier.
/// </summary>
/// <value>
/// The room charge category identifier.
/// </value>
public int RoomChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the name of the charge category.
/// </summary>
/// <value>
/// The name of the charge category.
/// </value>
public string ChargeCategoryName { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.ServiceOrder.Package
{
using System;
/// <summary>
/// The Service Order insert model
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public int CreatedBy { 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 admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int AdmissionId { get; set; }
/// <summary>
/// Gets or sets the identifier.
/// </summary>
/// <value>
/// The identifier.
/// </value>
public string Id { 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; }
}
}
using System;
namespace Hims.Shared.UserModels.ServiceOrder.Package
{
/// <summary>
/// <br />
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the charge identifier.
/// </summary>
/// <value>
/// The charge identifier.
/// </value>
public int PackageId { get; set; }
/// <summary>
/// Gets or sets the admission package identifier.
/// </summary>
/// <value>
/// The admission package identifier.
/// </value>
public int AdmissionPackageId { get; set; }
/// <summary>
/// Gets or sets the name of the charge.
/// </summary>
/// <value>
/// The name of the charge.
/// </value>
public string Name { 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 cost.
/// </summary>
/// <value>
/// The cost.
/// </value>
public decimal Cost { get; set; }
/// <summary>
/// Gets or sets the unit.
/// </summary>
/// <value>
/// The unit.
/// </value>
public int Unit { 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 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 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; }
public int PackageModuleId { get; set; }
public string PackageName { get; set; }
public int ExpiresIn { get; set; }
public string ModuleTypeName { get; set; }
public int Quantity { get; set; }
public decimal Total { get; set; }
public int FreeQuantity { get; set; }
public int LocationId { get; set; }
public int ChargeModuleTemplateId { get; set; }
public string ModulesMasterIds { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.ServiceOrder
{
public class PackageModuleModel
{
public int AdmissionPackageId { get; set; }
public int? CounsellingId { get; set; }
public int PackageModuleId { get; set; }
public int LocationId { get; set; }
public int ChargeModuleTemplateId { get; set; }
public string ModulesMasterIds { get; set; }
public string PackageName { get; set; }
public int ModuleTypeId { get; set; }
public string ModuleTypeName { get; set; }
public short Quantity { get; set; }
public short FreeQuantity { get; set; }
public short? ExpiresIn { get; set; }
public decimal Total { get; set; }
public bool Active { get; set; }
public string CreatedByName { get; set; }
public DateTime CreatedDate { get; set; }
public string ModifiedByName { get; set; }
public DateTime? ModifiedDate { get; set; }
public int? AdmissionId { get; set; }
public int? AppointmentId { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.ServiceOrder.PharmacyIndent
{
/// <summary> The chat.</summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int PharmacyIssueDetailId { 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 unit.
/// </summary>
/// <value>
/// The unit.
/// </value>
public int Unit { get; set; }
/// <summary>
/// Gets or sets the cost.
/// </summary>
/// <value>
/// The cost.
/// </value>
public double Cost { get; set; }
/// <summary>
/// Gets or sets the name of the department.
/// </summary>
/// <value>
/// The name of the department.
/// </value>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the name of the charge group.
/// </summary>
/// <value>
/// The name of the charge group.
/// </value>
public string DepartmentName { get; set; }
/// <summary>
/// Gets or sets the name of the charge.
/// </summary>
/// <value>
/// The name of the charge.
/// </value>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the discount percentage.
/// </summary>
/// <value>
/// The discount percentage.
/// </value>
public int DiscountPercentage { 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 name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.ServiceOrder
{
public class ScanViewModel
{
public int ScanServiceId { get; set; }
public int ScanTestMasterId { get; set; }
public string ScanTestName { get; set; }
public int ChargeId { get; set; }
public int Unit { get; set; }
public int RepeatTypeId { get; set; }
public int AutomaticTypeId { get; set; }
public int? ChargeTypeMainId { get; set; }
public string ChargeTypeMainName { get; set; }
public int? ChargeTypeId { get; set; }
public int? ModulesMasterId { get; set; }
public int? AdmissionId { get; set; }
public bool IsMain { get; set; }
public double Cost { get; set; }
public string DepartmentName { get; set; }
public string ChargeGroupName { get; set; }
public string ChargeName { get; set; }
public int? AdmissionPackageId { get; set; }
public int? PackageModuleDetailId { get; set; }
public int? UsedQuantity { get; set; }
public double? UsedCost { get; set; }
public bool Active { get; set; }
public string CreatedByName { get; set; }
public DateTime CreatedDate { get; set; }
public string ModifiedByName { get; set; }
public DateTime? ModifiedDate { get; set; }
public int? Count { get; set; }
public string? ChargeCategoryName { get; set; }
public int? ChargeCategoryId { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.ServiceOrder
{
public class SurgeryViewModel
{
public int SurgeryServiceId { get; set; }
public int SurgeryId { get; set; }
public string Name { get; set; }
public int ChargeId { get; set; }
public int Unit { get; set; }
public int RepeatTypeId { get; set; }
public int AutomaticTypeId { get; set; }
public int? ChargeTypeMainId { get; set; }
public string ChargeTypeMainName { get; set; }
public int? ChargeTypeId { get; set; }
public int? ModulesMasterId { get; set; }
public int? AdmissionId { get; set; }
public bool IsMain { get; set; }
public double Cost { get; set; }
public string DepartmentName { get; set; }
public string ChargeGroupName { get; set; }
public string ChargeName { get; set; }
public int? AdmissionPackageId { get; set; }
public int? PackageModuleDetailId { get; set; }
public int? UsedQuantity { get; set; }
public double? UsedCost { get; set; }
public bool Active { get; set; }
public string CreatedByName { get; set; }
public DateTime CreatedDate { get; set; }
public string ModifiedByName { get; set; }
public DateTime? ModifiedDate { get; set; }
public int? Count { get; set; }
public string? ChargeCategoryName { get; set; }
public int? ChargeCategoryId { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.ServiceOrder
{
using System;
using Dapper.Attributes;
/// <summary> The chat.</summary>
public class UpdateModel
{
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int ModifiedBy { get; set; }
/// <summary>
/// Creates new records.
/// </summary>
/// <value>
/// The new records.
/// </value>
public InsertModel NewRecords { get; set; }
/// <summary>
/// Gets or sets the deleted records.
/// </summary>
/// <value>
/// The deleted records.
/// </value>
public List<int> DeletedRecords { get; set; }
/// <summary>
/// Gets or sets the deleted lab records.
/// </summary>
/// <value>
/// The deleted lab records.
/// </value>
public List<int> DeletedLabServices { get; set; }
/// <summary>
/// Gets or sets the deactivate lab booking header records.
/// </summary>
/// <value>
/// The deleted lab records.
/// </value>
public List<int> DeletedLabBookingHeaderIds { get; set; }
/// <summary>
/// Gets or sets the deleted packages.
/// </summary>
/// <value>
/// The deleted packages.
/// </value>
public List<int> DeletedPackages { 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 patient id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the charge category identifier.
/// </summary>
/// <value>
/// The charge category identifier.
/// </value>
public int? ChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the lab service identifier.
/// </summary>
/// <value>
/// The lab service identifier.
/// </value>
public int? LabServiceId { get; set; }
public bool? ReceiptSaving { get; set; }
/// <summary>
/// Gets or sets the deleted records.
/// </summary>
/// <value>
/// The deleted records.
/// </value>
public List<int> DeletedSurgeryServices { get; set; }
/// <summary>
/// Gets or sets the deleted scan services.
/// </summary>
public List<int> DeletedScanServices { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.ServiceOrder
{
public class ViewModel
{
public int ServiceOrderId { get; set; }
public int ChargeId { get; set; }
public int Unit { get; set; }
public int RepeatTypeId { get; set; }
public int AutomaticTypeId { get; set; }
public int? ChargeTypeMainId { get; set; }
public string ChargeTypeMainName { get; set; }
public int? ChargeTypeId { get; set; }
public int? ModulesMasterId { get; set; }
public int? AdmissionId { get; set; }
public bool IsMain { get; set; }
public double Cost { get; set; }
public string DepartmentName { get; set; }
public string ChargeGroupName { get; set; }
public string ChargeName { get; set; }
public int? AdmissionPackageId { get; set; }
public int? PackageModuleDetailId { get; set; }
public int? UsedQuantity { get; set; }
public double? UsedCost { get; set; }
public bool Active { get; set; }
public string CreatedByName { get; set; }
public DateTime CreatedDate { get; set; }
public string ModifiedByName { get; set; }
public DateTime? ModifiedDate { get; set; }
public string DiscountType { get; set; }
public double? DiscountPercentage { get; set; }
public double? DiscountAmount { get; set; }
public double? Discount { get; set; }
public int? count { get; set; }
}
}
namespace Hims.Shared.UserModels.Slots
{
using System;
/// <summary>
/// The Time Slot Model
/// </summary>
public class AvailabilityModel
{
/// <summary>
/// Gets or sets the slot value.
/// </summary>
public int ProviderAvailabilitySlotId { get; set; }
/// <summary>
/// Gets or sets the slot time.
/// </summary>
public int Charge { get; set; }
}
}
\ No newline at end of file
namespace Hims.Shared.UserModels.Slots
{
using System;
using System.Collections.Generic;
/// <summary>
/// The Doctor slots
/// </summary>
public class DoctorScheduleSlotModel
{
/// <summary>
/// Gets or sets the slot name.
/// </summary>
public string SlotName { get; set; }
/// <summary>
/// Gets or sets the slot time.
/// </summary>
public TimeSpan SlotTime { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public SlotStatus Status { get; set; }
/// <summary>
/// Gets or sets the slot value.
/// </summary>
public string SlotName12HoursEnd { get; set; }
/// <summary>
/// Gets or sets the slot type.
/// </summary>
public SlotType SlotType { get; set; }
/// <summary>
/// Gets or sets the appointment no.
/// </summary>
public string AppointmentNo { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public string AppointmentTime { get; set; }
/// <summary>
/// Gets or sets the patient mobile.
/// </summary>
public string PatientMobile { get; set; }
/// <summary>
/// Gets or sets the umr no.
/// </summary>
public string? UMRNo { get; set; }
/// <summary>
/// Gets or sets the patient mobile.
/// </summary>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the patient mobile.
/// </summary>
public string ANCCardGeneration { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
public int? TotalItems { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string PatientName { 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 created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the scan test name.
/// </summary>
public string ScanTestName { get; set; }
/// <summary>
/// Gets or sets the slot end time.
/// </summary>
public string EndTime { get; set; }
/// <summary>
/// Gets or sets the booked end time.
/// </summary>
public string AppointmentEndTime { get; set; }
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.Slots
{
public class Request
{
public int ProviderLocationId { get; set; }
public int PatientId { get; set; }
public string SlotDate { get; set; } = string.Empty;
public int? VisitTypeId { get; set; }
public string Offset { get; set; } = string.Empty;
public string TimeZone { get; set; } = string.Empty;
public string Time { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the specialization id.
/// </summary>
public int SpecializationId { get; set; }
public int? LocationId { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.Slots
{
public class Response<T>
{
public List<T> Slots { get; set; }
public bool IsReturn { get; set; }
public bool IsBadRequest { get; set; }
public string BadRequestMessage { get; set; }
public ProviderShiftModel Availability { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.Slots
{
public class SlotRequest
{
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int? ProviderId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the slot date.
/// </summary>
public string SlotDate { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the visitType id.
/// </summary>
public int? VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the offset.
/// </summary>
public string Offset { get; set; } = string.Empty;
/// <summary>
/// Gets or sets time zone.
/// </summary>
public string TimeZone { get; set; } = string.Empty;
/// <summary>
/// Gets or sets time.
/// </summary>
public string Time { get; set; } = string.Empty;
/// <summary>
/// Gets or sets specialization id.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets consulation type id.
/// </summary>
public int? ConsultationTypeId { get; set; }
/// <summary>
/// Gets or sets the providerAvailabilityid.
/// </summary>
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the chargeTypes Id.
/// </summary>
public int? ChargeTypesId { 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 count.
/// </summary>
public int? Count { get; set; }
/// <summary>
/// Gets or sets the surgery id.
/// </summary>
public int? SurgeryId { get; set; }
/// <summary>
/// Gets or sets the appointment date.
/// </summary>
public string? AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the session id.
/// </summary>
public int? SessionTypeId { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.Slots
{
public class SlotResponse<T>
{
public List<T> Slots { get; set; }
public bool IsReturn { get; set; }
public bool IsBadRequest { get; set; }
public string BadRequestMessage { get; set; }
public ProviderShiftModel Availability { get; set; }
}
}
namespace Hims.Shared.UserModels.Slots
{
/// <summary>
/// The SlotStatus
/// </summary>
public enum SlotStatus
{
/// <summary>
/// Available is A.
/// </summary>
Available = 'A',
/// <summary>
/// Booked is B.
/// </summary>
Booked = 'B',
/// <summary>
/// Expired is E.
/// </summary>
Expired = 'E'
}
}
\ No newline at end of file
namespace Hims.Shared.UserModels.Slots
{
using System;
using System.Collections.Generic;
/// <summary>
/// The Time Slot Model
/// </summary>
public class TimeSlotModel
{
/// <summary>
/// Gets or sets the slot value.
/// </summary>
public string SlotValue { get; set; }
/// <summary>
/// Gets or sets the slot time.
/// </summary>
public TimeSpan SlotTime { get; set; }
/// <summary>
/// Gets or sets the slot name.
/// </summary>
public string SlotName { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public SlotStatus Status { get; set; }
/// <summary>
/// Gets or sets the token number.
/// </summary>
/// <value>
/// The token number.
/// </value>
public int TokenNumber { get; set; }
/// <summary>
/// Gets or sets the charge.
/// </summary>
public decimal? Charge { get; set; }
/// <summary>
/// Gets or sets the duration
/// </summary>
public int? Duration { get; set; }
/// <summary>
/// Gets or sets or sets the provider Availbaility id.
/// </summary>
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the session Id.
/// </summary>
public int? SessionId { get; set; }
/// <summary>
/// Gets or sets the provider availability chargeType id
/// </summary>
public int? DoctorSpecializationChargeModuleDetailsId { get; set; }
/// <summary>
/// Gets or sets the value.
/// </summary>
public string? Value { get; set; }
/// <summary>
/// Gets or sets the slot value.
/// </summary>
public string SlotValue24HoursEnd { get; set; }
/// <summary>
/// Gets or sets the slot value.
/// </summary>
public string SlotName12HoursEnd { get; set; }
public string? AvailableDate { get; set; }
public string? Id { get; set; }
/// <summary>
/// Gets or sets the slot type.
/// </summary>
public SlotType SlotType { get; set; }
/// <summary>
/// Gets or sets the slot value.
/// </summary>
public int? OTRoomAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the room name.
/// </summary>
public string? RoomName { get; set; }
/// <summary>
/// Gets or sets the ot room id.
/// </summary>
public int? OTRoomId { get; set; }
/// <summary>
/// Gets or sets the charge types id.
/// </summary>
public int? ChargeTypesId { get; set; }
}
/// <summary>
/// The SlotStatus
/// </summary>
public enum SlotType
{
/// <summary>
/// GeneralSLots is G.
/// </summary>
GeneralSLots = 'G',
/// <summary>
/// NewPatientSlots is N.
/// </summary>
NewPatientSlots = 'N',
/// <summary>
/// OfflinePatientSlots is O.
/// </summary>
OfflinePatientSlots = 'O',
/// <summary>
/// BreakSlots is B
/// </summary>
BreakSlots = 'B'
}
public class MultipleDays
{
public DateTime Date { get; set; }
public List<TimeSlotModel> Slots { get; set; }
public List<MultipleOTRooms> RoomSlots { get; set; }
public string message { get; set; }
public string? OtRoom { get; set; }
}
public class MultipleOTRooms
{
public List<TimeSlotModel> Slots { get; set; }
public string? OtRoom { get; set; }
}
public class SessionTimings
{
/// <summary>
/// Gets or sets the date.
/// </summary>
public DateTime? Date { get; set; }
/// <summary>
/// Gets or sets the time.
/// </summary>
public string Time { get; set; }
/// <summary>
/// Gets or sets the slots.
/// </summary>
public List<TimeSlotModel> Slots { get; set; }
/// <summary>
/// Gets or sets the message.
/// </summary>
public string Message { get; set; }
}
}
\ No newline at end of file
using System;
namespace Hims.Shared.UserModels.Telemedicine
{
/// <summary>
/// The modify patient request.
/// </summary>
public class TelemedicineHistoryModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { 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; }
/// <summary>
/// Gets or sets the full name of the opponent.
/// </summary>
/// <value>
/// The full name of the opponent.
/// </value>
public string OpponentFullName { get; set; }
/// <summary>
/// Gets or sets the name of the opponent role.
/// </summary>
/// <value>
/// The name of the opponent role.
/// </value>
public string OpponentRoleName { 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 payload.
/// </summary>
/// <value>
/// The payload.
/// </value>
public string Payload { get; set; }
/// <summary>
/// Gets or sets the note.
/// </summary>
/// <value>
/// The note.
/// </value>
public string Note { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
/// <value>
/// The start date.
/// </value>
public DateTime StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
/// <value>
/// The end date.
/// </value>
public DateTime EndDate { get; set; }
/// <summary>
/// Gets or sets the telemedicine identifier.
/// </summary>
/// <value>
/// The telemedicine identifier.
/// </value>
public int TelemedicineId { get; set; }
}
}
\ No newline at end of file
namespace Hims.Shared.UserModels.Telemedicine
{
/// <summary>
/// The modify patient request.
/// </summary>
public class TelemedicineTemplateModel
{
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int Id { get; set; }
/// <summary>
/// Gets or sets the date of birth.
/// </summary>
public string Name { get; set; }
}
}
\ No newline at end of file
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Shared.UserModels.TemplateDesign.Component
{
/// <summary>
/// The delete model.
/// </summary>
public class DeleteModel
{
/// <summary>
/// Gets or sets the component type id.
/// </summary>
public int ComponentId { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Shared.UserModels.TemplateDesign.Component
{
/// <summary>
/// The fetch model.
/// </summary>
public class FetchModel
{
/// <summary>
/// Gets or sets the component type id.
/// </summary>
public int ComponentId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the component type id.
/// </summary>
public int ComponentTypeId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the ceated 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 active.
/// </summary>
public bool Active { 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 a value indicating whether active.
/// </summary>
public int TotalItems { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Shared.UserModels.TemplateDesign.Component
{
/// <summary>
/// The insert model.
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the component type id.
/// </summary>
public int ComponentId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the component type id.
/// </summary>
public int ComponentTypeId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the ceated 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 active.
/// </summary>
public bool Active { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Shared.UserModels.TemplateDesign.Component
{
/// <summary>
/// The update model.
/// </summary>
public class UpdateModel
{
/// <summary>
/// Gets or sets the component type id.
/// </summary>
public int ComponentId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the component type id.
/// </summary>
public int ComponentTypeId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the ceated 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 active.
/// </summary>
public bool Active { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Shared.UserModels.TemplateDesign.ComponentType
{
/// <summary>
/// The delete model.
/// </summary>
public class DeleteModel
{
/// <summary>
/// Gets or sets the component type id.
/// </summary>
public int ComponentTypeId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value sub name.
/// </summary>
public string SubName { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Shared.UserModels.TemplateDesign.ComponentType
{
/// <summary>
/// The fetch model.
/// </summary>
public class FetchModel
{
/// <summary>
/// Gets or sets the component type id.
/// </summary>
public int ComponentTypeId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value sub name.
/// </summary>
public string SubName { 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; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Shared.UserModels.TemplateDesign.ComponentType
{
/// <summary>
/// The insert model.
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the component type id.
/// </summary>
public int ComponentTypeId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value sub name.
/// </summary>
public string SubName { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Shared.UserModels.TemplateDesign.ComponentType
{
/// <summary>
/// The update model.
/// </summary>
public class UpdateModel
{
/// <summary>
/// Gets or sets the component type id.
/// </summary>
public int ComponentTypeId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value sub name.
/// </summary>
public string SubName { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.TemplateDesign.Template
{
/// <summary>
/// The insert model.
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the template id.
/// </summary>
public int TemplateId { get; set; }
/// <summary>
/// Gets or sets the template name.
/// </summary>
public string TemplateName { get; set; }
/// <summary>
/// Gets or sets the active.
/// </summary>
/// <value>
/// The active.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Shared.UserModels.UnitType
{
/// <summary>
/// The unit type filter model.
/// </summary>
public class DeleteModel
{
/// <summary>
/// Gets or sets the unit type id.
/// </summary>
public int UnitTypeId { get; set; }
/// <summary>
/// Gets or sets the modifies by.
/// </summary>
public int ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
}
}
#nullable enable
using System;
namespace Hims.Shared.UserModels.UnitType
{
/// <summary>
/// The unit type filter model.
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
public string? Name { get; set; }
/// <summary>
/// Gets or sets the min.
/// </summary>
public int? Min { get; set; }
/// <summary>
/// Gets or sets the max.
/// </summary>
public int? Max { get; set; }
/// <summary>
/// Gets or sets the 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.UnitType
{
/// <summary>
/// The vital type filter model.
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
public string? Name { get; set; }
/// <summary>
/// Gets or sets the Min.
/// </summary>
public int? Min { get; set; }
/// <summary>
/// Gets or sets the Max.
/// </summary>
public int? Max { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
}
}
namespace Hims.Shared.UserModels.UnitType
{
/// <summary>
/// The unit type filter model.
/// </summary>
public class UpdateModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
public string? Name { get; set; }
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int UnitTypeId { get; set; }
/// <summary>
/// Gets or sets the min.
/// </summary>
public int? Min { get; set; }
/// <summary>
/// Gets or sets the max.
/// </summary>
public int? Max { get; set; }
/// <summary>
/// Gets or sets the modifies by.
/// </summary>
public int ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
}
}
namespace Hims.Shared.UserModels.UnitType
{
using System;
/// <summary>
/// The coupon.
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the unit type id.
/// </summary>
public int UnitTypeId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string? Name { get; set; }
/// <summary>
/// Gets or sets the min.
/// </summary>
public int? Min { get; set; }
/// <summary>
/// Gets or sets the max.
/// </summary>
public int? Max { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int 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? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
public int? TotalItems { get; set; }
/// <summary>
/// Gets or sets the unit type identifier.
/// </summary>
/// <value>
/// The unit type identifier.
/// </value>
public int Id { get; set; }
}
}
namespace Hims.Shared.UserModels.UserExcel
{
/// <summary>
/// The raw products model.
/// </summary>
public class RawUserModel
{
/// <summary>
/// Gets or sets the first name.
/// </summary>
public string FirstName { get; set; }
/// <summary>
/// Gets or sets the last name.
/// </summary>
public string LastName { get; set; }
/// <summary>
/// Gets or sets the middle name.
/// </summary>
public string MiddleName { get; set; }
/// <summary>
/// Gets or sets the full name.
/// </summary>
public string FullName { get; set; }
/// <summary>
/// Gets or sets the empolyee code .
/// </summary>
public string EmployeeCode { get; set; }
/// <summary>
/// Gets or sets the address.
/// </summary>
public string Address { get; set; }
/// <summary>
/// Gets or sets the location.
/// </summary>
public string Location { get; set; }
/// <summary>
/// Gets or sets the role.
/// </summary>
public string Role { 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 gender.
/// </summary>
public string Gender { get; set; }
/// <summary>
/// Gets or sets the user name.
/// </summary>
public string UserName { get; set; }
/// <summary>
/// Gets or sets the finance.
/// </summary>
public string Finance { get; set; }
/// <summary>
/// Gets or sets the role id.
/// </summary>
public int RoleId { get; set; }
/// <summary>
/// Gets or sets the location Id.
/// </summary>
public int[] LocationId { get; set; }
}
}
namespace Hims.Shared.UserModels.UserExcel
{
using System;
using System.Collections.Generic;
/// <summary>
/// The excel upload history.
/// </summary>
public class UserExcelHistoryModel
{
/// <summary>
/// Gets or sets the users.
/// </summary>
public List<RawUserModel> Users { 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 UserExcelHistoryId { get; set; }
/// <summary>
/// Gets or sets the uploaded by.
/// </summary>
public int UploadedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the sheet name.
/// </summary>
public string? SheetName { get; set; }
/// <summary>
/// Gets or sets the 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 LocationIds { 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 AddedUsers { get; set; }
/// <summary>
/// Gets or sets the role id.
/// </summary>
public int? RoleId { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Vaccine
{
/// <summary>
/// The immunization history model.
/// </summary>
public class ImmunizationHistoryModel
{
/// <summary>
/// Gets or sets the immunization history identifier.
/// </summary>
/// <value>
/// The immunization history identifier.
/// </value>
public int ImmunizationHistoryId { 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 pharmacy product identifier.
/// </summary>
/// <value>
/// The pharmacy product identifier.
/// </value>
public int? PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the vaccine master identifier.
/// </summary>
/// <value>
/// The vaccine master identifier.
/// </value>
public int VaccineMasterId { get; set; }
/// <summary>
/// Gets or sets the name of the product.
/// </summary>
/// <value>
/// The name of the product.
/// </value>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the bill number.
/// </summary>
/// <value>
/// The bill number.
/// </value>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
/// <value>
/// The batch number.
/// </value>
public string BatchNumber { get; set; }
/// <summary>
/// Gets or sets the expiry date.
/// </summary>
/// <value>
/// The expiry date.
/// </value>
public DateTime? ExpiryDate { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
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 status.
/// </summary>
/// <value>
/// The status.
/// </value>
public string Status { 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 order by.
/// </summary>
/// <value>
/// The order by.
/// </value>
public string OrderBy { get; set; }
/// <summary>
/// Gets or sets the name of the vaccine.
/// </summary>
/// <value>
/// The name of the vaccine.
/// </value>
public string VaccineName { get; set; }
/// <summary>
/// Gets or sets the vaccine given by.
/// </summary>
/// <value>
/// The vaccine given by.
/// </value>
public int? VaccineGivenBy { get; set; }
/// <summary>
/// Gets or sets the name of the vaccine given by.
/// </summary>
/// <value>
/// The name of the vaccine given by.
/// </value>
public string VaccineGivenByName { get; set; }
/// <summary>
/// Gets or sets the vaccine given date.
/// </summary>
/// <value>
/// The vaccine given date.
/// </value>
public DateTime? VaccineGivenDate { get; set; }
/// <summary>
/// Gets or sets the immunization ids.
/// </summary>
/// <value>
/// The immunization ids.
/// </value>
public string ImmunizationIds { get; set; }
/// <summary>
/// Gets or sets the type of the allowed.
/// </summary>
/// <value>
/// The type of the allowed.
/// </value>
public string AllowedType { get; set; }
/// <summary>
/// Gets or sets the allowed days.
/// </summary>
/// <value>
/// The allowed days.
/// </value>
public int? AllowedDays { get; set; }
}
}
\ No newline at end of file
namespace Hims.Shared.UserModels.Vaccine
{
/// <summary>
/// The vaccine age group model.
/// </summary>
public class VaccineAgeGroupModel
{
/// <summary>
/// Gets or sets the vaccine age group identifier.
/// </summary>
/// <value>
/// The vaccine age group identifier.
/// </value>
public int VaccineAgeGroupId { get; set; }
/// <summary>
/// Gets or sets the name of the age group.
/// </summary>
/// <value>
/// The name of the age group.
/// </value>
public string AgeGroupName { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Vaccine
{
/// <summary>
/// The vaccine group model.
/// </summary>
public class VaccineGroupModel
{
/// <summary>
/// Gets or sets the vaccine group identifier.
/// </summary>
/// <value>
/// The vaccine group identifier.
/// </value>
public int VaccineGroupId { get; set; }
/// <summary>
/// Gets or sets the name of the vaccine group.
/// </summary>
/// <value>
/// The name of the vaccine group.
/// </value>
public string VaccineGroupName { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
/// <value>
/// The description.
/// </value>
public string Description { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the 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 active.
/// </summary>
/// <value>
/// The active.
/// </value>
public bool? Active { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Vaccine
{
public class VaccineMasterModel
{
/// <summary>
/// Gets or sets the vaccine master identifier.
/// </summary>
/// <value>
/// The vaccine master identifier.
/// </value>
public int VaccineMasterId { get; set; }
/// <summary>
/// Gets or sets the vaccine group identifier.
/// </summary>
/// <value>
/// The vaccine group identifier.
/// </value>
public int VaccineGroupId { get; set; }
/// <summary>
/// Gets or sets the name of the vaccine group.
/// </summary>
/// <value>
/// The name of the vaccine group.
/// </value>
public string VaccineGroupName { get; set; }
/// <summary>
/// Gets or sets the name of the vaccine.
/// </summary>
/// <value>
/// The name of the vaccine.
/// </value>
public string VaccineName { get; set; }
/// <summary>
/// Gets or sets the display name.
/// </summary>
/// <value>
/// The display name.
/// </value>
public string DisplayName { get; set; }
/// <summary>
/// Gets or sets the vaccine instruction.
/// </summary>
/// <value>
/// The vaccine instruction.
/// </value>
public string VaccineInstruction { get; set; }
/// <summary>
/// Gets or sets the order.
/// </summary>
/// <value>
/// The order.
/// </value>
public int Order { get; set; }
/// <summary>
/// Gets or sets the vaaccine type identifier.
/// </summary>
/// <value>
/// The vaaccine type identifier.
/// </value>
public int VaccineTypeId { get; set; }
/// <summary>
/// Gets or sets the allowed days.
/// </summary>
/// <value>
/// The allowed days.
/// </value>
public double AllowedDays { get; set; }
/// <summary>
/// Gets or sets the type of the allowed.
/// </summary>
/// <value>
/// The type of the allowed.
/// </value>
public string AllowedType { get; set; }
/// <summary>
/// Gets or sets the exclusion days.
/// </summary>
/// <value>
/// The exclusion days.
/// </value>
public string ExclusionDays { get; set; }
/// <summary>
/// Gets or sets the allowed laps days.
/// </summary>
/// <value>
/// The allowed laps days.
/// </value>
public int? AllowedLapsDays { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the 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 the color of the row.
/// </summary>
/// <value>
/// The color of the row.
/// </value>
public string RowColor { get; set; }
/// <summary>
/// Gets or sets the active.
/// </summary>
/// <value>
/// The active.
/// </value>
public bool? Active { 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 scheduled date.
/// </summary>
/// <value>
/// The scheduled date.
/// </value>
public DateTime? ScheduledDate { get; set; }
/// <summary>
/// Gets or sets the allowed laps date.
/// </summary>
/// <value>
/// The allowed laps date.
/// </value>
public DateTime? AllowedLapsDate { get; set; }
/// <summary>
/// Gets or sets the vaccine age group identifier.
/// </summary>
/// <value>
/// The vaccine age group identifier.
/// </value>
public int VaccineAgeGroupId { get; set; }
/// <summary>
/// Gets or sets the name of the age group.
/// </summary>
/// <value>
/// The name of the age group.
/// </value>
public string AgeGroupName { get; set; }
/// <summary>
/// Gets or sets the immunization.
/// </summary>
/// <value>
/// The immunization.
/// </value>
public ImmunizationHistoryModel Immunization { get; set; }
}
}
using System;
using System.Collections.Generic;
namespace Hims.Shared.UserModels.Vaccine
{
/// <summary>
/// The vaccine pharmacy link header model.
/// </summary>
public class VaccinePharmacyLinkHeaderModel
{
/// <summary>
/// Gets or sets the vaccine pharmacy link header identifier.
/// </summary>
/// <value>
/// The vaccine pharmacy link header identifier.
/// </value>
public int VaccinePharmacyLinkHeaderId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product identifier.
/// </summary>
/// <value>
/// The pharmacy product identifier.
/// </value>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the 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 vaccines.
/// </summary>
/// <value>
/// The vaccines.
/// </value>
public List<VaccinePharmacyLinkDetailModel> Vaccines { 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 company.
/// </summary>
/// <value>
/// The name of the company.
/// </value>
public string CompanyName { 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 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 vaccine pharmacy link detail model
/// </summary>
public class VaccinePharmacyLinkDetailModel
{
/// <summary>
/// Gets or sets the vaccine pharmacy link detail identifier.
/// </summary>
/// <value>
/// The vaccine pharmacy link detail identifier.
/// </value>
public int VaccinePharmacyLinkDetailId { get; set; }
/// <summary>
/// Gets or sets the vaccine pharmacy link header identifier.
/// </summary>
/// <value>
/// The vaccine pharmacy link header identifier.
/// </value>
public int VaccinePharmacyLinkHeaderId { get; set; }
/// <summary>
/// Gets or sets the vaccine master identifier.
/// </summary>
/// <value>
/// The vaccine master identifier.
/// </value>
public int VaccineMasterId { get; set; }
/// <summary>
/// Gets or sets the name of the vaccine.
/// </summary>
/// <value>
/// The name of the vaccine.
/// </value>
public string VaccineName { get; set; }
/// <summary>
/// Gets or sets the display name.
/// </summary>
/// <value>
/// The display name.
/// </value>
public string DisplayName { get; set; }
/// <summary>
/// Gets or sets the type of the allowed.
/// </summary>
/// <value>
/// The type of the allowed.
/// </value>
public string AllowedType { get; set; }
/// <summary>
/// Gets or sets the name of the age group.
/// </summary>
/// <value>
/// The name of the age group.
/// </value>
public string AgeGroupName { get; set; }
/// <summary>
/// Gets or sets the allowed days.
/// </summary>
/// <value>
/// The allowed days.
/// </value>
public int AllowedDays { get; set; }
/// <summary>
/// Gets or sets the grouped vaccines.
/// </summary>
/// <value>
/// The grouped vaccines.
/// </value>
public string GroupedVaccines { 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 company.
/// </summary>
/// <value>
/// The name of the company.
/// </value>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets the pharmacy product identifier.
/// </summary>
/// <value>
/// The pharmacy product identifier.
/// </value>
public int PharmacyProductId { get; set; }
}
}
namespace Hims.Shared.UserModels.Vaccine
{
/// <summary>
/// The vaccine type model.
/// </summary>
public class VaccineTypeModel
{
/// <summary>
/// Gets or sets the vaccine type identifier.
/// </summary>
/// <value>
/// The vaaccine type identifier.
/// </value>
public int VaccineTypeId { 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 color of the row.
/// </summary>
/// <value>
/// The color of the row.
/// </value>
public string RowColor { get; set; }
}
}
using System;
using System.Collections.Generic;
namespace Hims.Shared.UserModels.Vendors
{
/// <summary>
/// The incoming quotation header model.
/// </summary>
public class IncomingQuotationHeaderModel
{
/// <summary>
/// Gets or sets the incoming quotation header identifier.
/// </summary>
/// <value>
/// The incoming quotation header identifier.
/// </value>
public long IncomingQuotationHeaderId { get; set; }
/// <summary>
/// Gets or sets the product for quotation header identifier.
/// </summary>
/// <value>
/// The product for quotation header identifier.
/// </value>
public long ProductForQuotationHeaderId { 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 payment due days.
/// </summary>
/// <value>
/// The payment due days.
/// </value>
public int? PaymentDueDays { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is finalized.
/// </summary>
/// <value>
/// <c>true</c> if this instance is finalized; otherwise, <c>false</c>.
/// </value>
public bool IsFinalized { get; set; }
/// <summary>
/// Gets or sets the finalized by.
/// </summary>
/// <value>
/// The finalized by.
/// </value>
public int? FinalizedBy { get; set; }
/// <summary>
/// Gets or sets the finalized date.
/// </summary>
/// <value>
/// The finalized date.
/// </value>
public DateTime? FinalizedDate { get; set; }
/// <summary>
/// Gets or sets the delivery date.
/// </summary>
/// <value>
/// The delivery date.
/// </value>
public DateTime? DeliveryDate { get; set; }
/// <summary>
/// Gets or sets the total amount.
/// </summary>
/// <value>
/// The total amount.
/// </value>
public double TotalAmount { get; set; }
/// <summary>
/// Gets or sets the total tax.
/// </summary>
/// <value>
/// The total tax.
/// </value>
public double TotalTax { get; set; }
/// <summary>
/// Gets or sets the total net amount.
/// </summary>
/// <value>
/// The total net amount.
/// </value>
public double TotalNetAmount { get; set; }
/// <summary>
/// Gets or sets the total discount.
/// </summary>
/// <value>
/// The total discount.
/// </value>
public double TotalDiscount { get; set; }
/// <summary>
/// Gets or sets the products.
/// </summary>
/// <value>
/// The products.
/// </value>
public List<IncomingQuotationDetailModel> Products { get; set; }
/// <summary>
/// Gets or sets the name of the supplier.
/// </summary>
/// <value>
/// The name of the supplier.
/// </value>
public string SupplierName { 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 name of the finalized by.
/// </summary>
/// <value>
/// The name of the finalized by.
/// </value>
public string FinalizedByName { get; set; }
}
/// <summary>
/// The incoming quotation detail model.
/// </summary>
public class IncomingQuotationDetailModel
{
/// <summary>
/// Gets or sets the incoming quotation detail identifier.
/// </summary>
/// <value>
/// The incoming quotation detail identifier.
/// </value>
public long IncomingQuotationDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product approval identifier.
/// </summary>
/// <value>
/// The pharmacy product approval identifier.
/// </value>
public long PharmacyProductApprovalId { get; set; }
/// <summary>
/// Gets or sets the incoming quotation header identifier.
/// </summary>
/// <value>
/// The incoming quotation header identifier.
/// </value>
public long IncomingQuotationHeaderId { get; set; }
/// <summary>
/// Gets or sets the product for quotation detail identifier.
/// </summary>
/// <value>
/// The product for quotation detail identifier.
/// </value>
public long ProductForQuotationDetailId { 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.
/// </summary>
/// <value>
/// The tax.
/// </value>
public int Tax { 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 amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double Amount { 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 percentage.
/// </summary>
/// <value>
/// The discount percentage.
/// </value>
public double DiscountPercentage { get; set; }
/// <summary>
/// Gets or sets the discount amount.
/// </summary>
/// <value>
/// The discount amount.
/// </value>
public double DiscountAmount { get; set; }
/// <summary>
/// Gets or sets the net amount.
/// </summary>
/// <value>
/// The net amount.
/// </value>
public double NetAmount { 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 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 company.
/// </summary>
/// <value>
/// The name of the company.
/// </value>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [inventory item].
/// </summary>
/// <value>
/// <c>true</c> if [inventory item]; otherwise, <c>false</c>.
/// </value>
public bool InventoryItem { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Vendors
{
/// <summary>
/// The inventory product request model.
/// </summary>
public class InventoryProductRequestModel
{
/// <summary>
/// Gets or sets the inventory product request identifier.
/// </summary>
/// <value>
/// The inventory product request identifier.
/// </value>
public int InventoryProductRequestId { 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 name of the request product.
/// </summary>
/// <value>
/// The name of the request product.
/// </value>
public string RequestProductName { get; set; }
/// <summary>
/// Gets or sets the reason for request.
/// </summary>
/// <value>
/// The reason for request.
/// </value>
public string ReasonForRequest { get; set; }
/// <summary>
/// Gets or sets the requested quantity.
/// </summary>
/// <value>
/// The requested quantity.
/// </value>
public int RequestedQuantity { get; set; }
/// <summary>
/// Gets or sets the type of the request.
/// </summary>
/// <value>
/// The type of the request.
/// </value>
public string RequestType { 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 pharmacy product request identifier.
/// </summary>
/// <value>
/// The pharmacy product request identifier.
/// </value>
public long? PharmacyProductRequestId { get; set; }
/// <summary>
/// Gets or sets the rejected by.
/// </summary>
/// <value>
/// The rejected by.
/// </value>
public int? RejectedBy { get; set; }
/// <summary>
/// Gets or sets the name of the rejected by.
/// </summary>
/// <value>
/// The name of the rejected by.
/// </value>
public string RejectedByName { get; set; }
/// <summary>
/// Gets or sets the rejected date.
/// </summary>
/// <value>
/// The rejected date.
/// </value>
public DateTime? RejectedDate { get; set; }
/// <summary>
/// Gets or sets the reject reason.
/// </summary>
/// <value>
/// The reject reason.
/// </value>
public string RejectReason { get; set; }
/// <summary>
/// Gets or sets the document URL.
/// </summary>
/// <value>
/// The document URL.
/// </value>
public string DocumentUrl { 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 name of the modified by.
/// </summary>
/// <value>
/// The name of the modified by.
/// </value>
public string ModifiedByName { 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 company.
/// </summary>
/// <value>
/// The name of the company.
/// </value>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets the name of the purchase unit.
/// </summary>
/// <value>
/// The name of the purchase unit.
/// </value>
public string PurchaseUnitName { 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 ware house.
/// </summary>
/// <value>
/// The name of the ware house.
/// </value>
public string WareHouseName { get; set; }
/// <summary>
/// Gets or sets the approval given by.
/// </summary>
/// <value>
/// The approval given by.
/// </value>
public string ApprovalGivenBy { get; set; }
/// <summary>
/// Gets or sets the name of the approval given by.
/// </summary>
/// <value>
/// The name of the approval given by.
/// </value>
public string ApprovalGivenByName { get; set; }
/// <summary>
/// Gets or sets the approval given date.
/// </summary>
/// <value>
/// The approval given date.
/// </value>
public DateTime? ApprovalGivenDate { 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 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 a value indicating whether this instance is approved.
/// </summary>
/// <value>
/// <c>true</c> if this instance is approved; otherwise, <c>false</c>.
/// </value>
public bool? IsApproved { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Vendors
{
/// <summary>
/// The pharmacy product request model.
/// </summary>
public class PharmacyProductRequestModel
{
/// <summary>
/// Gets or sets the stock identifier.
/// </summary>
/// <value>
/// The stock identifier.
/// </value>
public string StockId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product identifier.
/// </summary>
/// <value>
/// The pharmacy product identifier.
/// </value>
public int? PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int TotalItems { 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 ware house.
/// </summary>
/// <value>
/// The name of the ware house.
/// </value>
public string WareHouseName { 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 raised by.
/// </summary>
/// <value>
/// The name of the raised by.
/// </value>
public string RaisedByName { get; set; }
/// <summary>
/// Gets or sets the suppliers.
/// </summary>
/// <value>
/// The suppliers.
/// </value>
public string Suppliers { get; set; }
/// <summary>
/// Gets or sets the pharmacy stock ids.
/// </summary>
/// <value>
/// The pharmacy stock ids.
/// </value>
public string PharmacyStockIds { get; set; }
/// <summary>
/// Gets or sets the pharmacy product request ids.
/// </summary>
/// <value>
/// The pharmacy product request ids.
/// </value>
public string PharmacyProductRequestIds { get; set; }
/// <summary>
/// Gets or sets the pharmacy product request identifier.
/// </summary>
/// <value>
/// The pharmacy product request identifier.
/// </value>
public int PharmacyProductRequestId { get; set; }
/// <summary>
/// Gets or sets the raised date.
/// </summary>
/// <value>
/// The raised date.
/// </value>
public DateTime RaisedDate { 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 tax identifier.
/// </summary>
/// <value>
/// The tax identifier.
/// </value>
public int? TaxId { 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 price history.
/// </summary>
/// <value>
/// The price history.
/// </value>
public VendorPurchaseProductList PriceHistory { get; set; }
/// <summary>
/// Gets or sets the prefered vendor.
/// </summary>
/// <value>
/// The prefered vendor.
/// </value>
public VendorPurchaseProductList PreferedVendor { get; set; }
/// <summary>
/// Gets or sets the price authority.
/// </summary>
/// <value>
/// The price authority.
/// </value>
public string PriceAuthority { get; set; }
/// <summary>
/// Gets or sets the type of the fetch.
/// </summary>
/// <value>
/// The type of the fetch.
/// </value>
public string FetchType { get; set; }
/// <summary>
/// Gets or sets the reorder quantity.
/// </summary>
/// <value>
/// The reorder quantity.
/// </value>
public int ReorderQuantity { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
/// <value>
/// The free.
/// </value>
public int? Free { get; set; }
/// <summary>
/// Gets or sets the source.
/// </summary>
/// <value>
/// The source.
/// </value>
public string Source { get; set; }
/// <summary>
/// Gets or sets the approval given by.
/// </summary>
/// <value>
/// The approval given by.
/// </value>
public int? ApprovalGivenBy { get; set; }
/// <summary>
/// Gets or sets the name of the approval given by.
/// </summary>
/// <value>
/// The name of the approval given by.
/// </value>
public string ApprovalGivenByName { get; set; }
/// <summary>
/// Gets or sets the approval given date.
/// </summary>
/// <value>
/// The approval given date.
/// </value>
public DateTime? ApprovalGivenDate { get; set; }
/// <summary>
/// Gets or sets the complete vendor list.
/// </summary>
/// <value>
/// The complete vendor list.
/// </value>
public VendorPurchaseHistory CompleteVendorList { get; set; }
/// <summary>
/// Gets or sets the requested quantity.
/// </summary>
/// <value>
/// The requested quantity.
/// </value>
public int? RequestedQuantity { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [inventory item].
/// </summary>
/// <value>
/// <c>true</c> if [inventory item]; otherwise, <c>false</c>.
/// </value>
public bool InventoryItem { 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 ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int? PharmacyWareHouseId { get; set; }
}
}
using System;
using System.Collections.Generic;
namespace Hims.Shared.UserModels.Vendors
{
/// <summary>
/// The product for quotation header.
/// </summary>
public class ProductForQuotationHeaderModel
{
/// <summary>
/// Gets or sets the product for quotation header identifier.
/// </summary>
/// <value>
/// The product for quotation header identifier.
/// </value>
public long ProductForQuotationHeaderId { get; set; }
/// <summary>
/// Gets or sets the quotation number.
/// </summary>
/// <value>
/// The quotation number.
/// </value>
public string QuotationNumber { 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 tender status identifier.
/// </summary>
/// <value>
/// The tender status identifier.
/// </value>
public int TenderStatusId { 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 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 detail.
/// </summary>
/// <value>
/// The detail.
/// </value>
public List<ProductForQuotationDetailModel> Detail { get; set; }
/// <summary>
/// Gets or sets the require detail.
/// </summary>
/// <value>
/// The require detail.
/// </value>
public string RequireDetail { get; set; }
/// <summary>
/// Gets or sets the quotation count.
/// </summary>
/// <value>
/// The quotation count.
/// </value>
public int QuotationCount { get; set; }
}
/// <summary>
/// The product for quotation detail model.
/// </summary>
public class ProductForQuotationDetailModel
{
/// <summary>
/// Gets or sets the product for quotation detail identifier.
/// </summary>
/// <value>
/// The product for quotation detail identifier.
/// </value>
public long ProductForQuotationDetailId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product approval identifier.
/// </summary>
/// <value>
/// The pharmacy product approval identifier.
/// </value>
public long PharmacyProductApprovalId { get; set; }
/// <summary>
/// Gets or sets the product for quotation header identifier.
/// </summary>
/// <value>
/// The product for quotation header identifier.
/// </value>
public long ProductForQuotationHeaderId { get; set; }
/// <summary>
/// Gets or sets the tender status identifier.
/// </summary>
/// <value>
/// The tender status identifier.
/// </value>
public int TenderStatusId { 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 status.
/// </summary>
/// <value>
/// The status.
/// </value>
public string Status { 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 sub type.
/// </summary>
/// <value>
/// The name of the sub type.
/// </value>
public string SubTypeName { get; set; }
/// <summary>
/// Gets or sets the name of the purchase unit.
/// </summary>
/// <value>
/// The name of the purchase unit.
/// </value>
public string PurchaseUnitName { 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 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 pharmacy product identifier.
/// </summary>
/// <value>
/// The pharmacy product identifier.
/// </value>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the purchase unit qty.
/// </summary>
/// <value>
/// The purchase unit qty.
/// </value>
public int PurchaseUnitQty { get; set; }
/// <summary>
/// Gets or sets the sale unit qty.
/// </summary>
/// <value>
/// The sale unit qty.
/// </value>
public int SaleUnitQty { 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 tax.
/// </summary>
/// <value>
/// The tax.
/// </value>
public int? Tax { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [inventory item].
/// </summary>
/// <value>
/// <c>true</c> if [inventory item]; otherwise, <c>false</c>.
/// </value>
public bool InventoryItem { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Vendors
{
/// <summary>
/// The purchase order detail.
/// </summary>
public class PurchaseOrderDetailModel
{
/// <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 purchase order header identifier.
/// </summary>
/// <value>
/// The purchase order header identifier.
/// </value>
public long PurchaseOrderHeaderId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product approval identifier.
/// </summary>
/// <value>
/// The pharmacy product approval identifier.
/// </value>
public long PharmacyProductApprovalId { get; set; }
/// <summary>
/// Gets or sets the purchase order header ids.
/// </summary>
/// <value>
/// The purchase order header ids.
/// </value>
public string PurchaseOrderHeaderIds { 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 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 purchase free.
/// </summary>
/// <value>
/// The purchase free.
/// </value>
public int? PurchaseFree { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double Amount { 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 net amount.
/// </summary>
/// <value>
/// The net amount.
/// </value>
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 purchase rate.
/// </summary>
/// <value>
/// The purchase rate.
/// </value>
public double PurchaseRate { 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 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 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 tax identifier.
/// </summary>
/// <value>
/// The tax identifier.
/// </value>
public int TaxId { get; set; }
/// <summary>
/// Gets or sets the tax.
/// </summary>
/// <value>
/// The tax.
/// </value>
public int Tax { 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 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 sub type.
/// </summary>
/// <value>
/// The name of the sub type.
/// </value>
public string SubTypeName { get; set; }
/// <summary>
/// Gets or sets the purchase unit qty.
/// </summary>
/// <value>
/// The purchase unit qty.
/// </value>
public int PurchaseUnitQty { get; set; }
/// <summary>
/// Gets or sets the sale unit qty.
/// </summary>
/// <value>
/// The sale unit qty.
/// </value>
public int SaleUnitQty { get; set; }
/// <summary>
/// Gets or sets the name of the purchase unit.
/// </summary>
/// <value>
/// The name of the purchase unit.
/// </value>
public string PurchaseUnitName { 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 status.
/// </summary>
/// <value>
/// The status.
/// </value>
public string Status { 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 the feeded quantity.
/// </summary>
/// <value>
/// The feeded quantity.
/// </value>
public int? FeededQuantity { get; set; }
/// <summary>
/// Gets or sets the feed purchase rate.
/// </summary>
/// <value>
/// The feed purchase rate.
/// </value>
public double? FeedPurchaseRate { get; set; }
/// <summary>
/// Gets or sets the feed MRP.
/// </summary>
/// <value>
/// The feed MRP.
/// </value>
public double? FeedMrp { get; set; }
/// <summary>
/// Gets or sets the tax per item.
/// </summary>
/// <value>
/// The tax per item.
/// </value>
public double? TaxPerItem { get; set; }
/// <summary>
/// Gets or sets the feed tax amount.
/// </summary>
/// <value>
/// The feed tax amount.
/// </value>
public double? FeedTaxAmount { get; set; }
/// <summary>
/// Gets or sets the discount per item.
/// </summary>
/// <value>
/// The discount per item.
/// </value>
public double? DiscountPerItem { 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 feed net amount.
/// </summary>
/// <value>
/// The feed net amount.
/// </value>
public double? FeedNetAmount { get; set; }
/// <summary>
/// Gets or sets the feed total.
/// </summary>
/// <value>
/// The feed total.
/// </value>
public double? FeedTotal { 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 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 barcode.
/// </summary>
/// <value>
/// The barcode.
/// </value>
public string Barcode { get; set; }
/// <summary>
/// Gets or sets the source.
/// </summary>
/// <value>
/// The source.
/// </value>
public string Source { get; set; }
/// <summary>
/// Gets or sets a value indicating whether inventory item.
/// </summary>
/// <value>
/// <c>true</c> if [inventory item]; otherwise, <c>false</c>.
/// </value>
public bool InventoryItem { get; set; }
}
}
namespace Hims.Shared.UserModels.Vendors
{
using System;
/// <summary>
/// The purchase order header.
/// </summary>
public class PurchaseOrderHeaderModel
{
/// <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 po number.
/// </summary>
/// <value>
/// The po number.
/// </value>
public string PONumber { get; set; }
/// <summary>
/// Gets or sets the purchase order header ids.
/// </summary>
/// <value>
/// The purchase order header ids.
/// </value>
public string PurchaseOrderHeaderIds { get; set; }
/// <summary>
/// Gets or sets the po raise date.
/// </summary>
/// <value>
/// The po raise date.
/// </value>
public DateTime PORaiseDate { get; set; }
/// <summary>
/// Gets or sets the estimated delivery date.
/// </summary>
/// <value>
/// The estimated delivery date.
/// </value>
public DateTime? EstimatedDeliveryDate { 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 tender status identifier.
/// </summary>
/// <value>
/// The tender status identifier.
/// </value>
public int TenderStatusId { get; set; }
/// <summary>
/// Gets or sets the total amount.
/// </summary>
/// <value>
/// The total amount.
/// </value>
public double TotalAmount { get; set; }
/// <summary>
/// Gets or sets the total tax.
/// </summary>
/// <value>
/// The total tax.
/// </value>
public double TotalTax { get; set; }
/// <summary>
/// Gets or sets the total net amount.
/// </summary>
/// <value>
/// The total net amount.
/// </value>
public double TotalNetAmount { 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 ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int PharmacyWareHouseId { get; set; }
/// <summary>
/// Gets or sets the due days.
/// </summary>
/// <value>
/// The due days.
/// </value>
public int? DueDays { get; set; }
/// <summary>
/// Gets or sets the 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 name of the supplier.
/// </summary>
/// <value>
/// The name of the supplier.
/// </value>
public string SupplierName { 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 name of the location.
/// </summary>
/// <value>
/// The name of the location.
/// </value>
public string LocationName { 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 status.
/// </summary>
/// <value>
/// The status.
/// </value>
public string Status { 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 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 netamount.
/// </summary>
/// <value>
/// The netamount.
/// </value>
public double? Netamount { 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 source.
/// </summary>
/// <value>
/// The source.
/// </value>
public string Source { get; set; }
/// <summary>
/// Gets or sets the total bill count.
/// </summary>
/// <value>
/// The total bill count.
/// </value>
public int? TotalBillCount { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.Vendors
{
/// <summary>
/// The supplier new product model.
/// </summary>
public class SupplierNewProductModel
{
/// <summary>
/// Gets or sets the supplier product header identifier.
/// </summary>
/// <value>
/// The supplier product header identifier.
/// </value>
public int SupplierProductHeaderId { 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 start date.
/// </summary>
/// <value>
/// The start date.
/// </value>
public DateTime StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
/// <value>
/// The end date.
/// </value>
public DateTime EndDate { get; set; }
/// <summary>
/// Gets or sets the created 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 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 role identifier.
/// </value>
public int? LoginAccountId { 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 products.
/// </summary>
/// <value>
/// The products.
/// </value>
public List<SupplierProductDetailModel> Products { get; set; }
/// <summary>
/// Gets or sets the stringified products.
/// </summary>
/// <value>
/// The stringified products.
/// </value>
public string StringifiedProducts { get;set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is started.
/// </summary>
/// <value>
/// <c>true</c> if this instance is started; otherwise, <c>false</c>.
/// </value>
public bool IsStarted { get; set; }
/// <summary>
/// Gets or sets the days to expire.
/// </summary>
/// <value>
/// The days to expire.
/// </value>
public int DaysToExpire { get; set; }
/// <summary>
/// Gets or sets the rate card URL.
/// </summary>
/// <value>
/// The rate card URL.
/// </value>
public string RateCardUrl { get; set; }
}
/// <summary>
/// The supplier product detail model.
/// </summary>
public class SupplierProductDetailModel
{
/// <summary>
/// Gets or sets the supplier product detail identifier.
/// </summary>
/// <value>
/// The supplier product detail identifier.
/// </value>
public int SupplierProductDetailId { get; set; }
/// <summary>
/// Gets or sets the supplier product header identifier.
/// </summary>
/// <value>
/// The supplier product header identifier.
/// </value>
public int SupplierProductHeaderId { 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 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 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 a value indicating whether [inventory item].
/// </summary>
/// <value>
/// <c>true</c> if [inventory item]; otherwise, <c>false</c>.
/// </value>
public bool InventoryItem { get; set; }
/// <summary>
/// Gets or sets the formulations.
/// </summary>
/// <value>
/// The formulations.
/// </value>
public List<SupplierProductFormulationModel> Formulations { get; set; }
/// <summary>
/// Gets or sets the name of the purchase unit.
/// </summary>
/// <value>
/// The name of the purchase unit.
/// </value>
public string PurchaseUnitName { get; set; }
}
/// <summary>
/// The supplier product formulation model.
/// </summary>
public class SupplierProductFormulationModel
{
/// <summary>
/// Gets or sets the supplier product formulation identifier.
/// </summary>
/// <value>
/// The supplier product formulation identifier.
/// </value>
public int SupplierProductFormulationId { get; set; }
/// <summary>
/// Gets or sets the supplier product detail identifier.
/// </summary>
/// <value>
/// The supplier product header identifier.
/// </value>
public int SupplierProductDetailId { get; set; }
/// <summary>
/// Gets or sets the operator.
/// </summary>
/// <value>
/// The operator.
/// </value>
public string Operator { get; set; }
/// <summary>
/// Gets or sets the condition.
/// </summary>
/// <value>
/// The condition.
/// </value>
public int Condition { get; set; }
/// <summary>
/// Gets or sets the foc quantity.
/// </summary>
/// <value>
/// The foc quantity.
/// </value>
public int FOCQuantity { get; set; }
}
}
namespace Hims.Shared.UserModels.Vendors
{
using System.Collections.Generic;
/// <summary>
/// The tender to supplier model.
/// </summary>
public class TenderToSupplierModel
{
/// <summary>
/// Gets or sets the supplier identifier.
/// </summary>
/// <value>
/// The supplier identifier.
/// </value>
public int SupplierId { get; set; }
/// <summary>
/// Gets or sets the product.
/// </summary>
/// <value>
/// The product.
/// </value>
public List<VendorProductForApprovalDisplayModel> Product { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
}
}
using System;
using System.Collections.Generic;
namespace Hims.Shared.UserModels.Vendors
{
/// <summary>
/// The vendor product for approval model.
/// </summary>
public class VendorProductForApprovalModel
{
/// <summary>
/// Gets or sets the name of the supplier.
/// </summary>
/// <value>
/// The name of the supplier.
/// </value>
public string SupplierName { 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 created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { 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 product.
/// </summary>
/// <value>
/// The product.
/// </value>
public List<PharmacyProductRequestModel> Product { get; set; }
}
public class VendorProductApprovalInsertModel
{
/// <summary>
/// Gets or sets the vendors.
/// </summary>
/// <value>
/// The vendors.
/// </value>
public List<VendorProductForApprovalModel> Vendors { 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 deliver date.
/// </summary>
/// <value>
/// The deliver date.
/// </value>
public DateTime? DeliverDate { 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 location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int LocationId{ 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 total amount.
/// </summary>
/// <value>
/// The total amount.
/// </value>
public double TotalAmount{ get; set; }
/// <summary>
/// Gets or sets the total tax.
/// </summary>
/// <value>
/// The total tax.
/// </value>
public double TotalTax{ get; set; }
/// <summary>
/// Gets or sets the total net amount.
/// </summary>
/// <value>
/// The total net amount.
/// </value>
public double TotalNetAmount{ get; set; }
/// <summary>
/// Gets or sets the products.
/// </summary>
/// <value>
/// The products.
/// </value>
public List<VendorProductForApprovalDisplayModel> Products { get; set; }
}
/// <summary>
/// The vendor product for approval display model.
/// </summary>
public class VendorProductForApprovalDisplayModel
{
/// <summary>
/// Gets or sets the pharmacy product approval identifier.
/// </summary>
/// <value>
/// The pharmacy product approval identifier.
/// </value>
public long PharmacyProductApprovalId { 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 stock identifier.
/// </summary>
/// <value>
/// The pharmacy stock identifier.
/// </value>
public int PharmacyStockId { 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 supplier identifier.
/// </summary>
/// <value>
/// The supplier identifier.
/// </value>
public int SupplierId { get; set; }
/// <summary>
/// Gets or sets the tax.
/// </summary>
/// <value>
/// The tax.
/// </value>
public int Tax { get; set; }
/// <summary>
/// Gets or sets the tender status identifier.
/// </summary>
/// <value>
/// The tender status identifier.
/// </value>
public int TenderStatusId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product request identifier.
/// </summary>
/// <value>
/// The pharmacy product request identifier.
/// </value>
public int PharmacyProductRequestId { 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 ApprovedDate { 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 raised by.
/// </summary>
/// <value>
/// The name of the raised by.
/// </value>
public string RaisedByName { get; set; }
/// <summary>
/// Gets or sets the request approved by.
/// </summary>
/// <value>
/// The request approved by.
/// </value>
public string RequestApprovedBy { 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 company.
/// </summary>
/// <value>
/// The name of the company.
/// </value>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets the raised date.
/// </summary>
/// <value>
/// The raised date.
/// </value>
public DateTime RaisedDate { 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 location.
/// </summary>
/// <value>
/// The location.
/// </value>
public string Location { 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 ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int PharmacyWareHouseId { get; set; }
/// <summary>
/// Gets or sets the name of the supplier.
/// </summary>
/// <value>
/// The name of the supplier.
/// </value>
public string SupplierName { get; set; }
/// <summary>
/// Gets or sets the deliver days.
/// </summary>
/// <value>
/// The deliver days.
/// </value>
public int? DeliverDays { 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 amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double Amount { 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 net amount.
/// </summary>
/// <value>
/// The net amount.
/// </value>
public double NetAmount { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [inventory item].
/// </summary>
/// <value>
/// <c>true</c> if [inventory item]; otherwise, <c>false</c>.
/// </value>
public bool InventoryItem { get; set; }
/// <summary>
/// Gets or sets the name of the purchase unit.
/// </summary>
/// <value>
/// The name of the purchase unit.
/// </value>
public string PurchaseUnitName { get; set; }
}
}
namespace Hims.Shared.UserModels.Vendors
{
using System;
using System.Collections.Generic;
/// <summary>
/// The vendor purchase product list.
/// </summary>
public class VendorPurchaseProductList
{
/// <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 supplier product header identifier.
/// </summary>
/// <value>
/// The supplier product header identifier.
/// </value>
public int SupplierProductHeaderId { get; set; }
/// <summary>
/// Gets or sets the supplier product detail identifier.
/// </summary>
/// <value>
/// The supplier product detail identifier.
/// </value>
public int SupplierProductDetailId { 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 tax per item.
/// </summary>
/// <value>
/// The tax per item.
/// </value>
public int TaxPerItem { 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 name of the supplier.
/// </summary>
/// <value>
/// The name of the supplier.
/// </value>
public string SupplierName { get; set; }
/// <summary>
/// Gets or sets the deliver days.
/// </summary>
/// <value>
/// The deliver days.
/// </value>
public int? DeliverDays { 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 sale unit.
/// </summary>
/// <value>
/// The name of the sale unit.
/// </value>
public string SaleUnitName { get; set; }
/// <summary>
/// Gets or sets the name of the purchase unit.
/// </summary>
/// <value>
/// The name of the purchase unit.
/// </value>
public string PurchaseUnitName { get; set; }
/// <summary>
/// Gets or sets the sale unit qty.
/// </summary>
/// <value>
/// The sale unit qty.
/// </value>
public int SaleUnitQty { get; set; }
/// <summary>
/// Gets or sets the purchase unit qty.
/// </summary>
/// <value>
/// The purchase unit qty.
/// </value>
public int PurchaseUnitQty { 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 formulations.
/// </summary>
/// <value>
/// The formulations.
/// </value>
public List<SupplierProductFormulationModel> Formulations { get; set; }
}
/// <summary>
/// The vendor purchase history.
/// </summary>
public class VendorPurchaseHistory
{
/// <summary>
/// Gets or sets from GRN.
/// </summary>
/// <value>
/// From GRN.
/// </value>
public List<VendorPurchaseProductList> FromGrn { get; set; }
/// <summary>
/// Gets or sets from prefered vendor.
/// </summary>
/// <value>
/// From prefered vendor.
/// </value>
public List<VendorPurchaseProductList> FromPreferedVendor { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.Vendors
{
public class VendorViewModel
{
/// <summary>
/// Gets or sets the tender request supplier header identifier.
/// </summary>
/// <value>
/// The tender request supplier header identifier.
/// </value>
public long TenderRequestSupplierHeaderId { get; set; }
/// <summary>
/// Gets or sets the tender status identifier.
/// </summary>
/// <value>
/// The tender status identifier.
/// </value>
public int TenderStatusId { get; set; }
/// <summary>
/// Gets or sets the tender raised by.
/// </summary>
/// <value>
/// The tender raised by.
/// </value>
public int TenderRaisedBy { 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 tender raised date.
/// </summary>
/// <value>
/// The tender raised date.
/// </value>
public DateTime TenderRaisedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is complete accepted.
/// </summary>
/// <value>
/// <c>true</c> if this instance is complete accepted; otherwise, <c>false</c>.
/// </value>
public bool IsCompleteAccepted { get; set; }
/// <summary>
/// Gets or sets the accepted date.
/// </summary>
/// <value>
/// The accepted date.
/// </value>
public DateTime? AcceptedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is complete rejected.
/// </summary>
/// <value>
/// <c>true</c> if this instance is complete rejected; otherwise, <c>false</c>.
/// </value>
public bool IsCompleteRejected { get; set; }
/// <summary>
/// Gets or sets the complete rejected date.
/// </summary>
/// <value>
/// The complete rejected date.
/// </value>
public DateTime? CompleteRejectedDate { get; set; }
/// <summary>
/// Gets or sets the complete rejection comment.
/// </summary>
/// <value>
/// The complete rejection comment.
/// </value>
public string CompleteRejectionComment { get; set; }
/// <summary>
/// Gets or sets the name of the supplier.
/// </summary>
/// <value>
/// The name of the supplier.
/// </value>
public string SupplierName { get; set; }
/// <summary>
/// Gets or sets the address.
/// </summary>
/// <value>
/// The address.
/// </value>
public string Address { 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 email.
/// </summary>
/// <value>
/// The email.
/// </value>
public string Email { get; set; }
/// <summary>
/// Gets or sets the name of the contact person.
/// </summary>
/// <value>
/// The name of the contact person.
/// </value>
public string ContactPersonName { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
/// <value>
/// The mobile.
/// </value>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the name of the tender raised by.
/// </summary>
/// <value>
/// The name of the tender raised by.
/// </value>
public string TenderRaisedByName { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
/// <value>
/// The status.
/// </value>
public string Status { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is accepted.
/// </summary>
/// <value>
/// <c>true</c> if this instance is accepted; otherwise, <c>false</c>.
/// </value>
public bool IsAccepted { get; set; }
}
public class VendorViewDetailModel
{
/// <summary>
/// Gets or sets the tender request supplier detail identifier.
/// </summary>
/// <value>
/// The tender request supplier detail identifier.
/// </value>
public long? TenderRequestSupplierDetailId { get; set; }
/// <summary>
/// Gets or sets the tender request supplier header identifier.
/// </summary>
/// <value>
/// The tender request supplier header identifier.
/// </value>
public long? TenderRequestSupplierHeaderId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product approval identifier.
/// </summary>
/// <value>
/// The pharmacy product approval identifier.
/// </value>
public long PharmacyProductApprovalId { get; set; }
/// <summary>
/// Gets or sets the vendor MRP.
/// </summary>
/// <value>
/// The vendor MRP.
/// </value>
public double? VendorMrp { get; set; }
/// <summary>
/// Gets or sets the vendor purchase rate.
/// </summary>
/// <value>
/// The vendor purchase rate.
/// </value>
public double? VendorPurchaseRate { get; set; }
/// <summary>
/// Gets or sets the tender status identifier.
/// </summary>
/// <value>
/// The tender status identifier.
/// </value>
public int TenderStatusId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [vendor rejected].
/// </summary>
/// <value>
/// <c>true</c> if [vendor rejected]; otherwise, <c>false</c>.
/// </value>
public bool VendorRejected { get; set; }
/// <summary>
/// Gets or sets the vendor rejected date.
/// </summary>
/// <value>
/// The vendor rejected date.
/// </value>
public DateTime? VendorRejectedDate { get; set; }
/// <summary>
/// Gets or sets the rejection comment.
/// </summary>
/// <value>
/// The rejection comment.
/// </value>
public string RejectionComment { 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 status.
/// </summary>
/// <value>
/// The status.
/// </value>
public string Status { 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 purchase unit qty.
/// </summary>
/// <value>
/// The purchase unit qty.
/// </value>
public int PurchaseUnitQty { get; set; }
/// <summary>
/// Gets or sets the sale unit qty.
/// </summary>
/// <value>
/// The sale unit qty.
/// </value>
public int SaleUnitQty { 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 purchase unit.
/// </summary>
/// <value>
/// The name of the purchase unit.
/// </value>
public string PurchaseUnitName { 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 name of the raised by.
/// </summary>
/// <value>
/// The name of the raised by.
/// </value>
public string RaisedByName { 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 delivery location.
/// </summary>
/// <value>
/// The delivery location.
/// </value>
public string DeliveryLocation { get; set; }
/// <summary>
/// Gets or sets the name of the supplier.
/// </summary>
/// <value>
/// The name of the supplier.
/// </value>
public string SupplierName { 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 tender raised date.
/// </summary>
/// <value>
/// The tender raised date.
/// </value>
public DateTime? TenderRaisedDate { get; set; }
/// <summary>
/// Gets or sets the accepted date.
/// </summary>
/// <value>
/// The accepted date.
/// </value>
public DateTime? AcceptedDate { get; set; }
/// <summary>
/// Gets or sets the reorder quantity.
/// </summary>
/// <value>
/// The reorder quantity.
/// </value>
public int ReorderQuantity { get; set; }
/// <summary>
/// Gets or sets the type of the fetch.
/// </summary>
/// <value>
/// The type of the fetch.
/// </value>
public string FetchType { get; set; }
/// <summary>
/// Gets or sets the pharmacy ware house identifier.
/// </summary>
/// <value>
/// The pharmacy ware house identifier.
/// </value>
public int? PharmacyWareHouseId { get; set; }
}
}
namespace Hims.Shared.UserModels.VitalType
{
/// <summary>
/// The visit type filter model.
/// </summary>
public class DeleteModel
{
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int VitalTypeId { get; set; }
/// <summary>
/// Gets or sets the modifies by.
/// </summary>
public int ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
}
}
#nullable enable
using System;
namespace Hims.Shared.UserModels.VitalType
{
/// <summary>
/// The visit type filter model.
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
public string? Name { get; set; }
/// <summary>
/// Gets or sets the unit type
/// </summary>
public string? UnitType { get; set; }
/// <summary>
/// Gets or sets the min.
/// </summary>
public int? Min { get; set; }
/// <summary>
/// Gets or sets the max.
/// </summary>
public int? Max { 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.VitalType
{
/// <summary>
/// The visit type filter model.
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the unit type.
/// </summary>
public string? UnitType { get; set; }
/// <summary>
/// Gets or sets the min.
/// </summary>
public float? Min { get; set; }
/// <summary>
/// Gets or sets the max.
/// </summary>
public float? Max { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
}
}
namespace Hims.Shared.UserModels.VitalType
{
/// <summary>
/// The visit type filter model.
/// </summary>
public class UpdateModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the unit type.
/// </summary>
public string? UnitType { get; set; }
/// <summary>
/// Gets or sets the min.
/// </summary>
public float? Min { get; set; }
/// <summary>
/// Gets or sets the max.
/// </summary>
public float? Max { get; set; }
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int VitalTypeId { get; set; }
/// <summary>
/// Gets or sets the modifies by.
/// </summary>
public int ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
}
}
namespace Hims.Shared.UserModels.VitalType
{
using System;
/// <summary>
/// The coupon.
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the vital type id.
/// </summary>
public int VitalTypeId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the unit type.
/// </summary>
public string? UnitType { get; set; }
/// <summary>
/// Gets or sets the min.
/// </summary>
public float? Min { get; set; }
/// <summary>
/// Gets or sets the max.
/// </summary>
public float? Max { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int 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? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
public int? TotalItems { get; set; }
/// <summary>
/// Gets or sets the vital type identifier.
/// </summary>
/// <value>
/// The vital type identifier.
/// </value>
public int Id { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.WebNotification
{
public class ContactDetailsModel
{
public int Id { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int Type { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
///
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public string Details { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool IsActive { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the encrypted patient id.
/// </summary>
public string? EncryptedPatientId { get; set; } = string.Empty;
}
}
namespace Hims.Shared.UserModels.WebNotification
{
using System;
/// <summary>
/// The web notification display model.
/// </summary>
public class WebNotificationDisplayModel
{
/// <summary>
/// Gets or sets the web notification identifier.
/// </summary>
/// <value>
/// The web notification identifier.
/// </value>
public int WebNotificationId { get; set; }
/// <summary>
/// Gets or sets the message.
/// </summary>
/// <value>
/// The message.
/// </value>
public string Message { get; set; }
/// <summary>
/// Gets or sets the patient mobile.
/// </summary>
/// <value>
/// The patient mobile.
/// </value>
public string PatientMobile { get; set; }
/// <summary>
/// Gets or sets the web notification priority identifier.
/// </summary>
/// <value>
/// The web notification priority identifier.
/// </value>
public int WebNotificationPriorityId { get; set; }
/// <summary>
/// Gets or sets the web notification log type identifier.
/// </summary>
/// <value>
/// The web notification log type identifier.
/// </value>
public int WebNotificationLogTypeId { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the redirection link.
/// </summary>
/// <value>
/// The redirection link.
/// </value>
public string RedirectionLink { get; set; }
/// <summary>
/// Gets or sets the allowed roles.
/// </summary>
/// <value>
/// The allowed roles.
/// </value>
public string AllowedRoles { get; set; }
/// <summary>
/// Gets or sets the allowed accounts.
/// </summary>
/// <value>
/// The allowed accounts.
/// </value>
public string AllowedAccounts { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is read.
/// </summary>
/// <value>
/// <c>true</c> if this instance is read; otherwise, <c>false</c>.
/// </value>
public bool IsRead { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [payment status].
/// </summary>
/// <value>
/// <c>true</c> if [payment status]; otherwise, <c>false</c>.
/// </value>
public bool? PaymentStatus { get; set; }
/// <summary>
/// Gets or sets the patient identifier.
/// </summary>
/// <value>
/// The patient identifier.
/// </value>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the reference identifier.
/// </summary>
/// <value>
/// The reference identifier.
/// </value>
public long? ReferenceId { get; set; }
/// <summary>
/// Gets or sets the encrypted reference identifier.
/// </summary>
/// <value>
/// The encrypted reference identifier.
/// </value>
public string EncryptedReferenceId { get; set; }
/// <summary>
/// Gets or sets the priority.
/// </summary>
/// <value>
/// The priority.
/// </value>
public string Priority { get; set; }
/// <summary>
/// Gets or sets the type of the log.
/// </summary>
/// <value>
/// The type of the log.
/// </value>
public string LogType { 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 age.
/// </summary>
/// <value>
/// The patient age.
/// </value>
public int PatientAge { 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 umr no.
/// </summary>
/// <value>
/// The umr no.
/// </value>
public string UMRNo { get; set; }
/// <summary>
/// Gets or sets the patient thumbnail URL.
/// </summary>
/// <value>
/// The patient thumbnail URL.
/// </value>
public string PatientThumbnailUrl { get; set; }
/// <summary>
/// Gets or sets the web notification type identifier.
/// </summary>
/// <value>
/// The web notification type identifier.
/// </value>
public int WebNotificationTypeId { get; set; }
/// <summary>
/// Gets or sets the type of the module.
/// </summary>
/// <value>
/// The type of the module.
/// </value>
public string ModuleType { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int TotalItems { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [active status].
/// </summary>
/// <value>
/// <c>true</c> if [Active status]; otherwise, <c>false</c>.
/// </value>
public bool? Active { get; set; }
}
}
namespace Hims.Shared.UserModels.WebNotification
{
using System;
/// <summary>
/// The web notification filter model.
/// </summary>
public class WebNotificationFilterModel
{
/// <summary>
/// Gets or sets the role identifier.
/// </summary>
/// <value>
/// The role identifier.
/// </value>
public int RoleId { 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 patient identifier.
/// </summary>
/// <value>
/// The patient identifier.
/// </value>
public int? PatientId { 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 web notification type id.
/// </summary>
/// <value>
/// The web notification type id.
/// </value>
public int? WebNotificationTypeId { get; set; }
/// <summary>
/// Gets or sets from time.
/// </summary>
/// <value>
/// From time.
/// </value>
public DateTime? FromDate { get; set; }
/// <summary>
/// Converts to time.
/// </summary>
/// <value>
/// To time.
/// </value>
public DateTime? ToDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [show read].
/// </summary>
/// <value>
/// <c>true</c> if [show read]; otherwise, <c>false</c>.
/// </value>
public bool ShowRead { get; set; }
/// <summary>
/// module type.
/// </summary>
/// <value>
/// module type.
/// </value>
public string ModuleType { 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 filters.
/// </summary>
public string? FilterPatient {get; set;}
/// <summary>
/// Gets or sets the provider identifier.
/// </summary>
/// <value>
/// The provider identifier.
/// </value>
public int? ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the module identifier not to display.
/// </summary>
/// <value>
/// The module identifier not to display.
/// </value>
public int? ModuleIdNotToDisplay { get; set; }
}
}
namespace Hims.Shared.UserModels.WebNotification
{
using System;
/// <summary>
/// The web notification model.
/// </summary>
public class WebNotificationModel
{
/// <summary>
/// Gets or sets the web notification identifier.
/// </summary>
/// <value>
/// The web notification identifier.
/// </value>
public int WebNotificationId { get; set; }
/// <summary>
/// Gets or sets the message.
/// </summary>
/// <value>
/// The message.
/// </value>
public string Message { get; set; }
/// <summary>
/// Gets or sets the web notification priority identifier.
/// </summary>
/// <value>
/// The web notification priority identifier.
/// </value>
public int WebNotificationPriorityId { get; set; }
/// <summary>
/// Gets or sets the web notification log type identifier.
/// </summary>
/// <value>
/// The web notification log type identifier.
/// </value>
public int WebNotificationLogTypeId { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the redirection link.
/// </summary>
/// <value>
/// The redirection link.
/// </value>
public string RedirectionLink { get; set; }
/// <summary>
/// Gets or sets the allowed roles.
/// </summary>
/// <value>
/// The allowed roles.
/// </value>
public string AllowedRoles { get; set; }
/// <summary>
/// Gets or sets the allowed accounts.
/// </summary>
/// <value>
/// The allowed accounts.
/// </value>
public string AllowedAccounts { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is read.
/// </summary>
/// <value>
/// <c>true</c> if this instance is read; otherwise, <c>false</c>.
/// </value>
public bool IsRead { get; set; }
/// <summary>
/// Gets or sets the patient identifier.
/// </summary>
/// <value>
/// The patient identifier.
/// </value>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the reference identifier.
/// </summary>
/// <value>
/// The reference identifier.
/// </value>
public int? ReferenceId { get; set; }
/// <summary>
/// Gets or sets the modules master identifier.
/// </summary>
/// <value>
/// The modules master identifier.
/// </value>
public int ModulesMasterId { get; set; }
}
}
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