diff --git a/Libraries/Nop.Core/BaseEntity.cs b/Libraries/Nop.Core/BaseEntity.cs index c84e093..aa60a11 100644 --- a/Libraries/Nop.Core/BaseEntity.cs +++ b/Libraries/Nop.Core/BaseEntity.cs @@ -1,12 +1,12 @@ -namespace Nop.Core; +//namespace Nop.Core; -/// -/// Represents the base class for entities -/// -public abstract partial class BaseEntity -{ - /// - /// Gets or sets the entity identifier - /// - public int Id { get; set; } -} \ No newline at end of file +///// +///// Represents the base class for entities +///// +//public abstract partial class BaseEntity +//{ +// /// +// /// Gets or sets the entity identifier +// /// +// public int Id { get; set; } +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Catalog/Product.cs b/Libraries/Nop.Core/Domain/Catalog/Product.cs index 8301cfe..9611cef 100644 --- a/Libraries/Nop.Core/Domain/Catalog/Product.cs +++ b/Libraries/Nop.Core/Domain/Catalog/Product.cs @@ -277,7 +277,7 @@ public partial class Product : BaseEntity, ILocalizedEntity, ISlugSupported, IAc /// /// Gets or sets the tax category identifier /// - public int TaxCategoryId { get; set; } + public int TaxCategoryId { get; set; } /// /// Gets or sets a value indicating how to manage inventory diff --git a/Libraries/Nop.Core/Domain/Common/GenericAttribute.cs b/Libraries/Nop.Core/Domain/Common/GenericAttribute.cs index ff0b6cb..befa334 100644 --- a/Libraries/Nop.Core/Domain/Common/GenericAttribute.cs +++ b/Libraries/Nop.Core/Domain/Common/GenericAttribute.cs @@ -1,37 +1,37 @@ -namespace Nop.Core.Domain.Common; +//namespace Nop.Core.Domain.Common; -/// -/// Represents a generic attribute -/// -public partial class GenericAttribute : BaseEntity -{ - /// - /// Gets or sets the entity identifier - /// - public int EntityId { get; set; } +///// +///// Represents a generic attribute +///// +//public partial class GenericAttribute : BaseEntity +//{ +// /// +// /// Gets or sets the entity identifier +// /// +// public int EntityId { get; set; } - /// - /// Gets or sets the key group - /// - public string KeyGroup { get; set; } +// /// +// /// Gets or sets the key group +// /// +// public string KeyGroup { get; set; } - /// - /// Gets or sets the key - /// - public string Key { get; set; } +// /// +// /// Gets or sets the key +// /// +// public string Key { get; set; } - /// - /// Gets or sets the value - /// - public string Value { get; set; } +// /// +// /// Gets or sets the value +// /// +// public string Value { get; set; } - /// - /// Gets or sets the store identifier - /// - public int StoreId { get; set; } +// /// +// /// Gets or sets the store identifier +// /// +// public int StoreId { get; set; } - /// - /// Gets or sets the created or updated date - /// - public DateTime? CreatedOrUpdatedDateUTC { get; set; } -} \ No newline at end of file +// /// +// /// Gets or sets the created or updated date +// /// +// public DateTime? CreatedOrUpdatedDateUTC { get; set; } +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Common/ISoftDeletedEntity.cs b/Libraries/Nop.Core/Domain/Common/ISoftDeletedEntity.cs index 2682f56..bbc9d74 100644 --- a/Libraries/Nop.Core/Domain/Common/ISoftDeletedEntity.cs +++ b/Libraries/Nop.Core/Domain/Common/ISoftDeletedEntity.cs @@ -3,10 +3,10 @@ /// /// Represents a soft-deleted (without actually deleting from storage) entity /// -public partial interface ISoftDeletedEntity -{ - /// - /// Gets or sets a value indicating whether the entity has been deleted - /// - bool Deleted { get; set; } -} \ No newline at end of file +//public partial interface ISoftDeletedEntity +//{ +// /// +// /// Gets or sets a value indicating whether the entity has been deleted +// /// +// bool Deleted { get; set; } +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Customers/Customer.cs b/Libraries/Nop.Core/Domain/Customers/Customer.cs index 90cfa3a..fd5be59 100644 --- a/Libraries/Nop.Core/Domain/Customers/Customer.cs +++ b/Libraries/Nop.Core/Domain/Customers/Customer.cs @@ -1,267 +1,267 @@ -using Nop.Core.Domain.Common; -using Nop.Core.Domain.Tax; +//using Nop.Core.Domain.Common; +//using Nop.Core.Domain.Tax; -namespace Nop.Core.Domain.Customers; +//namespace Nop.Core.Domain.Customers; -/// -/// Represents a customer -/// -public partial class Customer : BaseEntity, ISoftDeletedEntity -{ - public Customer() - { - CustomerGuid = Guid.NewGuid(); - } +///// +///// Represents a customer +///// +//public partial class Customer : BaseEntity, ISoftDeletedEntity +//{ +// public Customer() +// { +// CustomerGuid = Guid.NewGuid(); +// } - /// - /// Gets or sets the customer GUID - /// - public Guid CustomerGuid { get; set; } +// /// +// /// Gets or sets the customer GUID +// /// +// public Guid CustomerGuid { get; set; } - /// - /// Gets or sets the username - /// - public string Username { get; set; } +// /// +// /// Gets or sets the username +// /// +// public string Username { get; set; } - /// - /// Gets or sets the email - /// - public string Email { get; set; } +// /// +// /// Gets or sets the email +// /// +// public string Email { get; set; } - /// - /// Gets or sets the first name - /// - public string FirstName { get; set; } +// /// +// /// Gets or sets the first name +// /// +// public string FirstName { get; set; } - /// - /// Gets or sets the last name - /// - public string LastName { get; set; } +// /// +// /// Gets or sets the last name +// /// +// public string LastName { get; set; } - /// - /// Gets or sets the gender - /// - public string Gender { get; set; } +// /// +// /// Gets or sets the gender +// /// +// public string Gender { get; set; } - /// - /// Gets or sets the date of birth - /// - public DateTime? DateOfBirth { get; set; } +// /// +// /// Gets or sets the date of birth +// /// +// public DateTime? DateOfBirth { get; set; } - /// - /// Gets or sets the company - /// - public string Company { get; set; } +// /// +// /// Gets or sets the company +// /// +// public string Company { get; set; } - /// - /// Gets or sets the street address - /// - public string StreetAddress { get; set; } +// /// +// /// Gets or sets the street address +// /// +// public string StreetAddress { get; set; } - /// - /// Gets or sets the street address 2 - /// - public string StreetAddress2 { get; set; } +// /// +// /// Gets or sets the street address 2 +// /// +// public string StreetAddress2 { get; set; } - /// - /// Gets or sets the zip - /// - public string ZipPostalCode { get; set; } +// /// +// /// Gets or sets the zip +// /// +// public string ZipPostalCode { get; set; } - /// - /// Gets or sets the city - /// - public string City { get; set; } +// /// +// /// Gets or sets the city +// /// +// public string City { get; set; } - /// - /// Gets or sets the county - /// - public string County { get; set; } +// /// +// /// Gets or sets the county +// /// +// public string County { get; set; } - /// - /// Gets or sets the country id - /// - public int CountryId { get; set; } +// /// +// /// Gets or sets the country id +// /// +// public int CountryId { get; set; } - /// - /// Gets or sets the state province id - /// - public int StateProvinceId { get; set; } +// /// +// /// Gets or sets the state province id +// /// +// public int StateProvinceId { get; set; } - /// - /// Gets or sets the phone number - /// - public string Phone { get; set; } +// /// +// /// Gets or sets the phone number +// /// +// public string Phone { get; set; } - /// - /// Gets or sets the fax - /// - public string Fax { get; set; } +// /// +// /// Gets or sets the fax +// /// +// public string Fax { get; set; } - /// - /// Gets or sets the vat number - /// - public string VatNumber { get; set; } +// /// +// /// Gets or sets the vat number +// /// +// public string VatNumber { get; set; } - /// - /// Gets or sets the vat number status id - /// - public int VatNumberStatusId { get; set; } +// /// +// /// Gets or sets the vat number status id +// /// +// public int VatNumberStatusId { get; set; } - /// - /// Gets or sets the time zone id - /// - public string TimeZoneId { get; set; } +// /// +// /// Gets or sets the time zone id +// /// +// public string TimeZoneId { get; set; } - /// - /// Gets or sets the custom attributes - /// - public string CustomCustomerAttributesXML { get; set; } +// /// +// /// Gets or sets the custom attributes +// /// +// public string CustomCustomerAttributesXML { get; set; } - /// - /// Gets or sets the currency id - /// - public int? CurrencyId { get; set; } +// /// +// /// Gets or sets the currency id +// /// +// public int? CurrencyId { get; set; } - /// - /// Gets or sets the language id - /// - public int? LanguageId { get; set; } +// /// +// /// Gets or sets the language id +// /// +// public int? LanguageId { get; set; } - /// - /// Gets or sets the tax display type id - /// - public int? TaxDisplayTypeId { get; set; } +// /// +// /// Gets or sets the tax display type id +// /// +// public int? TaxDisplayTypeId { get; set; } - /// - /// Gets or sets the email that should be re-validated. Used in scenarios when a customer is already registered and wants to change an email address. - /// - public string EmailToRevalidate { get; set; } +// /// +// /// Gets or sets the email that should be re-validated. Used in scenarios when a customer is already registered and wants to change an email address. +// /// +// public string EmailToRevalidate { get; set; } - /// - /// Gets or sets the admin comment - /// - public string AdminComment { get; set; } +// /// +// /// Gets or sets the admin comment +// /// +// public string AdminComment { get; set; } - /// - /// Gets or sets a value indicating whether the customer is tax exempt - /// - public bool IsTaxExempt { get; set; } +// /// +// /// Gets or sets a value indicating whether the customer is tax exempt +// /// +// public bool IsTaxExempt { get; set; } - /// - /// Gets or sets the affiliate identifier - /// - public int AffiliateId { get; set; } +// /// +// /// Gets or sets the affiliate identifier +// /// +// public int AffiliateId { get; set; } - /// - /// Gets or sets the vendor identifier with which this customer is associated (manager) - /// - public int VendorId { get; set; } +// /// +// /// Gets or sets the vendor identifier with which this customer is associated (manager) +// /// +// public int VendorId { get; set; } - /// - /// Gets or sets a value indicating whether this customer has some products in the shopping cart - /// The same as if we run ShoppingCartItems.Count > 0 - /// We use this property for performance optimization: - /// if this property is set to false, then we do not need to load "ShoppingCartItems" navigation property for each page load - /// It's used only in a couple of places in the presentation layer - /// - /// - public bool HasShoppingCartItems { get; set; } +// /// +// /// Gets or sets a value indicating whether this customer has some products in the shopping cart +// /// The same as if we run ShoppingCartItems.Count > 0 +// /// We use this property for performance optimization: +// /// if this property is set to false, then we do not need to load "ShoppingCartItems" navigation property for each page load +// /// It's used only in a couple of places in the presentation layer +// /// +// /// +// public bool HasShoppingCartItems { get; set; } - /// - /// Gets or sets a value indicating whether the customer is required to re-login - /// - public bool RequireReLogin { get; set; } +// /// +// /// Gets or sets a value indicating whether the customer is required to re-login +// /// +// public bool RequireReLogin { get; set; } - /// - /// Gets or sets a value indicating number of failed login attempts (wrong password) - /// - public int FailedLoginAttempts { get; set; } +// /// +// /// Gets or sets a value indicating number of failed login attempts (wrong password) +// /// +// public int FailedLoginAttempts { get; set; } - /// - /// Gets or sets the date and time until which a customer cannot login (locked out) - /// - public DateTime? CannotLoginUntilDateUtc { get; set; } +// /// +// /// Gets or sets the date and time until which a customer cannot login (locked out) +// /// +// public DateTime? CannotLoginUntilDateUtc { get; set; } - /// - /// Gets or sets a value indicating whether the customer is active - /// - public bool Active { get; set; } +// /// +// /// Gets or sets a value indicating whether the customer is active +// /// +// public bool Active { get; set; } - /// - /// Gets or sets a value indicating whether the customer has been deleted - /// - public bool Deleted { get; set; } +// /// +// /// Gets or sets a value indicating whether the customer has been deleted +// /// +// public bool Deleted { get; set; } - /// - /// Gets or sets a value indicating whether the customer account is system - /// - public bool IsSystemAccount { get; set; } +// /// +// /// Gets or sets a value indicating whether the customer account is system +// /// +// public bool IsSystemAccount { get; set; } - /// - /// Gets or sets the customer system name - /// - public string SystemName { get; set; } +// /// +// /// Gets or sets the customer system name +// /// +// public string SystemName { get; set; } - /// - /// Gets or sets the last IP address - /// - public string LastIpAddress { get; set; } +// /// +// /// Gets or sets the last IP address +// /// +// public string LastIpAddress { get; set; } - /// - /// Gets or sets the date and time of entity creation - /// - public DateTime CreatedOnUtc { get; set; } +// /// +// /// Gets or sets the date and time of entity creation +// /// +// public DateTime CreatedOnUtc { get; set; } - /// - /// Gets or sets the date and time of last login - /// - public DateTime? LastLoginDateUtc { get; set; } +// /// +// /// Gets or sets the date and time of last login +// /// +// public DateTime? LastLoginDateUtc { get; set; } - /// - /// Gets or sets the date and time of last activity - /// - public DateTime LastActivityDateUtc { get; set; } +// /// +// /// Gets or sets the date and time of last activity +// /// +// public DateTime LastActivityDateUtc { get; set; } - /// - /// Gets or sets the store identifier in which customer registered - /// - public int RegisteredInStoreId { get; set; } +// /// +// /// Gets or sets the store identifier in which customer registered +// /// +// public int RegisteredInStoreId { get; set; } - /// - /// Gets or sets the billing address identifier - /// - public int? BillingAddressId { get; set; } +// /// +// /// Gets or sets the billing address identifier +// /// +// public int? BillingAddressId { get; set; } - /// - /// Gets or sets a value indicating whether the customer is required to change password - /// - public bool MustChangePassword { get; set; } +// /// +// /// Gets or sets a value indicating whether the customer is required to change password +// /// +// public bool MustChangePassword { get; set; } - /// - /// Gets or sets the shipping address identifier - /// - public int? ShippingAddressId { get; set; } +// /// +// /// Gets or sets the shipping address identifier +// /// +// public int? ShippingAddressId { get; set; } - #region Custom properties +// #region Custom properties - /// - /// Gets or sets the vat number status - /// - public VatNumberStatus VatNumberStatus - { - get => (VatNumberStatus)VatNumberStatusId; - set => VatNumberStatusId = (int)value; - } +// /// +// /// Gets or sets the vat number status +// /// +// public VatNumberStatus VatNumberStatus +// { +// get => (VatNumberStatus)VatNumberStatusId; +// set => VatNumberStatusId = (int)value; +// } - /// - /// Gets or sets the tax display type - /// - public TaxDisplayType? TaxDisplayType - { - get => TaxDisplayTypeId.HasValue ? (TaxDisplayType)TaxDisplayTypeId : null; - set => TaxDisplayTypeId = value.HasValue ? (int)value : null; - } +// /// +// /// Gets or sets the tax display type +// /// +// public TaxDisplayType? TaxDisplayType +// { +// get => TaxDisplayTypeId.HasValue ? (TaxDisplayType)TaxDisplayTypeId : null; +// set => TaxDisplayTypeId = value.HasValue ? (int)value : null; +// } - #endregion -} \ No newline at end of file +// #endregion +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Customers/CustomerRole.cs b/Libraries/Nop.Core/Domain/Customers/CustomerRole.cs index 3ea2215..a989cd5 100644 --- a/Libraries/Nop.Core/Domain/Customers/CustomerRole.cs +++ b/Libraries/Nop.Core/Domain/Customers/CustomerRole.cs @@ -1,58 +1,58 @@ -namespace Nop.Core.Domain.Customers; +//namespace Nop.Core.Domain.Customers; -/// -/// Represents a customer role -/// -public partial class CustomerRole : BaseEntity -{ - /// - /// Gets or sets the customer role name - /// - public string Name { get; set; } +///// +///// Represents a customer role +///// +//public partial class CustomerRole : BaseEntity +//{ +// /// +// /// Gets or sets the customer role name +// /// +// public string Name { get; set; } - /// - /// Gets or sets a value indicating whether the customer role is marked as free shipping - /// - public bool FreeShipping { get; set; } +// /// +// /// Gets or sets a value indicating whether the customer role is marked as free shipping +// /// +// public bool FreeShipping { get; set; } - /// - /// Gets or sets a value indicating whether the customer role is marked as tax exempt - /// - public bool TaxExempt { get; set; } +// /// +// /// Gets or sets a value indicating whether the customer role is marked as tax exempt +// /// +// public bool TaxExempt { get; set; } - /// - /// Gets or sets a value indicating whether the customer role is active - /// - public bool Active { get; set; } +// /// +// /// Gets or sets a value indicating whether the customer role is active +// /// +// public bool Active { get; set; } - /// - /// Gets or sets a value indicating whether the customer role is system - /// - public bool IsSystemRole { get; set; } +// /// +// /// Gets or sets a value indicating whether the customer role is system +// /// +// public bool IsSystemRole { get; set; } - /// - /// Gets or sets the customer role system name - /// - public string SystemName { get; set; } +// /// +// /// Gets or sets the customer role system name +// /// +// public string SystemName { get; set; } - /// - /// Gets or sets a value indicating whether the customers must change passwords after a specified time - /// - public bool EnablePasswordLifetime { get; set; } +// /// +// /// Gets or sets a value indicating whether the customers must change passwords after a specified time +// /// +// public bool EnablePasswordLifetime { get; set; } - /// - /// Gets or sets a value indicating whether the customers of this role have other tax display type chosen instead of the default one - /// - public bool OverrideTaxDisplayType { get; set; } +// /// +// /// Gets or sets a value indicating whether the customers of this role have other tax display type chosen instead of the default one +// /// +// public bool OverrideTaxDisplayType { get; set; } - /// - /// Gets or sets identifier of the default tax display type (used only with "OverrideTaxDisplayType" enabled) - /// - public int DefaultTaxDisplayTypeId { get; set; } +// /// +// /// Gets or sets identifier of the default tax display type (used only with "OverrideTaxDisplayType" enabled) +// /// +// public int DefaultTaxDisplayTypeId { get; set; } - /// - /// Gets or sets a product identifier that is required by this customer role. - /// A customer is added to this customer role once a specified product is purchased. - /// - public int PurchasedWithProductId { get; set; } -} \ No newline at end of file +// /// +// /// Gets or sets a product identifier that is required by this customer role. +// /// A customer is added to this customer role once a specified product is purchased. +// /// +// public int PurchasedWithProductId { get; set; } +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Discounts/DiscountMapping.cs b/Libraries/Nop.Core/Domain/Discounts/DiscountMapping.cs index 87e530d..2d048bc 100644 --- a/Libraries/Nop.Core/Domain/Discounts/DiscountMapping.cs +++ b/Libraries/Nop.Core/Domain/Discounts/DiscountMapping.cs @@ -1,19 +1,19 @@ -namespace Nop.Core.Domain.Discounts; +//namespace Nop.Core.Domain.Discounts; -public abstract partial class DiscountMapping : BaseEntity -{ - /// - /// Gets the entity identifier - /// - public new int Id { get; } +//public abstract partial class DiscountMapping : BaseEntity +//{ +// /// +// /// Gets the entity identifier +// /// +// public new int Id { get; } - /// - /// Gets or sets the discount identifier - /// - public int DiscountId { get; set; } +// /// +// /// Gets or sets the discount identifier +// /// +// public int DiscountId { get; set; } - /// - /// Gets or sets the entity identifier - /// - public abstract int EntityId { get; set; } -} \ No newline at end of file +// /// +// /// Gets or sets the entity identifier +// /// +// public abstract int EntityId { get; set; } +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Discounts/DiscountProductMapping.cs b/Libraries/Nop.Core/Domain/Discounts/DiscountProductMapping.cs index d7bcaf8..34d5c6f 100644 --- a/Libraries/Nop.Core/Domain/Discounts/DiscountProductMapping.cs +++ b/Libraries/Nop.Core/Domain/Discounts/DiscountProductMapping.cs @@ -1,12 +1,12 @@ -namespace Nop.Core.Domain.Discounts; +//namespace Nop.Core.Domain.Discounts; -/// -/// Represents a discount-product mapping class -/// -public partial class DiscountProductMapping : DiscountMapping -{ - /// - /// Gets or sets the product identifier - /// - public override int EntityId { get; set; } -} \ No newline at end of file +///// +///// Represents a discount-product mapping class +///// +//public partial class DiscountProductMapping : DiscountMapping +//{ +// /// +// /// Gets or sets the product identifier +// /// +// public override int EntityId { get; set; } +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Discounts/IDiscountSupported.cs b/Libraries/Nop.Core/Domain/Discounts/IDiscountSupported.cs index 7378c44..3fc6d03 100644 --- a/Libraries/Nop.Core/Domain/Discounts/IDiscountSupported.cs +++ b/Libraries/Nop.Core/Domain/Discounts/IDiscountSupported.cs @@ -1,9 +1,9 @@ -namespace Nop.Core.Domain.Discounts; +//namespace Nop.Core.Domain.Discounts; -/// -/// Represents an entity which supports discounts -/// -public partial interface IDiscountSupported where T : DiscountMapping -{ - int Id { get; set; } -} \ No newline at end of file +///// +///// Represents an entity which supports discounts +///// +//public partial interface IDiscountSupported where T : DiscountMapping +//{ +// int Id { get; set; } +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Localization/ILocalizedEntity.cs b/Libraries/Nop.Core/Domain/Localization/ILocalizedEntity.cs index 472e48e..3df2a74 100644 --- a/Libraries/Nop.Core/Domain/Localization/ILocalizedEntity.cs +++ b/Libraries/Nop.Core/Domain/Localization/ILocalizedEntity.cs @@ -1,8 +1,8 @@ -namespace Nop.Core.Domain.Localization; +//namespace Nop.Core.Domain.Localization; -/// -/// Represents a localized entity -/// -public partial interface ILocalizedEntity -{ -} \ No newline at end of file +///// +///// Represents a localized entity +///// +//public partial interface ILocalizedEntity +//{ +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Orders/Order.cs b/Libraries/Nop.Core/Domain/Orders/Order.cs index d076057..e769335 100644 --- a/Libraries/Nop.Core/Domain/Orders/Order.cs +++ b/Libraries/Nop.Core/Domain/Orders/Order.cs @@ -1,336 +1,336 @@ -using Nop.Core.Domain.Common; -using Nop.Core.Domain.Payments; -using Nop.Core.Domain.Shipping; -using Nop.Core.Domain.Tax; - -namespace Nop.Core.Domain.Orders; - -/// -/// Represents an order -/// -public partial class Order : BaseEntity, ISoftDeletedEntity -{ - #region Properties - - /// - /// Gets or sets the order identifier - /// - public Guid OrderGuid { get; set; } - - /// - /// Gets or sets the store identifier - /// - public int StoreId { get; set; } - - /// - /// Gets or sets the customer identifier - /// - public int CustomerId { get; set; } - - /// - /// Gets or sets the billing address identifier - /// - public int BillingAddressId { get; set; } - - /// - /// Gets or sets the shipping address identifier - /// - public int? ShippingAddressId { get; set; } - - /// - /// Gets or sets the pickup address identifier - /// - public int? PickupAddressId { get; set; } - - /// - /// Gets or sets a value indicating whether a customer chose "pick up in store" shipping option - /// - public bool PickupInStore { get; set; } - - /// - /// Gets or sets an order status identifier - /// - public int OrderStatusId { get; set; } - - /// - /// Gets or sets the shipping status identifier - /// - public int ShippingStatusId { get; set; } - - /// - /// Gets or sets the payment status identifier - /// - public int PaymentStatusId { get; set; } - - /// - /// Gets or sets the payment method system name - /// - public string PaymentMethodSystemName { get; set; } - - /// - /// Gets or sets the customer currency code (at the moment of order placing) - /// - public string CustomerCurrencyCode { get; set; } - - /// - /// Gets or sets the currency rate - /// - public decimal CurrencyRate { get; set; } - - /// - /// Gets or sets the customer tax display type identifier - /// - public int CustomerTaxDisplayTypeId { get; set; } - - /// - /// Gets or sets the VAT number (the European Union Value Added Tax) - /// - public string VatNumber { get; set; } - - /// - /// Gets or sets the order subtotal (include tax) - /// - public decimal OrderSubtotalInclTax { get; set; } - - /// - /// Gets or sets the order subtotal (exclude tax) - /// - public decimal OrderSubtotalExclTax { get; set; } - - /// - /// Gets or sets the order subtotal discount (include tax) - /// - public decimal OrderSubTotalDiscountInclTax { get; set; } - - /// - /// Gets or sets the order subtotal discount (exclude tax) - /// - public decimal OrderSubTotalDiscountExclTax { get; set; } - - /// - /// Gets or sets the order shipping (include tax) - /// - public decimal OrderShippingInclTax { get; set; } - - /// - /// Gets or sets the order shipping (exclude tax) - /// - public decimal OrderShippingExclTax { get; set; } - - /// - /// Gets or sets the payment method additional fee (incl tax) - /// - public decimal PaymentMethodAdditionalFeeInclTax { get; set; } - - /// - /// Gets or sets the payment method additional fee (exclude tax) - /// - public decimal PaymentMethodAdditionalFeeExclTax { get; set; } - - /// - /// Gets or sets the tax rates - /// - public string TaxRates { get; set; } - - /// - /// Gets or sets the order tax - /// - public decimal OrderTax { get; set; } - - /// - /// Gets or sets the order discount (applied to order total) - /// - public decimal OrderDiscount { get; set; } - - /// - /// Gets or sets the order total - /// - public decimal OrderTotal { get; set; } - - /// - /// Gets or sets the refunded amount - /// - public decimal RefundedAmount { get; set; } - - /// - /// Gets or sets the reward points history entry identifier when reward points were earned (gained) for placing this order - /// - public int? RewardPointsHistoryEntryId { get; set; } - - /// - /// Gets or sets the checkout attribute description - /// - public string CheckoutAttributeDescription { get; set; } - - /// - /// Gets or sets the checkout attributes in XML format - /// - public string CheckoutAttributesXml { get; set; } - - /// - /// Gets or sets the customer language identifier - /// - public int CustomerLanguageId { get; set; } - - /// - /// Gets or sets the affiliate identifier - /// - public int AffiliateId { get; set; } - - /// - /// Gets or sets the customer IP address - /// - public string CustomerIp { get; set; } - - /// - /// Gets or sets a value indicating whether storing of credit card number is allowed - /// - public bool AllowStoringCreditCardNumber { get; set; } - - /// - /// Gets or sets the card type - /// - public string CardType { get; set; } - - /// - /// Gets or sets the card name - /// - public string CardName { get; set; } - - /// - /// Gets or sets the card number - /// - public string CardNumber { get; set; } - - /// - /// Gets or sets the masked credit card number - /// - public string MaskedCreditCardNumber { get; set; } - - /// - /// Gets or sets the card CVV2 - /// - public string CardCvv2 { get; set; } - - /// - /// Gets or sets the card expiration month - /// - public string CardExpirationMonth { get; set; } - - /// - /// Gets or sets the card expiration year - /// - public string CardExpirationYear { get; set; } - - /// - /// Gets or sets the authorization transaction identifier - /// - public string AuthorizationTransactionId { get; set; } - - /// - /// Gets or sets the authorization transaction code - /// - public string AuthorizationTransactionCode { get; set; } - - /// - /// Gets or sets the authorization transaction result - /// - public string AuthorizationTransactionResult { get; set; } - - /// - /// Gets or sets the capture transaction identifier - /// - public string CaptureTransactionId { get; set; } - - /// - /// Gets or sets the capture transaction result - /// - public string CaptureTransactionResult { get; set; } - - /// - /// Gets or sets the subscription transaction identifier - /// - public string SubscriptionTransactionId { get; set; } - - /// - /// Gets or sets the paid date and time - /// - public DateTime? PaidDateUtc { get; set; } - - /// - /// Gets or sets the shipping method - /// - public string ShippingMethod { get; set; } - - /// - /// Gets or sets the shipping rate computation method identifier or the pickup point provider identifier (if PickupInStore is true) - /// - public string ShippingRateComputationMethodSystemName { get; set; } - - /// - /// Gets or sets the serialized CustomValues (values from ProcessPaymentRequest) - /// - public string CustomValuesXml { get; set; } - - /// - /// Gets or sets a value indicating whether the entity has been deleted - /// - public bool Deleted { get; set; } - - /// - /// Gets or sets the date and time of order creation - /// - public DateTime CreatedOnUtc { get; set; } - - /// - /// Gets or sets the custom order number without prefix - /// - public string CustomOrderNumber { get; set; } - - /// - /// Gets or sets the reward points history record (spent by a customer when placing this order) - /// - public virtual int? RedeemedRewardPointsEntryId { get; set; } - - #endregion - - #region Custom properties - - /// - /// Gets or sets the order status - /// - public OrderStatus OrderStatus - { - get => (OrderStatus)OrderStatusId; - set => OrderStatusId = (int)value; - } - - /// - /// Gets or sets the payment status - /// - public PaymentStatus PaymentStatus - { - get => (PaymentStatus)PaymentStatusId; - set => PaymentStatusId = (int)value; - } - - /// - /// Gets or sets the shipping status - /// - public ShippingStatus ShippingStatus - { - get => (ShippingStatus)ShippingStatusId; - set => ShippingStatusId = (int)value; - } - - /// - /// Gets or sets the customer tax display type - /// - public TaxDisplayType CustomerTaxDisplayType - { - get => (TaxDisplayType)CustomerTaxDisplayTypeId; - set => CustomerTaxDisplayTypeId = (int)value; - } - - #endregion -} \ No newline at end of file +//using Nop.Core.Domain.Common; +//using Nop.Core.Domain.Payments; +//using Nop.Core.Domain.Shipping; +//using Nop.Core.Domain.Tax; + +//namespace Nop.Core.Domain.Orders; + +///// +///// Represents an order +///// +//public partial class Order : BaseEntity, ISoftDeletedEntity +//{ +// #region Properties + +// /// +// /// Gets or sets the order identifier +// /// +// public Guid OrderGuid { get; set; } + +// /// +// /// Gets or sets the store identifier +// /// +// public int StoreId { get; set; } + +// /// +// /// Gets or sets the customer identifier +// /// +// public int CustomerId { get; set; } + +// /// +// /// Gets or sets the billing address identifier +// /// +// public int BillingAddressId { get; set; } + +// /// +// /// Gets or sets the shipping address identifier +// /// +// public int? ShippingAddressId { get; set; } + +// /// +// /// Gets or sets the pickup address identifier +// /// +// public int? PickupAddressId { get; set; } + +// /// +// /// Gets or sets a value indicating whether a customer chose "pick up in store" shipping option +// /// +// public bool PickupInStore { get; set; } + +// /// +// /// Gets or sets an order status identifier +// /// +// public int OrderStatusId { get; set; } + +// /// +// /// Gets or sets the shipping status identifier +// /// +// public int ShippingStatusId { get; set; } + +// /// +// /// Gets or sets the payment status identifier +// /// +// public int PaymentStatusId { get; set; } + +// /// +// /// Gets or sets the payment method system name +// /// +// public string PaymentMethodSystemName { get; set; } + +// /// +// /// Gets or sets the customer currency code (at the moment of order placing) +// /// +// public string CustomerCurrencyCode { get; set; } + +// /// +// /// Gets or sets the currency rate +// /// +// public decimal CurrencyRate { get; set; } + +// /// +// /// Gets or sets the customer tax display type identifier +// /// +// public int CustomerTaxDisplayTypeId { get; set; } + +// /// +// /// Gets or sets the VAT number (the European Union Value Added Tax) +// /// +// public string VatNumber { get; set; } + +// /// +// /// Gets or sets the order subtotal (include tax) +// /// +// public decimal OrderSubtotalInclTax { get; set; } + +// /// +// /// Gets or sets the order subtotal (exclude tax) +// /// +// public decimal OrderSubtotalExclTax { get; set; } + +// /// +// /// Gets or sets the order subtotal discount (include tax) +// /// +// public decimal OrderSubTotalDiscountInclTax { get; set; } + +// /// +// /// Gets or sets the order subtotal discount (exclude tax) +// /// +// public decimal OrderSubTotalDiscountExclTax { get; set; } + +// /// +// /// Gets or sets the order shipping (include tax) +// /// +// public decimal OrderShippingInclTax { get; set; } + +// /// +// /// Gets or sets the order shipping (exclude tax) +// /// +// public decimal OrderShippingExclTax { get; set; } + +// /// +// /// Gets or sets the payment method additional fee (incl tax) +// /// +// public decimal PaymentMethodAdditionalFeeInclTax { get; set; } + +// /// +// /// Gets or sets the payment method additional fee (exclude tax) +// /// +// public decimal PaymentMethodAdditionalFeeExclTax { get; set; } + +// /// +// /// Gets or sets the tax rates +// /// +// public string TaxRates { get; set; } + +// /// +// /// Gets or sets the order tax +// /// +// public decimal OrderTax { get; set; } + +// /// +// /// Gets or sets the order discount (applied to order total) +// /// +// public decimal OrderDiscount { get; set; } + +// /// +// /// Gets or sets the order total +// /// +// public decimal OrderTotal { get; set; } + +// /// +// /// Gets or sets the refunded amount +// /// +// public decimal RefundedAmount { get; set; } + +// /// +// /// Gets or sets the reward points history entry identifier when reward points were earned (gained) for placing this order +// /// +// public int? RewardPointsHistoryEntryId { get; set; } + +// /// +// /// Gets or sets the checkout attribute description +// /// +// public string CheckoutAttributeDescription { get; set; } + +// /// +// /// Gets or sets the checkout attributes in XML format +// /// +// public string CheckoutAttributesXml { get; set; } + +// /// +// /// Gets or sets the customer language identifier +// /// +// public int CustomerLanguageId { get; set; } + +// /// +// /// Gets or sets the affiliate identifier +// /// +// public int AffiliateId { get; set; } + +// /// +// /// Gets or sets the customer IP address +// /// +// public string CustomerIp { get; set; } + +// /// +// /// Gets or sets a value indicating whether storing of credit card number is allowed +// /// +// public bool AllowStoringCreditCardNumber { get; set; } + +// /// +// /// Gets or sets the card type +// /// +// public string CardType { get; set; } + +// /// +// /// Gets or sets the card name +// /// +// public string CardName { get; set; } + +// /// +// /// Gets or sets the card number +// /// +// public string CardNumber { get; set; } + +// /// +// /// Gets or sets the masked credit card number +// /// +// public string MaskedCreditCardNumber { get; set; } + +// /// +// /// Gets or sets the card CVV2 +// /// +// public string CardCvv2 { get; set; } + +// /// +// /// Gets or sets the card expiration month +// /// +// public string CardExpirationMonth { get; set; } + +// /// +// /// Gets or sets the card expiration year +// /// +// public string CardExpirationYear { get; set; } + +// /// +// /// Gets or sets the authorization transaction identifier +// /// +// public string AuthorizationTransactionId { get; set; } + +// /// +// /// Gets or sets the authorization transaction code +// /// +// public string AuthorizationTransactionCode { get; set; } + +// /// +// /// Gets or sets the authorization transaction result +// /// +// public string AuthorizationTransactionResult { get; set; } + +// /// +// /// Gets or sets the capture transaction identifier +// /// +// public string CaptureTransactionId { get; set; } + +// /// +// /// Gets or sets the capture transaction result +// /// +// public string CaptureTransactionResult { get; set; } + +// /// +// /// Gets or sets the subscription transaction identifier +// /// +// public string SubscriptionTransactionId { get; set; } + +// /// +// /// Gets or sets the paid date and time +// /// +// public DateTime? PaidDateUtc { get; set; } + +// /// +// /// Gets or sets the shipping method +// /// +// public string ShippingMethod { get; set; } + +// /// +// /// Gets or sets the shipping rate computation method identifier or the pickup point provider identifier (if PickupInStore is true) +// /// +// public string ShippingRateComputationMethodSystemName { get; set; } + +// /// +// /// Gets or sets the serialized CustomValues (values from ProcessPaymentRequest) +// /// +// public string CustomValuesXml { get; set; } + +// /// +// /// Gets or sets a value indicating whether the entity has been deleted +// /// +// public bool Deleted { get; set; } + +// /// +// /// Gets or sets the date and time of order creation +// /// +// public DateTime CreatedOnUtc { get; set; } + +// /// +// /// Gets or sets the custom order number without prefix +// /// +// public string CustomOrderNumber { get; set; } + +// /// +// /// Gets or sets the reward points history record (spent by a customer when placing this order) +// /// +// public virtual int? RedeemedRewardPointsEntryId { get; set; } + +// #endregion + +// #region Custom properties + +// /// +// /// Gets or sets the order status +// /// +// public OrderStatus OrderStatus +// { +// get => (OrderStatus)OrderStatusId; +// set => OrderStatusId = (int)value; +// } + +// /// +// /// Gets or sets the payment status +// /// +// public PaymentStatus PaymentStatus +// { +// get => (PaymentStatus)PaymentStatusId; +// set => PaymentStatusId = (int)value; +// } + +// /// +// /// Gets or sets the shipping status +// /// +// public ShippingStatus ShippingStatus +// { +// get => (ShippingStatus)ShippingStatusId; +// set => ShippingStatusId = (int)value; +// } + +// /// +// /// Gets or sets the customer tax display type +// /// +// public TaxDisplayType CustomerTaxDisplayType +// { +// get => (TaxDisplayType)CustomerTaxDisplayTypeId; +// set => CustomerTaxDisplayTypeId = (int)value; +// } + +// #endregion +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Orders/OrderItem.cs b/Libraries/Nop.Core/Domain/Orders/OrderItem.cs index d3824b7..047a340 100644 --- a/Libraries/Nop.Core/Domain/Orders/OrderItem.cs +++ b/Libraries/Nop.Core/Domain/Orders/OrderItem.cs @@ -1,103 +1,103 @@ -namespace Nop.Core.Domain.Orders; +//namespace Nop.Core.Domain.Orders; -/// -/// Represents an order item -/// -public partial class OrderItem : BaseEntity -{ - /// - /// Gets or sets the order item identifier - /// - public Guid OrderItemGuid { get; set; } +///// +///// Represents an order item +///// +//public partial class OrderItem : BaseEntity +//{ +// /// +// /// Gets or sets the order item identifier +// /// +// public Guid OrderItemGuid { get; set; } - /// - /// Gets or sets the order identifier - /// - public int OrderId { get; set; } +// /// +// /// Gets or sets the order identifier +// /// +// public int OrderId { get; set; } - /// - /// Gets or sets the product identifier - /// - public int ProductId { get; set; } +// /// +// /// Gets or sets the product identifier +// /// +// public int ProductId { get; set; } - /// - /// Gets or sets the quantity - /// - public int Quantity { get; set; } +// /// +// /// Gets or sets the quantity +// /// +// public int Quantity { get; set; } - /// - /// Gets or sets the unit price in primary store currency (include tax) - /// - public decimal UnitPriceInclTax { get; set; } +// /// +// /// Gets or sets the unit price in primary store currency (include tax) +// /// +// public decimal UnitPriceInclTax { get; set; } - /// - /// Gets or sets the unit price in primary store currency (exclude tax) - /// - public decimal UnitPriceExclTax { get; set; } +// /// +// /// Gets or sets the unit price in primary store currency (exclude tax) +// /// +// public decimal UnitPriceExclTax { get; set; } - /// - /// Gets or sets the price in primary store currency (include tax) - /// - public decimal PriceInclTax { get; set; } +// /// +// /// Gets or sets the price in primary store currency (include tax) +// /// +// public decimal PriceInclTax { get; set; } - /// - /// Gets or sets the price in primary store currency (exclude tax) - /// - public decimal PriceExclTax { get; set; } +// /// +// /// Gets or sets the price in primary store currency (exclude tax) +// /// +// public decimal PriceExclTax { get; set; } - /// - /// Gets or sets the discount amount (include tax) - /// - public decimal DiscountAmountInclTax { get; set; } +// /// +// /// Gets or sets the discount amount (include tax) +// /// +// public decimal DiscountAmountInclTax { get; set; } - /// - /// Gets or sets the discount amount (exclude tax) - /// - public decimal DiscountAmountExclTax { get; set; } +// /// +// /// Gets or sets the discount amount (exclude tax) +// /// +// public decimal DiscountAmountExclTax { get; set; } - /// - /// Gets or sets the original cost of this order item (when an order was placed), qty 1 - /// - public decimal OriginalProductCost { get; set; } +// /// +// /// Gets or sets the original cost of this order item (when an order was placed), qty 1 +// /// +// public decimal OriginalProductCost { get; set; } - /// - /// Gets or sets the attribute description - /// - public string AttributeDescription { get; set; } +// /// +// /// Gets or sets the attribute description +// /// +// public string AttributeDescription { get; set; } - /// - /// Gets or sets the product attributes in XML format - /// - public string AttributesXml { get; set; } +// /// +// /// Gets or sets the product attributes in XML format +// /// +// public string AttributesXml { get; set; } - /// - /// Gets or sets the download count - /// - public int DownloadCount { get; set; } +// /// +// /// Gets or sets the download count +// /// +// public int DownloadCount { get; set; } - /// - /// Gets or sets a value indicating whether download is activated - /// - public bool IsDownloadActivated { get; set; } +// /// +// /// Gets or sets a value indicating whether download is activated +// /// +// public bool IsDownloadActivated { get; set; } - /// - /// Gets or sets a license download identifier (in case this is a downloadable product) - /// - public int? LicenseDownloadId { get; set; } +// /// +// /// Gets or sets a license download identifier (in case this is a downloadable product) +// /// +// public int? LicenseDownloadId { get; set; } - /// - /// Gets or sets the total weight of one item - /// It's nullable for compatibility with the previous version of nopCommerce where was no such property - /// - public decimal? ItemWeight { get; set; } +// /// +// /// Gets or sets the total weight of one item +// /// It's nullable for compatibility with the previous version of nopCommerce where was no such property +// /// +// public decimal? ItemWeight { get; set; } - /// - /// Gets or sets the rental product start date (null if it's not a rental product) - /// - public DateTime? RentalStartDateUtc { get; set; } +// /// +// /// Gets or sets the rental product start date (null if it's not a rental product) +// /// +// public DateTime? RentalStartDateUtc { get; set; } - /// - /// Gets or sets the rental product end date (null if it's not a rental product) - /// - public DateTime? RentalEndDateUtc { get; set; } -} \ No newline at end of file +// /// +// /// Gets or sets the rental product end date (null if it's not a rental product) +// /// +// public DateTime? RentalEndDateUtc { get; set; } +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Orders/OrderStatus.cs b/Libraries/Nop.Core/Domain/Orders/OrderStatus.cs index cb7317b..95e7ab4 100644 --- a/Libraries/Nop.Core/Domain/Orders/OrderStatus.cs +++ b/Libraries/Nop.Core/Domain/Orders/OrderStatus.cs @@ -1,27 +1,27 @@ -namespace Nop.Core.Domain.Orders; +//namespace Nop.Core.Domain.Orders; -/// -/// Represents an order status enumeration -/// -public enum OrderStatus -{ - /// - /// Pending - /// - Pending = 10, +///// +///// Represents an order status enumeration +///// +//public enum OrderStatus +//{ +// /// +// /// Pending +// /// +// Pending = 10, - /// - /// Processing - /// - Processing = 20, +// /// +// /// Processing +// /// +// Processing = 20, - /// - /// Complete - /// - Complete = 30, +// /// +// /// Complete +// /// +// Complete = 30, - /// - /// Cancelled - /// - Cancelled = 40 -} \ No newline at end of file +// /// +// /// Cancelled +// /// +// Cancelled = 40 +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Payments/PaymentStatus.cs b/Libraries/Nop.Core/Domain/Payments/PaymentStatus.cs index 3308df0..01d07ff 100644 --- a/Libraries/Nop.Core/Domain/Payments/PaymentStatus.cs +++ b/Libraries/Nop.Core/Domain/Payments/PaymentStatus.cs @@ -1,37 +1,37 @@ -namespace Nop.Core.Domain.Payments; +//namespace Nop.Core.Domain.Payments; -/// -/// Represents a payment status enumeration -/// -public enum PaymentStatus -{ - /// - /// Pending - /// - Pending = 10, +///// +///// Represents a payment status enumeration +///// +//public enum PaymentStatus +//{ +// /// +// /// Pending +// /// +// Pending = 10, - /// - /// Authorized - /// - Authorized = 20, +// /// +// /// Authorized +// /// +// Authorized = 20, - /// - /// Paid - /// - Paid = 30, +// /// +// /// Paid +// /// +// Paid = 30, - /// - /// Partially Refunded - /// - PartiallyRefunded = 35, +// /// +// /// Partially Refunded +// /// +// PartiallyRefunded = 35, - /// - /// Refunded - /// - Refunded = 40, +// /// +// /// Refunded +// /// +// Refunded = 40, - /// - /// Voided - /// - Voided = 50 -} \ No newline at end of file +// /// +// /// Voided +// /// +// Voided = 50 +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Security/IAclSupported.cs b/Libraries/Nop.Core/Domain/Security/IAclSupported.cs index 2b25f1b..499649e 100644 --- a/Libraries/Nop.Core/Domain/Security/IAclSupported.cs +++ b/Libraries/Nop.Core/Domain/Security/IAclSupported.cs @@ -1,12 +1,12 @@ -namespace Nop.Core.Domain.Security; +//namespace Nop.Core.Domain.Security; -/// -/// Represents an entity which supports ACL -/// -public partial interface IAclSupported -{ - /// - /// Gets or sets a value indicating whether the entity is subject to ACL - /// - bool SubjectToAcl { get; set; } -} \ No newline at end of file +///// +///// Represents an entity which supports ACL +///// +//public partial interface IAclSupported +//{ +// /// +// /// Gets or sets a value indicating whether the entity is subject to ACL +// /// +// bool SubjectToAcl { get; set; } +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Seo/ISlugSupported.cs b/Libraries/Nop.Core/Domain/Seo/ISlugSupported.cs index a095aa5..f3d4c33 100644 --- a/Libraries/Nop.Core/Domain/Seo/ISlugSupported.cs +++ b/Libraries/Nop.Core/Domain/Seo/ISlugSupported.cs @@ -1,8 +1,8 @@ -namespace Nop.Core.Domain.Seo; +//namespace Nop.Core.Domain.Seo; -/// -/// Represents an entity which supports slug (SEO friendly one-word URLs) -/// -public partial interface ISlugSupported -{ -} \ No newline at end of file +///// +///// Represents an entity which supports slug (SEO friendly one-word URLs) +///// +//public partial interface ISlugSupported +//{ +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Shipping/ShippingStatus.cs b/Libraries/Nop.Core/Domain/Shipping/ShippingStatus.cs index eb18de6..6f88adb 100644 --- a/Libraries/Nop.Core/Domain/Shipping/ShippingStatus.cs +++ b/Libraries/Nop.Core/Domain/Shipping/ShippingStatus.cs @@ -1,32 +1,32 @@ -namespace Nop.Core.Domain.Shipping; +//namespace Nop.Core.Domain.Shipping; -/// -/// Represents the shipping status enumeration -/// -public enum ShippingStatus -{ - /// - /// Shipping not required - /// - ShippingNotRequired = 10, +///// +///// Represents the shipping status enumeration +///// +//public enum ShippingStatus +//{ +// /// +// /// Shipping not required +// /// +// ShippingNotRequired = 10, - /// - /// Not yet shipped - /// - NotYetShipped = 20, +// /// +// /// Not yet shipped +// /// +// NotYetShipped = 20, - /// - /// Partially shipped - /// - PartiallyShipped = 25, +// /// +// /// Partially shipped +// /// +// PartiallyShipped = 25, - /// - /// Shipped - /// - Shipped = 30, +// /// +// /// Shipped +// /// +// Shipped = 30, - /// - /// Delivered - /// - Delivered = 40 -} \ No newline at end of file +// /// +// /// Delivered +// /// +// Delivered = 40 +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Stores/IStoreMappingSupported.cs b/Libraries/Nop.Core/Domain/Stores/IStoreMappingSupported.cs index f8d9959..c312fee 100644 --- a/Libraries/Nop.Core/Domain/Stores/IStoreMappingSupported.cs +++ b/Libraries/Nop.Core/Domain/Stores/IStoreMappingSupported.cs @@ -1,12 +1,12 @@ -namespace Nop.Core.Domain.Stores; +//namespace Nop.Core.Domain.Stores; -/// -/// Represents an entity which supports store mapping -/// -public partial interface IStoreMappingSupported -{ - /// - /// Gets or sets a value indicating whether the entity is limited/restricted to certain stores - /// - bool LimitedToStores { get; set; } -} \ No newline at end of file +///// +///// Represents an entity which supports store mapping +///// +//public partial interface IStoreMappingSupported +//{ +// /// +// /// Gets or sets a value indicating whether the entity is limited/restricted to certain stores +// /// +// bool LimitedToStores { get; set; } +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Tax/TaxDisplayType.cs b/Libraries/Nop.Core/Domain/Tax/TaxDisplayType.cs index 9a8abe4..316c93b 100644 --- a/Libraries/Nop.Core/Domain/Tax/TaxDisplayType.cs +++ b/Libraries/Nop.Core/Domain/Tax/TaxDisplayType.cs @@ -1,17 +1,17 @@ -namespace Nop.Core.Domain.Tax; +//namespace Nop.Core.Domain.Tax; -/// -/// Represents the tax display type enumeration -/// -public enum TaxDisplayType -{ - /// - /// Including tax - /// - IncludingTax = 0, +///// +///// Represents the tax display type enumeration +///// +//public enum TaxDisplayType +//{ +// /// +// /// Including tax +// /// +// IncludingTax = 0, - /// - /// Excluding tax - /// - ExcludingTax = 10 -} \ No newline at end of file +// /// +// /// Excluding tax +// /// +// ExcludingTax = 10 +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Domain/Tax/VatNumberStatus.cs b/Libraries/Nop.Core/Domain/Tax/VatNumberStatus.cs index f65de8e..754c920 100644 --- a/Libraries/Nop.Core/Domain/Tax/VatNumberStatus.cs +++ b/Libraries/Nop.Core/Domain/Tax/VatNumberStatus.cs @@ -1,27 +1,27 @@ -namespace Nop.Core.Domain.Tax; +//namespace Nop.Core.Domain.Tax; -/// -/// Represents the VAT number status enumeration -/// -public enum VatNumberStatus -{ - /// - /// Unknown - /// - Unknown = 0, +///// +///// Represents the VAT number status enumeration +///// +//public enum VatNumberStatus +//{ +// /// +// /// Unknown +// /// +// Unknown = 0, - /// - /// Empty - /// - Empty = 10, +// /// +// /// Empty +// /// +// Empty = 10, - /// - /// Valid - /// - Valid = 20, +// /// +// /// Valid +// /// +// Valid = 20, - /// - /// Invalid - /// - Invalid = 30 -} \ No newline at end of file +// /// +// /// Invalid +// /// +// Invalid = 30 +//} \ No newline at end of file diff --git a/Libraries/Nop.Core/Nop.Core.csproj b/Libraries/Nop.Core/Nop.Core.csproj index c6e7ea7..9c36723 100644 --- a/Libraries/Nop.Core/Nop.Core.csproj +++ b/Libraries/Nop.Core/Nop.Core.csproj @@ -28,4 +28,8 @@ + + + + \ No newline at end of file diff --git a/Libraries/Nop.Data/Nop.Data.csproj b/Libraries/Nop.Data/Nop.Data.csproj index 947cc12..6861eb3 100644 --- a/Libraries/Nop.Data/Nop.Data.csproj +++ b/Libraries/Nop.Data/Nop.Data.csproj @@ -24,6 +24,7 @@ + diff --git a/Libraries/Nop.Services/Nop.Services.csproj b/Libraries/Nop.Services/Nop.Services.csproj index 539509e..f14788c 100644 --- a/Libraries/Nop.Services/Nop.Services.csproj +++ b/Libraries/Nop.Services/Nop.Services.csproj @@ -29,6 +29,7 @@ + diff --git a/Presentation/Nop.Web.Framework/Nop.Web.Framework.csproj b/Presentation/Nop.Web.Framework/Nop.Web.Framework.csproj index 67ca628..53b54e3 100644 --- a/Presentation/Nop.Web.Framework/Nop.Web.Framework.csproj +++ b/Presentation/Nop.Web.Framework/Nop.Web.Framework.csproj @@ -19,6 +19,7 @@ + diff --git a/Presentation/Nop.Web/Nop.Web.csproj b/Presentation/Nop.Web/Nop.Web.csproj index c0e2662..014eab6 100644 --- a/Presentation/Nop.Web/Nop.Web.csproj +++ b/Presentation/Nop.Web/Nop.Web.csproj @@ -19,6 +19,7 @@ +