2023-01-31 12:54:51 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ConfectioneryDataModels.Models
|
|
|
|
|
{
|
2023-02-14 00:08:23 +04:00
|
|
|
|
public interface IPastryModel : IId
|
2023-01-31 12:54:51 +04:00
|
|
|
|
{
|
2023-02-14 00:08:23 +04:00
|
|
|
|
string PastryName { get; }
|
2023-01-31 12:54:51 +04:00
|
|
|
|
|
|
|
|
|
double Price { get; }
|
|
|
|
|
|
2023-02-14 00:08:23 +04:00
|
|
|
|
Dictionary<int, (IComponentModel, int)> PastryComponents { get; }
|
2023-01-31 12:54:51 +04:00
|
|
|
|
}
|
|
|
|
|
}
|