Модель
This commit is contained in:
parent
ef07c758dc
commit
98f43a5b12
31
VetClinic/VetClinic.sln
Normal file
31
VetClinic/VetClinic.sln
Normal file
@ -0,0 +1,31 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.9.34622.214
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VetClinicBusinessLogic", "VetClinicBusinessLogic\VetClinicBusinessLogic.csproj", "{85BD062C-3826-4326-A09D-2A3BC07C7856}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VetClinicDataModels", "VetClinicDataModels\VetClinicDataModels.csproj", "{F8D5504B-8955-45E7-BF6B-3ABB7C3DC1BC}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{85BD062C-3826-4326-A09D-2A3BC07C7856}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{85BD062C-3826-4326-A09D-2A3BC07C7856}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{85BD062C-3826-4326-A09D-2A3BC07C7856}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{85BD062C-3826-4326-A09D-2A3BC07C7856}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F8D5504B-8955-45E7-BF6B-3ABB7C3DC1BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F8D5504B-8955-45E7-BF6B-3ABB7C3DC1BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F8D5504B-8955-45E7-BF6B-3ABB7C3DC1BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F8D5504B-8955-45E7-BF6B-3ABB7C3DC1BC}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {8D1AF4D2-05F5-41A9-A9F5-7318C88EE80F}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VetClinicBusinessLogic.BusinessLogics
|
||||
{
|
||||
internal class AdminLogic
|
||||
{
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NETCore.App" Version="2.1.30" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
7
VetClinic/VetClinicDataModels/IId.cs
Normal file
7
VetClinic/VetClinicDataModels/IId.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace VetClinicDataModels
|
||||
{
|
||||
public interface IId
|
||||
{
|
||||
int Id { get; }
|
||||
}
|
||||
}
|
11
VetClinic/VetClinicDataModels/Models/IAdminModel.cs
Normal file
11
VetClinic/VetClinicDataModels/Models/IAdminModel.cs
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
namespace VetClinicDataModels.Models
|
||||
{
|
||||
public interface IAdminModel
|
||||
{
|
||||
string ClientFIO { get; }
|
||||
string Email { get; }
|
||||
string Password { get; }
|
||||
|
||||
}
|
||||
}
|
15
VetClinic/VetClinicDataModels/Models/IAnimalModel.cs
Normal file
15
VetClinic/VetClinicDataModels/Models/IAnimalModel.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VetClinicDataModels.Models
|
||||
{
|
||||
public interface IAnimalModel
|
||||
{
|
||||
int AdminId { get; }
|
||||
string AnimalName { get; }
|
||||
string? Family { get; }
|
||||
}
|
||||
}
|
17
VetClinic/VetClinicDataModels/Models/IVaccinationModel.cs
Normal file
17
VetClinic/VetClinicDataModels/Models/IVaccinationModel.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VetClinicDataModels.Models
|
||||
{
|
||||
public interface IVaccinationModel
|
||||
{
|
||||
int AnimalId { get; }
|
||||
string NameVaccination { get; }
|
||||
|
||||
double CostVaccination { get; }
|
||||
DateTime DateStamp { get; }
|
||||
}
|
||||
}
|
18
VetClinic/VetClinicDataModels/Models/IVisitModel.cs
Normal file
18
VetClinic/VetClinicDataModels/Models/IVisitModel.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VetClinicDataModels.Models
|
||||
{
|
||||
public interface IVisitModel
|
||||
{
|
||||
int VisitId { get;}
|
||||
int ServiceId { get; }
|
||||
|
||||
int AdminId { get; }
|
||||
string NameVisit { get;}
|
||||
DateTime DateVisit { get; }
|
||||
}
|
||||
}
|
18
VetClinic/VetClinicDataModels/VetClinicDataModels.csproj
Normal file
18
VetClinic/VetClinicDataModels/VetClinicDataModels.csproj
Normal file
@ -0,0 +1,18 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.4" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.4" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.4">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user