27 lines
877 B
C#
27 lines
877 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Nop.Plugin.Misc.AuctionPlugin.Domains.Dtos;
|
|
|
|
namespace Nop.Plugin.Misc.AuctionPlugin.Hubs.Messages
|
|
{
|
|
|
|
/// <summary>
|
|
/// this message sends update to the clients. so it sends current (the already winner) price,
|
|
/// sends the ACTUAL bidstep, so the new price, and next bid can be calculated on the client side
|
|
/// </summary>
|
|
public class BidNotificationMessage : AuctionNotificationBase
|
|
{
|
|
public string ProductName { get; set; }
|
|
public decimal BidPrice { get; set; }
|
|
public decimal NextBidPrice { get; set; }
|
|
public decimal NextStepAmount { get; set; }
|
|
|
|
public BidNotificationMessage() { }
|
|
public BidNotificationMessage(AuctionDto auctionDto):base(auctionDto) { }
|
|
}
|
|
|
|
}
|