SUBD_TransportCompany/TransportCompany/TransportCompanyContracts/BindingModels/TransportationBindingModel.cs

20 lines
731 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}
}