Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

ShoppingCartItemModel.cs

using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Areas.Admin.Models.ShoppingCart;

/// 
/// Represents a shopping cart item model
/// 
public partial record ShoppingCartItemModel : BaseNopEntityModel
{
    #region Properties

    [NopResourceDisplayName("Admin.CurrentCarts.Store")]
    public string Store { get; set; }

    [NopResourceDisplayName("Admin.CurrentCarts.Product")]
    public int ProductId { get; set; }

    [NopResourceDisplayName("Admin.CurrentCarts.Product")]
    public string ProductName { get; set; }

    public string AttributeInfo { get; set; }

    [NopResourceDisplayName("Admin.CurrentCarts.UnitPrice")]
    public string UnitPrice { get; set; }
    public decimal UnitPriceValue { get; set; }

    [NopResourceDisplayName("Admin.CurrentCarts.Quantity")]
    public int Quantity { get; set; }

    [NopResourceDisplayName("Admin.CurrentCarts.Total")]
    public string Total { get; set; }
    public decimal TotalValue { get; set; }

    [NopResourceDisplayName("Admin.CurrentCarts.UpdatedOn")]
    public DateTime UpdatedOn { get; set; }

    #endregion
}