26 lines
813 B
C#
26 lines
813 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using AyCode.Interfaces.Entities;
|
|
using AyCode.Interfaces.TimeStampInfo;
|
|
using Mango.Nop.Core.Entities;
|
|
using Mango.Nop.Core.Interfaces;
|
|
using Nop.Core;
|
|
using Nop.Plugin.Misc.AuctionPlugin.Domains.Enums;
|
|
|
|
namespace Nop.Plugin.Misc.AuctionPlugin.Domains.Entities;
|
|
|
|
public partial class Auction: MgEntityBase, ITimeStampInfo//, ISoftRemoveEntityInt
|
|
{
|
|
public string AuctionName { get; set; }
|
|
public AuctionType AuctionType{ get; set; }
|
|
|
|
public DateTime StartDateUtc { get; set; }
|
|
public DateTime? EndDateUtc { get; set; }
|
|
|
|
public bool Closed { get; set; }
|
|
|
|
[NotMapped]
|
|
public List<ProductToAuctionMapping> ProductToAuctionMappings { get; } = [];
|
|
|
|
public DateTime Created { get; set; }
|
|
public DateTime Modified { get; set; }
|
|
} |