using AyCode.Interfaces.Entities;
using LinqToDB.Mapping;
using Mango.Nop.Core.Entities;
using Nop.Core;
using Nop.Plugin.Misc.AuctionPlugin.Domains.Entities.Interfaces;

namespace Nop.Plugin.Misc.AuctionPlugin.Domains.Entities
{
    public partial class AuctionBid : MgEntityBase, IAuctionBid
    {
        public int AuctionId { get; set; }
        public int ProductAuctionMappingId { get; set; }
        
        public int CustomerId { get; set; }

        public int ProductId { get; set; }

        public bool IsWinner { get; set; }
        public decimal BidPrice { get; set; }

        [SkipValuesOnUpdate]
        public DateTime Created { get; set; }
        public DateTime Modified { get; set; }
    }

}