FruitBank/Presentation/Nop.Web/Areas/Admin/Models/ShoppingCart/ShoppingCartItemModel.cs

39 lines
1.1 KiB
C#

using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;
namespace Nop.Web.Areas.Admin.Models.ShoppingCart;
/// <summary>
/// Represents a shopping cart item model
/// </summary>
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
}