22 lines
623 B
C#
22 lines
623 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 SupplyViewModel
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Name { get; set; } = string.Empty;
|
|
public string SupplierName { get; set; } = string.Empty;
|
|
public double Price { get; set; }
|
|
public Dictionary<Guid, (IProduct, int)> Products { get; set; } = new();
|
|
public DateTime Date { get; set; }
|
|
public SupplyStatus Status { get; set; }
|
|
}
|
|
}
|