Upload files to 'STODataModels'

This commit is contained in:
Ivan_Starostin 2024-05-01 14:25:30 +04:00
parent 8db28c55e6
commit 27edc9e0f0
5 changed files with 77 additions and 0 deletions

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

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

View 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
View File

@ -0,0 +1,8 @@
namespace STODataModels
{
public interface IId
{
int Id { get; }
}
}

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