23 lines
658 B
C#
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; }
|
|
}
|
|
}
|