SignalR improvements; etc...
This commit is contained in:
parent
df9157c4ab
commit
ec71f81d4c
|
|
@ -8,6 +8,7 @@ using Nop.Core.Domain.Catalog;
|
||||||
using Nop.Core.Domain.Common;
|
using Nop.Core.Domain.Common;
|
||||||
using Nop.Core.Domain.Customers;
|
using Nop.Core.Domain.Customers;
|
||||||
using Nop.Core.Domain.Orders;
|
using Nop.Core.Domain.Orders;
|
||||||
|
using Nop.Core.Domain.Payments;
|
||||||
using Nop.Core.Domain.Shipping;
|
using Nop.Core.Domain.Shipping;
|
||||||
|
|
||||||
namespace Mango.Nop.Core.Dtos;
|
namespace Mango.Nop.Core.Dtos;
|
||||||
|
|
@ -23,6 +24,7 @@ public abstract class MgOrderDto<TOrderItemDto, TProductDto> : MgEntityBase, IMo
|
||||||
public decimal OrderTotal { get; set; }
|
public decimal OrderTotal { get; set; }
|
||||||
public DateTime CreatedOnUtc { get; set; }
|
public DateTime CreatedOnUtc { get; set; }
|
||||||
public DateTime? PaidDateUtc { get; set; }
|
public DateTime? PaidDateUtc { get; set; }
|
||||||
|
public int PaymentStatusId { get; set; }
|
||||||
public string ShippingMethod { get; set; }
|
public string ShippingMethod { get; set; }
|
||||||
public string CustomOrderNumber { get; set; }
|
public string CustomOrderNumber { get; set; }
|
||||||
public string CustomValuesXml { get; set; }
|
public string CustomValuesXml { get; set; }
|
||||||
|
|
@ -44,6 +46,11 @@ public abstract class MgOrderDto<TOrderItemDto, TProductDto> : MgEntityBase, IMo
|
||||||
get => (ShippingStatus)ShippingStatusId;
|
get => (ShippingStatus)ShippingStatusId;
|
||||||
set => ShippingStatusId = (int)value;
|
set => ShippingStatusId = (int)value;
|
||||||
}
|
}
|
||||||
|
public PaymentStatus PaymentStatus
|
||||||
|
{
|
||||||
|
get => (PaymentStatus)PaymentStatusId;
|
||||||
|
set => PaymentStatusId = (int)value;
|
||||||
|
}
|
||||||
|
|
||||||
protected MgOrderDto() :base()
|
protected MgOrderDto() :base()
|
||||||
{ }
|
{ }
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ public abstract class MgProductDto : MgEntityBase, IModelDtoBase<Product>, IMgPr
|
||||||
public string FullDescription { get; set; }
|
public string FullDescription { get; set; }
|
||||||
|
|
||||||
public int WarehouseId { get; set; }
|
public int WarehouseId { get; set; }
|
||||||
|
public decimal Price { get; set; }
|
||||||
public int StockQuantity { get; set; }
|
public int StockQuantity { get; set; }
|
||||||
public decimal ProductCost { get; set; }
|
public decimal ProductCost { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ public interface IMgProductDto : IEntityInt, ILocalizedEntity, ISlugSupported, I
|
||||||
string FullDescription { get; set; }
|
string FullDescription { get; set; }
|
||||||
|
|
||||||
int WarehouseId { get; set; }
|
int WarehouseId { get; set; }
|
||||||
|
decimal Price { get; set; }
|
||||||
int StockQuantity { get; set; }
|
int StockQuantity { get; set; }
|
||||||
decimal ProductCost { get; set; }
|
decimal ProductCost { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using AyCode.Core.Loggers;
|
||||||
using AyCode.Utils.Extensions;
|
using AyCode.Utils.Extensions;
|
||||||
using Mango.Nop.Core.Interfaces;
|
using Mango.Nop.Core.Interfaces;
|
||||||
using Mango.Nop.Core.Loggers;
|
using Mango.Nop.Core.Loggers;
|
||||||
using Mango.Nop.Services;
|
using Mango.Nop.Core.Services;
|
||||||
using Nop.Core.Caching;
|
using Nop.Core.Caching;
|
||||||
using Nop.Core.Domain.Catalog;
|
using Nop.Core.Domain.Catalog;
|
||||||
using Nop.Core.Domain.Orders;
|
using Nop.Core.Domain.Orders;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Mango.Nop.Services;
|
namespace Mango.Nop.Core.Services;
|
||||||
|
|
||||||
public interface IMgLockService
|
public interface IMgLockService
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
namespace Mango.Nop.Services;
|
using Mango.Nop.Core.Services;
|
||||||
|
|
||||||
|
namespace Mango.Nop.Services;
|
||||||
|
|
||||||
public abstract class MgLockServiceBase : IMgLockService
|
public abstract class MgLockServiceBase : IMgLockService
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue