using Nop.Plugin.Misc.AuctionPlugin.Domains.Dtos;

namespace Nop.Plugin.Misc.AuctionPlugin.Hubs.Messages;

public abstract class AuctionNotificationBase
{
    public AuctionDto AuctionDto { get; set; }

    public string ToasterMessage { get; set; }
    public int BidsCount { get; set; }

    protected AuctionNotificationBase(){}

    protected AuctionNotificationBase(AuctionDto auctionDto, int bidsCount, string toasterMessage)
    {
        AuctionDto = auctionDto;

        BidsCount = bidsCount;
        ToasterMessage = toasterMessage;
    }   
}