2024-04-01 01:07:44 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace RouteGuideDataModels.Models
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Интерфейс для модели расписания
|
|
|
|
|
/// </summary>
|
2024-04-23 19:38:25 +04:00
|
|
|
|
public interface IScheduleModel<T> : IId<T>
|
2024-04-01 01:07:44 +04:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Дата записи расписания
|
|
|
|
|
/// </summary>
|
|
|
|
|
DateTime Date { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Время отправления
|
|
|
|
|
/// </summary>
|
2024-04-01 14:37:46 +04:00
|
|
|
|
DateTime DepartureTime { get; }
|
2024-04-01 01:07:44 +04:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Время прибытия
|
|
|
|
|
/// </summary>
|
2024-04-01 14:37:46 +04:00
|
|
|
|
DateTime ArrivalTime { get; }
|
2024-04-01 01:07:44 +04:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Периодичность движения транспорта
|
|
|
|
|
/// </summary>
|
2024-04-01 14:37:46 +04:00
|
|
|
|
DateTime Frequency { get; }
|
2024-04-01 01:07:44 +04:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Идентификатор маршрута
|
|
|
|
|
/// </summary>
|
2024-04-23 19:38:25 +04:00
|
|
|
|
T RouteId { get; }
|
2024-04-01 01:07:44 +04:00
|
|
|
|
}
|
|
|
|
|
}
|