Computer_Hardware_Store/HardwareShop/HardwareShopDataModels/Models/IPurchaseModel.cs

21 lines
511 B
C#
Raw Normal View History

using FoodOrdersDataModels.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; }
}
}