2023-04-01 13:12:37 +04:00
|
|
|
|
using HardwareShopDataModels.Enums;
|
2023-04-01 12:10:46 +04:00
|
|
|
|
|
|
|
|
|
namespace HardwareShopDataModels.Models
|
|
|
|
|
{
|
|
|
|
|
public interface IPurchaseModel : IId
|
|
|
|
|
{
|
2023-04-02 15:43:05 +04:00
|
|
|
|
double Sum { get; }
|
2023-04-01 12:10:46 +04:00
|
|
|
|
|
2023-04-01 12:37:25 +04:00
|
|
|
|
PurchaseStatus PurchaseStatus { get; }
|
2023-04-01 12:10:46 +04:00
|
|
|
|
|
|
|
|
|
DateTime? DatePurchase { get; }
|
|
|
|
|
|
2023-04-01 16:34:06 +04:00
|
|
|
|
int UserId { get; }
|
2023-04-01 12:10:46 +04:00
|
|
|
|
|
|
|
|
|
Dictionary<int, (IGoodModel, int)> PurchaseGoods { get; }
|
2023-04-03 23:59:08 +04:00
|
|
|
|
|
|
|
|
|
Dictionary<int, (IBuildModel, int)> PurchaseBuilds { get; }
|
2023-04-01 12:10:46 +04:00
|
|
|
|
}
|
|
|
|
|
}
|