Upload files to 'STODataModels'
This commit is contained in:
parent
8db28c55e6
commit
27edc9e0f0
22
STODataModels/ICarModel.cs
Normal file
22
STODataModels/ICarModel.cs
Normal file
@ -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<int, (ITechnicalWorkModel, int)> CarTechnicalWorks { get;}
|
||||
}
|
||||
}
|
15
STODataModels/ICarPartModel.cs
Normal file
15
STODataModels/ICarPartModel.cs
Normal file
@ -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; }
|
||||
}
|
||||
}
|
16
STODataModels/IClientModel.cs
Normal file
16
STODataModels/IClientModel.cs
Normal file
@ -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; }
|
||||
}
|
||||
}
|
8
STODataModels/IId.cs
Normal file
8
STODataModels/IId.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace STODataModels
|
||||
{
|
||||
|
||||
public interface IId
|
||||
{
|
||||
int Id { get; }
|
||||
}
|
||||
}
|
16
STODataModels/IServiceModel.cs
Normal file
16
STODataModels/IServiceModel.cs
Normal file
@ -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; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user