Computer_Hardware_Store/HardwareShop/HardwareShopDataModels/Models/IPurchaseModel.cs
2023-04-01 16:34:06 +04:00

21 lines
513 B
C#

using HardwareShopDataModels.Enums;
namespace HardwareShopDataModels.Models
{
public interface IPurchaseModel : IId
{
decimal Sum { get; }
PurchaseStatus PurchaseStatus { get; }
//через "?" обозначается что поле может быть null
DateTime? DatePurchase { get; }
int UserId { get; }
Dictionary<int, (IBuildModel, int)>? PurchaseBuilds { get; }
Dictionary<int, (IGoodModel, int)> PurchaseGoods { get; }
}
}