Computer_Hardware_Store/HardwareShop/HardwareShopDataModels/Models/IPurchaseModel.cs

20 lines
420 B
C#

using HardwareShopDataModels.Enums;
namespace HardwareShopDataModels.Models
{
public interface IPurchaseModel : IId
{
double Sum { get; }
PurchaseStatus PurchaseStatus { get; }
DateTime? DatePurchase { get; }
int UserId { get; }
Dictionary<int, (IGoodModel, int)> PurchaseGoods { get; }
Dictionary<int, (IBuildModel, int)> PurchaseBuilds { get; }
}
}