Files
PIBD-23_Coursach_YouAreProg…/YouAreProgrammerShop/YAPContracts/ViewModels/PurchaseViewModel.cs
strwbrry1 ee51e4d1f6 Purchase CRD done, all entities done
Field verifications, reports, email left
2025-09-14 01:07:07 +04:00

26 lines
603 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YAPContracts.ViewModels
{
public class PurchaseViewModel
{
public string Id { get; set; } = default!;
public string UserId { get; set; } = default!;
public double TotalPrice { get; set; }
public DateTime PurchaseDate { get; set; }
public WorkerViewModel? User { get; set; }
public List<ProductInPurchaseViewModel>? Products { get; set; }
public List<string>? ProductSetIds { get; set; }
}
}