20 lines
731 B
C#
20 lines
731 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 int CargoId { get; set; }
|
||
public int Count { get; set; }
|
||
public TransportationStatus Status { get; set; } = TransportationStatus.Неизвестен;
|
||
public DateTime DepartureDate { get; set; } = DateTime.Now;
|
||
public DateTime? ArrivalDate { get; set; }
|
||
}
|
||
}
|