Созданы модели сущностей
This commit is contained in:
parent
0c87ab8b1a
commit
78ffb8ff1b
@ -5,6 +5,8 @@ VisualStudioVersion = 17.2.32602.215
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SchoolApp", "SchoolApp\SchoolApp.csproj", "{9E7F8CCA-B349-49EC-B85E-D54299CC2759}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SchoolDataModels", "SchoolsDataModels\SchoolDataModels.csproj", "{ADBB4992-BE2F-4B10-83CC-335E5B92EA35}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@ -15,6 +17,10 @@ Global
|
||||
{9E7F8CCA-B349-49EC-B85E-D54299CC2759}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9E7F8CCA-B349-49EC-B85E-D54299CC2759}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9E7F8CCA-B349-49EC-B85E-D54299CC2759}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{ADBB4992-BE2F-4B10-83CC-335E5B92EA35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{ADBB4992-BE2F-4B10-83CC-335E5B92EA35}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{ADBB4992-BE2F-4B10-83CC-335E5B92EA35}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{ADBB4992-BE2F-4B10-83CC-335E5B92EA35}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
14
School/SchoolsDataModels/IId.cs
Normal file
14
School/SchoolsDataModels/IId.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SchoolDataModels
|
||||
{
|
||||
internal interface IId
|
||||
{
|
||||
int Id { get; }
|
||||
|
||||
}
|
||||
}
|
16
School/SchoolsDataModels/Models/IAchievementModel.cs
Normal file
16
School/SchoolsDataModels/Models/IAchievementModel.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SchoolDataModels.Models
|
||||
{
|
||||
internal interface IAchievementModel
|
||||
{
|
||||
string Name { get; }
|
||||
string Description { get; }
|
||||
int UserId { get; }
|
||||
DateTime ReceiptDate { get; }
|
||||
}
|
||||
}
|
18
School/SchoolsDataModels/Models/IInterestModel.cs
Normal file
18
School/SchoolsDataModels/Models/IInterestModel.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SchoolDataModels.Models
|
||||
{
|
||||
internal interface IInterestModel
|
||||
{
|
||||
string Name { get; }
|
||||
|
||||
string Direction { get; }
|
||||
|
||||
string Discription { get; }
|
||||
|
||||
}
|
||||
}
|
15
School/SchoolsDataModels/Models/ILessonModel.cs
Normal file
15
School/SchoolsDataModels/Models/ILessonModel.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SchoolDataModels.Models
|
||||
{
|
||||
internal interface ILessonModel
|
||||
{
|
||||
int UserId { get; }
|
||||
DateTime TimeStart { get; }
|
||||
DateTime TimeEnd { get; }
|
||||
}
|
||||
}
|
17
School/SchoolsDataModels/Models/IUserModel.cs
Normal file
17
School/SchoolsDataModels/Models/IUserModel.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SchoolDataModels.Models
|
||||
{
|
||||
internal interface IUserModel
|
||||
{
|
||||
string Name { get; }
|
||||
DateTime BirthDate { get; }
|
||||
string Mail { get; }
|
||||
string PhoneNumber { get; }
|
||||
string Password { get; }
|
||||
}
|
||||
}
|
9
School/SchoolsDataModels/SchoolDataModels.csproj
Normal file
9
School/SchoolsDataModels/SchoolDataModels.csproj
Normal file
@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user