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