PIAPS_CW/Contracts/BindingModels/CartItemBindingModel.cs
Аришина) d402b05d5f 1
2024-11-24 19:51:40 +04:00

23 lines
658 B
C#

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; }
public IPurchase? Purchase { get; set; }
public bool IsClosed { get; set; }
}
}