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>
|
|
|
|
|
public interface IScheduleModel : IId
|
|
|
|
|
{
|
|
|
|
|
/// <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>
|
|
|
|
|
int RouteId { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|