diff --git a/STODataModels/ICarModel.cs b/STODataModels/ICarModel.cs new file mode 100644 index 0000000..8d59da2 --- /dev/null +++ b/STODataModels/ICarModel.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace STODataModels +{ + public interface ICarModel: IId + { + public int Id { get; } + + string CarNumber { get; } + + string CarBrand { get;} + + string CarModel { get;} + DateTime Year { get;} + int ClientId { get; } + Dictionary CarTechnicalWorks { get;} + } +} diff --git a/STODataModels/ICarPartModel.cs b/STODataModels/ICarPartModel.cs new file mode 100644 index 0000000..72e36cb --- /dev/null +++ b/STODataModels/ICarPartModel.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace STODataModels +{ + public interface ICarPartModel: IId + { + int Id { get;} + string CarPartName { get; } + double Cost { get; } + } +} diff --git a/STODataModels/IClientModel.cs b/STODataModels/IClientModel.cs new file mode 100644 index 0000000..c3b5196 --- /dev/null +++ b/STODataModels/IClientModel.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace STODataModels +{ + public interface IClientModel: IId + { + int Id { get;} + string ClientFIO { get; } + string Email { get;} + string Password { get; } + } +} diff --git a/STODataModels/IId.cs b/STODataModels/IId.cs new file mode 100644 index 0000000..30068f7 --- /dev/null +++ b/STODataModels/IId.cs @@ -0,0 +1,8 @@ +namespace STODataModels +{ + + public interface IId + { + int Id { get; } + } +} diff --git a/STODataModels/IServiceModel.cs b/STODataModels/IServiceModel.cs new file mode 100644 index 0000000..96f711f --- /dev/null +++ b/STODataModels/IServiceModel.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace STODataModels +{ + public interface IServiceModel: IId + { + int Id { get; } + string Name { get; } + int CarId { get; } + int ClientId { get; } + } +}