2024-04-01 02:43:20 +04:00
|
|
|
|
using RouteGuideDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace RouteGuideContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Модель для передачи данных пользователя
|
|
|
|
|
/// в методы для сохранения данных для водителей
|
|
|
|
|
/// </summary>
|
2024-04-23 19:38:25 +04:00
|
|
|
|
public class DriverBindingModel : IDriverModel<object>
|
2024-04-01 02:43:20 +04:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Идентификатор
|
|
|
|
|
/// </summary>
|
2024-04-23 19:38:25 +04:00
|
|
|
|
public object Id { get; set; }
|
2024-04-01 02:43:20 +04:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ФИО водителя
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FullName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Номер телефона водителя
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Phone { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Опыт работы водителя
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Experience { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|