PIAPS_CW/Contracts/BindingModels/CartItemBindingModel.cs

23 lines
658 B
C#
Raw Normal View History

using DataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.BindingModels
{
public class CartItemBindingModel : ICartItem
{
public Guid Id { get; set; }
public Guid ProductId { get; set; }
public string ProductName { get; set; } = string.Empty;
public DateTime DateCreated { get; set; }
public int Count { get; set; }
public Guid UserId { get; set; }
public Guid? PurchaseId { get; set; }
2024-11-24 19:51:40 +04:00
public IPurchase? Purchase { get; set; }
public bool IsClosed { get; set; }
}
}