diff --git a/TransportCompany/TransportCompanyDataModels/IId.cs b/TransportCompany/TransportCompanyDataModels/IId.cs new file mode 100644 index 0000000..99882e8 --- /dev/null +++ b/TransportCompany/TransportCompanyDataModels/IId.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TransportCompanyDataModels +{ + public interface IId + { + int Id { get; } + } +} diff --git a/TransportCompany/TransportCompanyDataModels/Models/ICargo.cs b/TransportCompany/TransportCompanyDataModels/Models/ICargo.cs new file mode 100644 index 0000000..1e5cbbb --- /dev/null +++ b/TransportCompany/TransportCompanyDataModels/Models/ICargo.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TransportCompanyDataModels.Models +{ + public interface ICargo : IId + { + //тип груза + string TypeCargo { get; } + } +} diff --git a/TransportCompany/TransportCompanyDataModels/Models/IClient.cs b/TransportCompany/TransportCompanyDataModels/Models/IClient.cs new file mode 100644 index 0000000..e6949c8 --- /dev/null +++ b/TransportCompany/TransportCompanyDataModels/Models/IClient.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TransportCompanyDataModels.Models +{ + public interface IClient : IId + { + string Name { get; } + + string Surname { get; } + + //отчество + string Patronymic { get; } + + string TelephoneNumber { get; } + + string Email { get; } + } +} diff --git a/TransportCompany/TransportCompanyDataModels/Models/ITransportModel.cs b/TransportCompany/TransportCompanyDataModels/Models/ITransportModel.cs new file mode 100644 index 0000000..b186a1a --- /dev/null +++ b/TransportCompany/TransportCompanyDataModels/Models/ITransportModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TransportCompanyDataModels.Models +{ + public interface ITransportModel : IId + { + //тип транспорта для перевозки + string Tranport { get; } + } +} diff --git a/TransportCompany/TransportCompanyDataModels/Models/ITransportationType.cs b/TransportCompany/TransportCompanyDataModels/Models/ITransportationType.cs new file mode 100644 index 0000000..aae77e6 --- /dev/null +++ b/TransportCompany/TransportCompanyDataModels/Models/ITransportationType.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TransportCompanyDataModels.Models +{ + public interface ITransportationType : IId + { + //тип транспортировки + string TransportationType { get; } + } +} diff --git a/TransportCompany/TransportCompanyDataModels/Models/ITrucking.cs b/TransportCompany/TransportCompanyDataModels/Models/ITrucking.cs new file mode 100644 index 0000000..2c0996e --- /dev/null +++ b/TransportCompany/TransportCompanyDataModels/Models/ITrucking.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TransportCompanyDataModels.Models +{ + public interface ITrucking : IId + { + int ClientId { get; } + + int CargoId { get; } + + double Price { get; } + + DateTime DateStart { get; } + + DateTime DateEnd { get; } + + int TypeTransportationId { get; } + + int TransportId { get; } + } +}