models done

This commit is contained in:
VictoriaPresnyakova 2023-05-03 18:27:37 +04:00
parent 9d6097f6d1
commit e53f659b02
3 changed files with 8 additions and 4 deletions

View File

@ -6,10 +6,14 @@ using System.Threading.Tasks;
namespace TransportGuideDataModels.Models
{
public interface n_route
public interface INrouteModel
{
string Name { get;}
string IP { get;}
}
int TransportTypeId { get;}
Dictionary<int, (IStopModel, int)>? StopNRoute { get; }
}
}

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace TransportGuideDataModels.Models
{
public interface IStop
public interface IStopModel
{
string Name { get; }
}

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace TransportGuideDataModels.Models
{
public interface ITransportType
public interface ITransportTypeModel
{
double price { get;}
string name { get;}