PIAPS_CW/Contracts/ViewModels/PurchaseViewModel.cs

23 lines
581 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 DateCreated { get; set; }
public DateTime? DateClosed { get; set; }
public required Guid UserId { get; set; }
public PurchaseStatus Status { get; set; }
public int ProductCount { get; set; }
public double Cost { get; set; }
public bool IsPaid { get; set; }
}
}