2024-06-23 01:24:47 +04:00
|
|
|
|
using DataModels.Enums;
|
|
|
|
|
using DataModels.Models;
|
|
|
|
|
using System;
|
2024-06-11 12:18:10 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class PurchaseBindingModel
|
|
|
|
|
{
|
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
public DateTime DatePurchase { get; set; }
|
2024-06-23 16:10:45 +04:00
|
|
|
|
public Guid UserId { get; set; }
|
2024-06-23 01:24:47 +04:00
|
|
|
|
public PurchaseStatus Status { get; set; }
|
2024-06-23 16:10:45 +04:00
|
|
|
|
public Dictionary<Guid, (IProduct, int)> PurchaseProducts { get; set; } = new();
|
2024-06-11 12:18:10 +04:00
|
|
|
|
}
|
|
|
|
|
}
|