PIAPS_CW/Contracts/BindingModels/PurchaseBindingModel.cs

21 lines
523 B
C#
Raw Normal View History

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; }
public Guid UserId { get; set; }
public PurchaseStatus Status { get; set; }
2024-06-26 08:04:07 +04:00
public Dictionary<Guid, (IProduct, int)>? PurchaseProducts { get; set; } = new();
public double Cost { get; set; }
2024-06-11 12:18:10 +04:00
}
}