Commit 0d635499 authored by Sandeep Sagar Panjala's avatar Sandeep Sagar Panjala

initial commit

parent 7a092f49
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The laborder.
/// </summary>
public class LabOrder
{
/// <summary>
/// Gets or sets the laborder id.
/// </summary>
[Key, Identity]
public int LabOrderId { get; set; }
/// <summary>Gets or sets the name.</summary>
public string Name { get; set; }
/// <summary>Gets or sets the type.</summary>
public string Type { get; set; }
/// <summary>Gets or sets the created by.</summary>
public int CreatedBy { get; set; }
/// <summary>Gets or sets the created date.</summary>
public DateTime CreatedDate { get; set; }
/// <summary>Gets or sets the modified by.</summary>
public int? ModifiedBy { get; set; }
/// <summary>Gets or sets the modified date.</summary>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The laborder value.
/// </summary>
public class LabOrderValue
{
/// <summary>
/// Gets or sets the laborder value id.
/// </summary>
[Key, Identity]
public int LabOrderValueId { get; set; }
/// <summary>Gets or sets the order code.</summary>
public string OrderCode { get; set; }
/// <summary>Gets or sets the code.</summary>
public string Code { get; set; }
/// <summary>Gets or sets the name.</summary>
public string Name { get; set; }
/// <summary>Gets or sets the test.</summary>
public string Test { get; set; }
/// <summary>Gets or sets the lab order id.</summary>
public int LabOrderId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>Gets or sets the modified by.</summary>
public int? ModifiedBy { get; set; }
/// <summary>Gets or sets the modified date.</summary>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class LabPackage
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int LabPackageId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double Amount { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Package"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class LabPackageDetail
{
/// <summary>
/// Gets or sets lab package detail id.
/// </summary>
[Key, Identity]
public int LabPackageDetailId { get; set; }
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
public int LabPackageId { get; set; }
/// <summary>
/// Gets or sets the lab header id.
/// </summary>
public int LabHeaderId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
/// <summary>
/// The lab patient parameter.
/// </summary>
public class LabPatientParameter
{
/// <summary>
/// Gets or sets the lab patient parameter id.
/// </summary>
[Key, Identity]
public int LabPatientParameterId { get; set; }
/// <summary>
/// Gets or sets the lab detail id.
/// </summary>
public int LabDetailId { get; set; }
/// <summary>
/// Gets or sets the test param result.
/// </summary>
public string TestParamResult { get; set; }
/// <summary>
/// Gets or sets the lab booking detail id.
/// </summary>
public int LabBookingDetailId { get; set; }
/// <summary>
/// Gets or sets the lab booking package detail id.
/// </summary>
public int? LabBookingPackageDetailId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary> The chat.</summary>
public class LabServices
{
/// <summary>
/// Gets or sets the lab service identifier.
/// </summary>
/// <value>
/// The lab service identifier.
/// </value>
[Key, Identity]
public int LabServicesId { 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 appointment identifier.
/// </summary>
/// <value>
/// The appointment identifier.
/// </value>
public int? AppointmentId { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the lab main detail identifier.
/// </summary>
/// <value>
/// The lab main detail identifier.
/// </value>
public int LabMainDetailId { get; set; }
/// <summary>
/// Gets or sets the 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 a value indicating whether this <see cref="ServiceOrder"/> 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 main.
/// </summary>
/// <value>
/// <c>true</c> if this instance is main; otherwise, <c>false</c>.
/// </value>
public bool IsMain { get; set; }
/// <summary>
/// Gets or sets the notes.
/// </summary>
/// <value>
/// The notes.
/// </value>
public string Notes { get; set; }
public int? AdmissionPackageId { get; set; }
public int? PackageModuleDetailId { get; set; }
public int? UsedQuantity { get; set; }
public double? UsedCost { get; set; }
public string DiscountType { get; set; }
public double? DiscountPercentage { get; set; }
public double? DiscountAmount { get; set; }
public double? Discount { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The language.
/// </summary>
public class Language
{
/// <summary>
/// Gets or sets the language id.
/// </summary>
[Key, Identity]
public int LanguageId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
public class LeaveType
{
/// <summary>
/// Gets or sets the leave type id.
/// </summary>
[Key, Identity]
public int LeaveTypeId { get; set; }
/// <summary>
/// Gets or sets the lave type name.
/// </summary>
public string LeaveTypeName { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the no of days.
/// </summary>
public int NoOfDays { get; set; }
/// <summary>
/// Gets or sets the note.
/// </summary>
public string Note { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the active.
/// </summary>
public bool Active { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
using System;
namespace Hims.Domain.Entities
{
/// <summary>
/// The Location
/// </summary>
public class Location
{
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
[Key, Identity]
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the practice identifier.
/// </summary>
/// <value>
/// The practice identifier.
/// </value>
public int PracticeId { 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 country identifier.
/// </summary>
/// <value>
/// The country identifier.
/// </value>
public int CountryId { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Location"/> 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.
/// </summary>
/// <value>
/// The name short cut
/// </value>
public string NameLoc { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
/// <summary>
/// The account.
/// </summary>
public class LocationAccountMap
{
/// <summary>
/// Gets or sets the location account map identifier.
/// </summary>
/// <value>
/// The location account map identifier.
/// </value>
[Key, Identity]
public int LocationAccountMapId { 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 account identifier.
/// </summary>
/// <value>
/// The account identifier.
/// </value>
public int AccountId { get; set; }
/// <summary>
/// Gets or sets the active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// gets or sets the created.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
\ No newline at end of file
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
/// <summary>
/// The account.
/// </summary>
public class LocationDepartmentMap
{
/// <summary>
/// Gets or sets the location account map identifier.
/// </summary>
/// <value>
/// The location account map identifier.
/// </value>
[Key, Identity]
public int LocationDepartmentMapId { 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 account identifier.
/// </summary>
/// <value>
/// The account identifier.
/// </value>
public int DepartmentId { get; set; }
}
}
\ No newline at end of file
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
/// <summary>
/// The account.
/// </summary>
public class LocationFloorMap
{
/// <summary>
/// Gets or sets the location floor map identifier.
/// </summary>
/// <value>
/// The location floor map identifier.
/// </value>
[Key, Identity]
public int LocationFloorMapId { 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 floor identifier.
/// </summary>
/// <value>
/// The floor identifier.
/// </value>
public int FloorId { get; set; }
}
}
\ No newline at end of file
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
using System;
namespace Hims.Domain.Entities
{
/// <summary>
/// The account.
/// </summary>
public class LocationLabHeaderMap
{
/// <summary>
/// Gets or sets the location Labheader map identifier.
/// </summary>
[Key, Identity]
public int LocationLabHeaderMapId { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int LabHeaderId { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public decimal Charge { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public decimal InPatientCharge { 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>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
using System;
namespace Hims.Domain.Entities
{
/// <summary>
/// The account.
/// </summary>
public class LocationLabPackageMap
{
/// <summary>
/// Gets or sets the location Labheader map identifier.
/// </summary>
[Key, Identity]
public int LocationLabPackageMapId { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int LabPackageId { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public decimal Amount { 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; }
}
}
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
/// <summary>
/// The account.
/// </summary>
public class LocationMealTypesMap
{
/// <summary>
/// Gets or sets the location meal Type map identifier.
/// </summary>
/// <value>
/// The location meal type map identifier.
/// </value>
[Key, Identity]
public int LocationMealTypesMapId { 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 Package table identifier.
/// </summary>
/// <value>
/// The account identifier.
/// </value>
public int MealTypeId { get; set; }
}
}
\ No newline at end of file
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
/// <summary>
/// The account.
/// </summary>
public class LocationPackageMap
{
/// <summary>
/// Gets or sets the location account map identifier.
/// </summary>
/// <value>
/// The location account map identifier.
/// </value>
[Key, Identity]
public int LocationPackageMapId { 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 Package table identifier.
/// </summary>
/// <value>
/// The account identifier.
/// </value>
public int PackageId { get; set; }
}
}
\ No newline at end of file
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The encounter.
/// </summary>
public class LocationScanTestMasterMap
{
/// <summary>
/// Gets or sets the location scan test master id.
/// </summary>
[Key, Identity]
public int LocationScanTestMasterMapId { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double Amount { get; set; }
/// <summary>
/// Gets or sets the type.
/// </summary>
public int ChargeCategoryId { get; set;
}/// <summary>
/// Gets or sets the type.
/// </summary>
public int LocationId { get; set; }
}
}
\ No newline at end of file
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
/// <summary>
/// The account.
/// </summary>
public class LocationSpecializationMap
{
/// <summary>
/// Gets or sets the location specialization map identifier.
/// </summary>
/// <value>
/// The location master specialization map identifier.
/// </value>
[Key, Identity]
public int LocationSpecializationMapId { 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 specialization identifier.
/// </summary>
/// <value>
/// The specialization identifier.
/// </value>
public int SpecializationId { get; set; }
}
}
\ No newline at end of file
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The login.
/// </summary>
public class Login
{
/// <summary>
/// Gets or sets the login id.
/// </summary>
[Key, Identity]
public int LoginId { get; set; }
/// <summary>
/// Gets or sets the username.
/// </summary>
public string? Username { get; set; }
/// <summary>
/// Gets or sets the password.
/// </summary>
public string? Password { get; set; }
/// <summary>
/// Gets or sets the device type.
/// </summary>
public string? DeviceType { get; set; }
/// <summary>
/// Gets or sets the device token.
/// </summary>
public string? DeviceToken { get; set; }
/// <summary>
/// Gets or sets the device id.
/// </summary>
public string? DeviceId { get; set; }
/// <summary>
/// Gets or sets the account types.
/// </summary>
public string? AccountTypes { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
}
}
\ No newline at end of file
#nullable enable
namespace Hims.Domain.Entities
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The lookup.
/// </summary>
public class Lookup
{
/// <summary>
/// Gets or sets the lookup id.
/// </summary>
[Key, Identity]
public int LookupId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the description.
/// </summary>
public string? Description { get; set; }
}
}
\ No newline at end of file
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The lookup value.
/// </summary>
public class LookupValue
{
/// <summary>
/// Gets or sets the lookup value id.
/// </summary>
[Key, Identity]
public int LookupValueId { get; set; }
/// <summary>
/// Gets or sets the lookup id.
/// </summary>
public int LookupId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; } = DateTime.Now;
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary> The chat.</summary>
public class MasterBill
{
/// <summary>
/// Gets or sets the Master bill identifier.
/// </summary>
/// <value>
/// The master bill identifier.
/// </value>
[Key, Identity]
public int MasterBillId { get; set; }
/// <summary>
/// Gets or sets the module identifier.
/// </summary>
/// <value>
/// The module identifier.
/// </value>
public int ModuleId { 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 cost.
/// </summary>
/// <value>
/// The cost.
/// </value>
public double Total { 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 bill number.
/// </summary>
/// <value>
/// The bill number.
/// </value>
public string BillNumber { get; set; }
/// <summary>
/// Gets or sets the bill status type id.
/// </summary>
/// <value>
/// The the bill status type id.
/// </value>
public int? BillStatusTypeId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="MasterBill"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the cost.
/// </summary>
/// <value>
/// The cost.
/// </value>
public double NetTotal { get; set; }
/// <summary>
/// Gets or sets the cost.
/// </summary>
/// <value>
/// The cost.
/// </value>
public double Tax { get; set; }
/// <summary>
/// Gets or sets the discount cost.
/// </summary>
/// <value>
/// The cost.
/// </value>
public double Discount { get; set; }
/// <summary>
/// Gets or sets the deposit.
/// </summary>
/// <value>
/// The cost.
/// </value>
public double Deposit { get; set; }
/// <summary>
/// Gets or sets the Refund.
/// </summary>
/// <value>
/// The cost.
/// </value>
public double Refund { get; set; }
/// <summary>
/// Gets or sets the Rounding cost.
/// </summary>
/// <value>
/// The cost.
/// </value>o
public double? Rounding { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The module identifier.
/// </value>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the receipt area type identifier.
/// </summary>
/// <value>
/// The module master identifier.
/// </value>
public int ReceiptAreaTypeId { get; set; }
public double RemovedAmount { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
#nullable enable
namespace Hims.Domain.Entities
{
/// <summary>
/// The MasterOperatingRoom.
/// </summary>
public class MasterOperatingRoom
{
/// <summary>
/// Gets or sets the master operating room identifier.
/// </summary>
/// <value>
/// The master operating room identifier.
/// </value>
[Key, Identity]
public int MasterOperatingRoomId { get; set; }
/// <summary>
/// Gets or sets the name of the master operating room.
/// </summary>
/// <value>
/// The name of the master operating room.
/// </value>
public string? MasterOperatingRoomName { get; set; }
/// <summary>
/// Gets or sets the locations.
/// </summary>
/// <value>
/// The locations.
/// </value>
public Array? Locations { get; set; } = null;
/// <summary>
/// Gets or sets the comments.
/// </summary>
/// <value>
/// The comments.
/// </value>
public string? Comments { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="MasterOperatingRoom"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The visit type.
/// </summary>
public class MealTypes
{
/// <summary>
/// Gets or sets the charge types id.
/// </summary>
[Key, Identity]
public int MealTypeId { get; set; }
/// <summary>
/// Gets or sets the meal name.
/// </summary>
public string MealInstruction { get; set; }
/// <summary>
/// Gets or sets the meal name.
/// </summary>
public string MealType { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
///// <summary>
///// Gets or sets the Location Id .
///// </summary>
//public int? LocationId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class MedicationMove
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int MedicationMoveId { get; set; }
/// <summary>
/// Gets or sets the progress report medication frequency identifier.
/// </summary>
/// <value>
/// The progress report medication frequency identifier.
/// </value>
public int ProgressReportMedicationFrequencyId { get; set; }
/// <summary>
/// Gets or sets the hour.
/// </summary>
/// <value>
/// The hour.
/// </value>
public int Hour { get; set; }
/// <summary>
/// Gets or sets the minute.
/// </summary>
/// <value>
/// The minute.
/// </value>
public int Minute { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
/// <value>
/// The reason.
/// </value>
public string Reason { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The Menu
/// </summary>
public class Menu
{
/// <summary>
/// Gets or sets the menu identifier.
/// </summary>
/// <value>
/// The menu identifier.
/// </value>
[Key, Identity]
public int MenuId { get; set; }
/// <summary>
/// Gets or sets the main page.
/// </summary>
/// <value>
/// The main page.
/// </value>
public string MainPage { get; set; }
/// <summary>
/// Gets or sets the sub page.
/// </summary>
/// <value>
/// The sub page.
/// </value>
public string SubPage { get; set; }
/// <summary>
/// Gets or sets the category.
/// </summary>
/// <value>
/// The category.
/// </value>
public string Category { get; set; }
/// <summary>
/// Gets or sets the URL.
/// </summary>
/// <value>
/// The URL.
/// </value>
public string Url { get; set; }
/// <summary>
/// Gets or sets the count.
/// </summary>
/// <value>
/// The count.
/// </value>
public int Count { get; set; }
/// <summary>
/// Gets or sets the general classes.
/// </summary>
/// <value>
/// The general classes.
/// </value>
public string GeneralClasses { get; set; }
/// <summary>
/// Gets or sets the icon classes.
/// </summary>
/// <value>
/// The icon classes.
/// </value>
public string IconClasses { get; set; }
/// <summary>
/// Gets or sets the menu type identifier.
/// </summary>
/// <value>
/// The menu type identifier.
/// </value>
public int? MenuTypeId { get; set; }
/// <summary>
/// Gets or sets the priority.
/// </summary>
/// <value>
/// The priority.
/// </value>
public int? Priority { get; set; }
/// <summary>
/// Gets or sets the encounter key.
/// </summary>
/// <value>
/// The encounter key.
/// </value>
public string? EncounterKey { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The Menu Access.
/// </summary>
public class MenuAccess
{
/// <summary>
/// Gets or sets the menu access identifier.
/// </summary>
/// <value>
/// The menu access identifier.
/// </value>
[Key, Identity]
public int MenuAccessId { get; set; }
/// <summary>
/// Gets or sets the role identifier.
/// </summary>
/// <value>
/// The role identifier.
/// </value>
public int RoleId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is full access.
/// </summary>
/// <value>
/// <c>true</c> if this instance is full access; otherwise, <c>false</c>.
/// </value>
public bool IsFullAccess { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [initial route menu identifier].
/// </summary>
/// <value>
/// <c>true</c> if [initial route menu identifier]; otherwise, <c>false</c>.
/// </value>
public int? InitialRouteMenuId { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
public class MenuButton
{
/// <summary>
/// get or set AmbulanceId
/// </summary>
[Key,Identity]
public int MenuButtonId { get; set; }
/// <summary>
/// get or set AmbulanceNo
/// </summary>
public string Name { get; set; }
/// <summary>
/// get or set AssignedNo
/// </summary>
public string Code { get; set; }
/// <summary>
/// get or set a value indicating whether active.
/// </summary>
public int MenuId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The Menu Access.
/// </summary>
public class MenuButtonRelationship
{
/// <summary>
/// Gets or sets the menu relationship identifier.
/// </summary>
/// <value>
/// The menu relationship identifier.
/// </value>
[Key, Identity]
public int MenuButtonRelationshipId { get; set; }
/// <summary>
/// Gets or sets the role identifier.
/// </summary>
/// <value>
/// The role identifier.
/// </value>
public int RoleId { get; set; }
/// <summary>
/// Gets or sets the menu identifier.
/// </summary>
/// <value>
/// The menu identifier.
/// </value>
public int MenuButtonId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The Menu Access.
/// </summary>
public class MenuRelationship
{
/// <summary>
/// Gets or sets the menu relationship identifier.
/// </summary>
/// <value>
/// The menu relationship identifier.
/// </value>
[Key, Identity]
public int MenuRelationshipId { get; set; }
/// <summary>
/// Gets or sets the role identifier.
/// </summary>
/// <value>
/// The role identifier.
/// </value>
public int RoleId { get; set; }
/// <summary>
/// Gets or sets the menu identifier.
/// </summary>
/// <value>
/// The menu identifier.
/// </value>
public int MenuId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The message.
/// </summary>
public class Message
{
/// <summary>
/// Gets or sets the message id.
/// </summary>
[Key, Identity]
public long MessageId { get; set; }
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
[IgnoreUpdate]
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
[IgnoreUpdate]
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
[IgnoreUpdate]
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the messages.
/// </summary>
public string Messages { get; set; }
/// <summary>
/// Gets or sets the doctor message count.
/// </summary>
public int? DoctorMessageCount { get; set; }
/// <summary>
/// Gets or sets the patient message count.
/// </summary>
public int? PatientMessageCount { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
[IgnoreUpdate]
public bool Active { get; set; }
}
}
\ No newline at end of file
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The account.
/// </summary>
public class ModulesMaster
{
/// <summary>
/// Gets or sets the ModulesMasterId.
/// </summary>
[Key, Identity]
public int ModulesMasterId { get; set; }
/// <summary>
/// Gets or sets the ModuleName.
/// </summary>
public string ModuleName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the ModuleIcon.
/// </summary>
public string ModuleIcon { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the ModuleDescription.
/// </summary>
public string ModuleDescription { get; set; } = string.Empty;
/// Gets or sets the last created by.
/// </summary>
/// </summary>
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the type of the package.
/// </summary>
/// <value>
/// The type of the package.
/// </value>
public string? PackageType { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is charge category applicable.
/// </summary>
/// <value>
/// <c>true</c> if this instance is charge category applicable; otherwise, <c>false</c>.
/// </value>
public bool IsChargeCategoryApplicable { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is doctor charge category applicable.
/// </summary>
/// <value>
/// <c>true</c> if this instance is doctor charge category applicable; otherwise, <c>false</c>.
/// </value>
public bool IsDoctorChargeCategoryApplicable { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is package applicable.
/// </summary>
/// <value>
/// <c>true</c> if this instance is package applicable; otherwise, <c>false</c>.
/// </value>
public bool IsPackageApplicable { get; set; }
}
}
\ No newline at end of file

using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities
{
public class NeonatalIPEncounter
{
/// <summary>
/// Gets or Sets the Neonatal IP Encounter
/// </summary>
[Key, Identity]
public int NeonatalIPEncounterId { get; set; }
/// <summary>
/// Gets or Sets the appointment id
/// </summary>
public int? AppointmentId { get; set; }
/// <summary>
/// Gets or Sets the patient id
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or Sets the pediatric encounter date
/// </summary>
public DateTime NeonatalIPEncounterDate { get; set; }
/// <summary>
/// Gets or Sets the active
/// </summary>
///
public bool Active { get; set; }
/// <summary>
/// Gets or Sets the created by
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or Sets the created date
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or Sets the modified by
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or Sets the modified date
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or Sets the admission id
/// </summary>
public int? AdmissionId { get; set; }
/// <summary>
/// Gets or Sets the
/// </summary>
public string NeonatalBaby { get; set; }
}
}
using Hims.Shared.Library.Enums;
namespace Hims.Domain.Entities
{
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The account.
/// </summary>
public class NotificationLog
{
/// <summary>
/// Gets or sets the account id.
/// </summary>
[Key, Identity]
public int NotificationLogId { get; set; }
/// <summary>
/// Gets or sets the to type id.
/// </summary>
public ToType ToTypeId { get; set; }
/// <summary>
/// Gets or sets the to type device ids id.
/// </summary>
public string DeviceIds { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public string Status { get; set; }
/// <summary>
/// Gets or sets the response.
/// </summary>
public string Response { get; set; }
/// <summary>
/// Gets or sets the data.
/// </summary>
public string Data { get; set; }
public NotificationType? NotificationTypeId { get; set; }
public int? AccountId { get; set; }
}
}
\ No newline at end of file
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class NurseNote
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int NurseNoteId { get; set; }
/// <summary>
/// Gets or sets the BedType.
/// </summary>
public string Note { get; set; }
public int AdmissionId { 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; }
}
}
#nullable enable
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
/// <summary>
/// The lookup.
/// </summary>
public class NurseShiftBedMap
{
/// <summary>
/// Gets or sets the nurse shift map id.
/// </summary>
[Key, Identity]
public int NurseShiftBedMapId { get; set; }
/// <summary>
/// Gets or sets the bed ids.
/// </summary>
public int NurseShiftMapId { get; set; }
/// <summary>
/// Gets or sets the bed ids.
/// </summary>
public int BedId { get; set; }
/// <summary>
/// Gets or sets the crdeated by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
\ No newline at end of file
#nullable enable
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
/// <summary>
/// The lookup.
/// </summary>
public class NurseShiftMap
{
/// <summary>
/// Gets or sets the nurse shift map id.
/// </summary>
[Key, Identity]
public int NurseShiftMapId { get; set; }
/// <summary>
/// Gets or sets the shift slot map.
/// </summary>
public DateTime FromDate { get; set; }
/// <summary>
/// Converts to date.
/// </summary>
/// <value>
/// To date.
/// </value>
public DateTime ToDate { get; set; }
/// <summary>
/// Gets or sets the bed ids.
/// </summary>
public int ShiftId { get; set; }
/// <summary>
/// Gets or sets the crdeated 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 nurse account id.
/// </summary>
public int NurseAccountId { get; set; }
/// <summary>
/// Gets or sets the nurse account id.
/// </summary>
public bool? IsShiftActive { get; set; }
}
}
\ No newline at end of file
This diff is collapsed.
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities
{
public class OTRegister
{
/// <summary>
/// Gets or sets the scan machine availability id.
/// </summary>
[Key, Identity]
/// <summary>
/// Gets or sets the OTRegisterId.
/// </summary>
public int OTRegisterId { get; set; }
/// <summary>
/// Gets or sets the PatientId.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the SurgeriesId.
/// </summary>
public int SurgeryId { get; set; }
/// <summary>
/// Gets or sets the ProviderId.
/// </summary>
public int? ProviderId { get; set; }
/// <summary>
/// Gets or sets the AssitantId.
/// </summary>
public int? AssitantId { get; set; }
/// <summary>
/// Gets or sets the AnaesthistId.
/// </summary>
public int? AnaesthetistId { get; set; }
/// <summary>
/// Gets or sets the AnaesthistId.
/// </summary>
public int? AnaesthesiaTypeId { get; set; }
/// <summary>
/// Gets or sets the NurseId.
/// </summary>
public int? NurseId { get; set; }
/// <summary>
/// Gets or sets the SurgeryTypeId.
/// </summary>
public int? SurgeryTypeId { get; set; }
public string? Diagnosis { get; set; }
/// <summary>
/// Gets or sets the to Remarks.
/// </summary>
public string? Remarks { get; set; }
/// <summary>
/// Gets or sets the to OREntryDate.
/// </summary>
public DateTime OREntryDate { get; set; }
/// <summary>
/// Gets or sets the to SignInDate.
/// </summary>
public DateTime SignInDate { get; set; }
/// <summary>
/// Gets or sets the SignOutDate.
/// </summary>
public DateTime SignOutDate { get; set; }
/// <summary>
/// Gets or sets the from ShiftWardToDate.
/// </summary>
public DateTime ShiftWardToDate { get; set; }
///// <summary>
///// Gets or sets the CaseType.
///// </summary>
//public int? CaseTypeId { 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 created by name.
// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the AnaesthesiaType.
/// </summary>
public int OTRoomId { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public string Status { get; set; } = "B";
/// <summary>
/// Gets or sets the reason.
/// </summary>
public string Reason { get; set; }
/// <summary>
/// Gets or sets the old appointment date.
/// </summary>
public DateTime? OldAppointmentDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The ot room.
/// </summary>
public class OTRoom
{
/// <summary>
/// Gets or sets the ot room identifier.
/// </summary>
/// <value>
/// The ot room identifier.
/// </value>
[Key, Identity]
public int OTRoomId { get; set; }
/// <summary>
/// Gets or sets the ward identifier.
/// </summary>
/// <value>
/// The ward identifier.
/// </value>
public int WardId { 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 a value indicating whether this <see cref="OTRoom"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the bed status identifier.
/// </summary>
/// <value>
/// The bed status identifier.
/// </value>
public int BedStatusId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities
{
public class OTRoomAvailability
{
/// <summary>
/// Gets or sets the scan machine availability id.
/// </summary>
[Key, Identity]
public int OTRoomAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
public int OTRoomId { get; set; }
/// <summary>
/// Gets or sets the available days.
/// </summary>
public string AvailableDays { get; set; }
/// <summary>
/// Gets or sets the Availability.
/// </summary>
public string Availability { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the from date.
/// </summary>
public DateTime? FromDate { get; set; }
/// <summary>
/// Gets or sets the to date.
/// </summary>
public DateTime? ToDate { get; set; }
/// <summary>
/// Gets or sets the from time.
/// </summary>
public string FromTime { get; set; }
/// <summary>
/// Gets or sets the to time.
/// </summary>
public string ToTime { get; set; }
///// <summary>
///// Gets or sets the referecne break id.
///// </summary>
//public int? ReferenceBreakId { get; set; }
///// <summary>
///// Gets or sets the reference block id.
///// </summary>
//public int? ReferenceBlockId { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The encounter.
/// </summary>
public class OTRoomSurgeryMap {
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
[Key, Identity]
public int OTRoomSurgeryMapId { get; set; }
/// <summary>
/// Gets or sets the machine id.
/// </summary>
public int OTRoomId { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int SurgeryId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
}
}
\ No newline at end of file
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The operation indent detail.
/// </summary>
public class OperationIndentDetail
{
/// <summary>
/// Gets or sets the operation indent detail identifier.
/// </summary>
/// <value>
/// The operation indent detail identifier.
/// </value>
[Key, Identity]
public int OperationIndentDetailId { get; set; }
/// <summary>
/// Gets or sets the operation indent header identifier.
/// </summary>
/// <value>
/// The operation indent header identifier.
/// </value>
public int OperationIndentHeaderId { get; set; }
/// <summary>
/// Gets or sets the 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 status.
/// </summary>
/// <value>
/// The status.
/// </value>
public string Status { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The operation indent header.
/// </summary>
public class OperationIndentHeader
{
/// <summary>
/// Gets or sets the operation indent header identifier.
/// </summary>
/// <value>
/// The operation indent header identifier.
/// </value>
[Key, Identity]
public int OperationIndentHeaderId { get; set; }
/// <summary>
/// Gets or sets the approved by.
/// </summary>
/// <value>
/// The approved by.
/// </value>
public int? ApprovedBy { get; set; }
/// <summary>
/// Gets or sets the retail pharmacy identifier.
/// </summary>
/// <value>
/// The retail pharmacy identifier.
/// </value>
public int? RetailPharmacyId { 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 approved date.
/// </summary>
/// <value>
/// The approved date.
/// </value>
public DateTime? ApprovedDate { 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 required date.
/// </summary>
/// <value>
/// The required date.
/// </value>
public DateTime RequiredDate { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
/// <value>
/// The reason.
/// </value>
public string Reason { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
/// <value>
/// The status.
/// </value>
public string Status { get; set; }
}
}
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The operation stock
/// </summary>
public class OperationStock
{
/// <summary>
/// Gets or sets the operation stock identifier.
/// </summary>
/// <value>
/// The operation stock identifier.
/// </value>
[Key, Identity]
public int OperationStockId { 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 in.
/// </summary>
/// <value>
/// The quantity in.
/// </value>
public int QuantityIn { get; set; }
/// <summary>
/// Gets or sets the quantity out.
/// </summary>
/// <value>
/// The quantity out.
/// </value>
public int QuantityOut { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { 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 date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the batch number.
/// </summary>
/// <value>
/// The batch number.
/// </value>
public string BatchNumber { get; set; }
/// <summary>
/// Gets or sets the barcode.
/// </summary>
/// <value>
/// The barcode.
/// </value>
public string Barcode { 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 pharmacy retail stock identifier.
/// </summary>
/// <value>
/// The pharmacy retail stock identifier.
/// </value>
public int? PharmacyRetailStockId { get; set; }
/// <summary>
/// Gets or sets the pharmacy stock identifier.
/// </summary>
/// <value>
/// The pharmacy stock identifier.
/// </value>
public int? PharmacyStockId { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities
{
public class OrderPrescriptionMaster
{
/// <summary>
/// Gets or sets the value id.
/// </summary>
[Key, Identity]
public int OrderPrescriptionMasterId { get; set; }
/// <summary>
/// Gets or sets the value name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[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 encounter type id.
/// </summary>
public int? EncounterTypeId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int? ProviderId { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class OrderPrescriptionValue
{
/// <summary>
/// Gets or sets the value id.
/// </summary>
[Key, Identity]
public int ValueId { get; set; }
/// <summary>
/// Gets or sets the order prescription master id.
/// </summary>
public int OrderPrescriptionMasterId { get; set; }
/// <summary>
/// Gets or sets the value name.
/// </summary>
public string ValueName { get; set; }
/// <summary>
/// Gets or sets the comments.
/// </summary>
public string Comments { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class Package
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int PackageId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double Amount { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Package"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The coupon.
/// </summary>
public class PackageCharge
{
/// <summary>
/// Gets or sets the coupon id.
/// </summary>
[Key, Identity]
public int PackageChargeId { 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 charge identifier.
/// </summary>
/// <value>
/// The charge identifier.
/// </value>
public int? ChargeId { get; set; }
/// <summary>
/// Gets or sets the product identifier.
/// </summary>
/// <value>
/// The product identifier.
/// </value>
public int? ProductId { get; set; }
/// <summary>
/// Gets or sets the lab identifier.
/// </summary>
/// <value>
/// The lab identifier.
/// </value>
public int? LabHeaderId { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
/// <value>
/// The amount.
/// </value>
public double ReducedAmount { get; set; }
/// <summary>
/// Gets or sets the unit.
/// </summary>
/// <value>
/// The unit.
/// </value>
public int Unit { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Package"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the surgery kit identifier.
/// </summary>
/// <value>
/// The surgery kit identifier.
/// </value>
public int? SurgeryKitId { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Hims.Domain.Entities
{
public class PackageDocument
{
/// <summary>
/// Gets or sets the patient document id.
/// </summary>
[Key, Identity]
public int PackageDocumentId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
[IgnoreUpdate]
public int PackageModuleId { get; set; }
/// <summary>
/// Gets or sets the uploaded by id.
/// </summary>
[IgnoreUpdate]
public int UploadedBy { get; set; }
/// <summary>
/// Gets or sets the document name.
/// </summary>
public string DocumentName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the content type.
/// </summary>
public string ContentType { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the size.
/// </summary>
public float Size { get; set; }
/// <summary>
/// Gets or sets the document url.
/// </summary>
public string DocumentUrl { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the thumbnail url.
/// </summary>
public string ThumbnailUrl { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the uploaded date.
/// </summary>
public DateTime UploadedDate { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
public class PackageModule
{
[Key, Identity]
public int PackageModuleId { get; set; }
public int LocationId { get; set; }
public int? ProviderId { get; set; }
public string PackageName { get; set; }
public int PackageTypeId { get; set; }
public int ModuleTypeId { get; set; }
public int ChargeModuleTemplateId { get; set; }
public string ModulesMasterIds { get; set; }
public short Quantity { get; set; }
public short? FreeQuantity { get; set; }
public string Notes { get; set; }
public string Exclusions { get; set; }
public short? ExpiresIn { get; set; }
public string DiscountType { get; set; }
public decimal? DiscountPercentage { get; set; }
public decimal? DiscountAmount { get; set; }
public bool Active { get; set; }
[IgnoreUpdate]
public int CreatedBy { get; set; }
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
public int? ModifiedBy { get; set; }
public DateTime? ModifiedDate { get; set; }
}
}
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Hims.Domain.Entities
{
public class PackageModuleDetail
{
[Key, Identity]
public int PackageModuleDetailId { get; set; }
public int PackageModuleId { get; set; }
public int ModulesMasterId { get; set; }
public int ReferenceId { get; set; }
public short Quantity { get; set; }
public bool IsFree { get; set; }
public decimal? Amount { get; set; }
[IgnoreUpdate]
public bool Active { get; set; }
[IgnoreUpdate]
public int CreatedBy { get; set; }
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
public int? ModifiedBy { get; set; }
public DateTime? ModifiedDate { get; set; }
}
}
This diff is collapsed.
namespace Hims.Domain.Entities
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
public class PatientChatBox
{
/// <summary>
/// Gets or Sets the PatientChatBox Identifier
/// </summary>
[Key,Identity]
public int PatientChatBoxId { get; set; }
/// <summary>
/// Gets or Sets the Appointment Identifier
/// </summary>
public int AppointmentId { get; set; }
/// <summary>
/// Gets or Sets the Message
/// </summary>
public string Message { get; set; }
/// <summary>
/// Gets or Sets the Creator Identity
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or Sets the Date Of Creation
/// </summary>
public DateTime CreatedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The company.
/// </summary>
public class PatientConfiguration
{
/// <summary>
/// Gets or sets the company id.
/// </summary>
[Key,Identity]
public int PatientConfigurationId { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Key { get; set; }
/// <summary>
/// Gets or sets the location.
/// </summary>
public bool Value { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the type of.
/// </summary>
public int ModifiedBy { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The patient device details.
/// </summary>
public class PatientDeviceDetails
{
/// <summary>
/// Gets or sets the patient device details id.
/// </summary>
[Key, Identity]
public int PatientDeviceDetailsId { get; set; }
/// <summary>
/// Gets or sets the is webcam on.
/// </summary>
public bool? IsWebcamOn { get; set; }
/// <summary>
/// Gets or sets the is mic on.
/// </summary>
public bool? IsMicOn { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the caller id.
/// </summary>
public string? CallerId { get; set; }
/// <summary>
/// Gets or sets the ringed at.
/// </summary>
public DateTime? RingedAt { get; set; }
/// <summary>
/// Gets or sets the call started at.
/// </summary>
public DateTime? CallStartedAt { get; set; }
/// <summary>
/// Gets or sets the call lifted at.
/// </summary>
public DateTime? CallLiftedAt { get; set; }
/// <summary>
/// Gets or sets the call ended at.
/// </summary>
public DateTime? CallEndedAt { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public string? Duration { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public string? Status { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
public string? Reason { get; set; }
}
}
\ No newline at end of file
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The patient document.
/// </summary>
public class PatientDocument
{
/// <summary>
/// Gets or sets the patient document id.
/// </summary>
[Key, Identity]
public int PatientDocumentId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
[IgnoreUpdate]
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the uploaded by id.
/// </summary>
[IgnoreUpdate]
public int UploadedBy { get; set; }
/// <summary>
/// Gets or sets the document name.
/// </summary>
public string DocumentName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the document type.
/// </summary>
public string DocumentType { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the content type.
/// </summary>
public string ContentType { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the size.
/// </summary>
public float Size { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public string? Description { get; set; }
/// <summary>
/// Gets or sets the document url.
/// </summary>
public string DocumentUrl { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the thumbnail url.
/// </summary>
public string ThumbnailUrl { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the uploaded date.
/// </summary>
public DateTime UploadedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The patient emergency.
/// </summary>
public class PatientEmergency
{
/// <summary>
/// Gets or sets the patient emergency id.
/// </summary>
[Key, Identity]
public int PatientEmergencyId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the full name.
/// </summary>
public string FullName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the relation.
/// </summary>
public string Relation { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string Mobile { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the address.
/// </summary>
public string? Address { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Hims.Shared.Dapper.Attributes;
/// <summary>
/// The patient family.
/// </summary>
public class PatientFamily
{
/// <summary>
/// Gets or sets the patient family id.
/// </summary>
[Key, Identity]
public int PatientFamilyId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the full name.
/// </summary>
public string FullName { get; set; }
/// <summary>
/// Gets or sets the relation.
/// </summary>
public string Relation { get; set; }
/// <summary>
/// Gets or sets the age.
/// </summary>
public int Age { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public char? Gender { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? DOB { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public string Occupation { get; set; }
/// <summary>
/// Gets or sets the occupation details.
/// </summary>
/// <value>
/// The occupation details.
/// </value>
public string OccupationDetails { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public string Education { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public string ContactNo { get; set; }
/// <summary>
/// Gets or sets the Blood group
/// </summary>
public string BloodGroup { get; set; }
}
}
#nullable enable
namespace Hims.Domain.Entities
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The patient insurance.
/// </summary>
public class PatientInsurance
{
/// <summary>
/// Gets or sets the patient insurance id.
/// </summary>
[Key, Identity]
public int PatientInsuranceId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int InsuranceTypeId { get; set; }
/// <summary>
/// Gets or sets the insurance company id.
/// </summary>
public int InsuranceCompanyId { get; set; }
/// <summary>
/// Gets or sets the validity.
/// </summary>
public DateTime Validity { get; set; }
/// <summary>
/// Gets or sets the card no.
/// </summary>
public string CardNo { get; set; } = string.Empty;
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
[IgnoreUpdate]
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
[IgnoreUpdate]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
}
}
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