24 lines
720 B
C#
24 lines
720 B
C#
using DataModels.Enums;
|
|
using DataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
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 Guid SupplierId { get; set; }
|
|
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; }
|
|
}
|
|
}
|