2024-06-11 12:18:10 +04:00
|
|
|
|
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; }
|
2024-07-26 02:46:29 +04:00
|
|
|
|
public DateTime DateCreated { get; set; }
|
|
|
|
|
public DateTime? DateClosed { get; set; }
|
|
|
|
|
public required Guid UserId { get; set; }
|
2024-06-11 12:18:10 +04:00
|
|
|
|
public PurchaseStatus Status { get; set; }
|
2024-07-26 02:46:29 +04:00
|
|
|
|
public int ProductCount { get; set; }
|
2024-06-26 08:04:07 +04:00
|
|
|
|
public double Cost { get; set; }
|
2024-07-26 02:46:29 +04:00
|
|
|
|
public bool IsPaid { get; set; }
|
2024-06-23 16:10:45 +04:00
|
|
|
|
}
|
2024-06-11 12:18:10 +04:00
|
|
|
|
}
|