20 lines
462 B
C#
20 lines
462 B
C#
using DataModels.Enums;
|
|
using DataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Contracts.ViewModels
|
|
{
|
|
public class PurchaseViewModel
|
|
{
|
|
public Guid Id { get; set; }
|
|
public DateTime DatePurchase { get; set; }
|
|
public required IUser User { get; set; }
|
|
public required List<IProduct> Products { get; set; }
|
|
public PurchaseStatus Status { get; set; }
|
|
}
|
|
}
|