2024-02-25 12:18:35 +04:00
|
|
|
|
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; }
|
2024-02-25 14:44:58 +04:00
|
|
|
|
public int CargoId { get; set; }
|
|
|
|
|
public int Count { get; set; }
|
2024-02-25 12:18:35 +04:00
|
|
|
|
public TransportationStatus Status { get; set; } = TransportationStatus.Неизвестен;
|
|
|
|
|
public DateTime DepartureDate { get; set; } = DateTime.Now;
|
|
|
|
|
public DateTime? ArrivalDate { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|