Computer_Hardware_Store/HardwareShop/HardwareShopDataModels/Models/IPurchaseModel.cs

21 lines
513 B
C#
Raw Normal View History

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