18 lines
650 B
C#
18 lines
650 B
C#
|
using TransportCompanyDataModels.Enums;
|
|||
|
using TransportCompanyDataModels.Models;
|
|||
|
|
|||
|
namespace TransportCompanyContracts.BindingModels
|
|||
|
{
|
|||
|
public class TransportationBindingModel : ITransportationModel
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
public int DriverId { get; set; }
|
|||
|
public int TransportId { get; set; }
|
|||
|
public int PointToId { get; set; }
|
|||
|
public int PointFromId { get; set; }
|
|||
|
public TransportationStatus Status { get; set; } = TransportationStatus.Неизвестен;
|
|||
|
public DateTime DepartureDate { get; set; } = DateTime.Now;
|
|||
|
public DateTime? ArrivalDate { get; set; }
|
|||
|
}
|
|||
|
}
|