using Nop.Core.Domain.Catalog; namespace Nop.Core.Domain.Orders; /// /// Represents a gift card /// public partial class GiftCard : BaseEntity { /// /// Gets or sets the associated order item identifier /// public int? PurchasedWithOrderItemId { get; set; } /// /// Gets or sets the gift card type identifier /// public int GiftCardTypeId { get; set; } /// /// Gets or sets the amount /// public decimal Amount { get; set; } /// /// Gets or sets a value indicating whether gift card is activated /// public bool IsGiftCardActivated { get; set; } /// /// Gets or sets a gift card coupon code /// public string GiftCardCouponCode { get; set; } /// /// Gets or sets a recipient name /// public string RecipientName { get; set; } /// /// Gets or sets a recipient email /// public string RecipientEmail { get; set; } /// /// Gets or sets a sender name /// public string SenderName { get; set; } /// /// Gets or sets a sender email /// public string SenderEmail { get; set; } /// /// Gets or sets a message /// public string Message { get; set; } /// /// Gets or sets a value indicating whether recipient is notified /// public bool IsRecipientNotified { get; set; } /// /// Gets or sets the date and time of instance creation /// public DateTime CreatedOnUtc { get; set; } /// /// Gets or sets the gift card type /// public GiftCardType GiftCardType { get => (GiftCardType)GiftCardTypeId; set => GiftCardTypeId = (int)value; } }