diff --git a/School/School.sln b/School/School.sln index d6d663d..3aff77e 100644 --- a/School/School.sln +++ b/School/School.sln @@ -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 diff --git a/School/SchoolsDataModels/IId.cs b/School/SchoolsDataModels/IId.cs new file mode 100644 index 0000000..cda7e6d --- /dev/null +++ b/School/SchoolsDataModels/IId.cs @@ -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; } + + } +} diff --git a/School/SchoolsDataModels/Models/IAchievementModel.cs b/School/SchoolsDataModels/Models/IAchievementModel.cs new file mode 100644 index 0000000..d715d2a --- /dev/null +++ b/School/SchoolsDataModels/Models/IAchievementModel.cs @@ -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; } + } +} diff --git a/School/SchoolsDataModels/Models/IInterestModel.cs b/School/SchoolsDataModels/Models/IInterestModel.cs new file mode 100644 index 0000000..2dead19 --- /dev/null +++ b/School/SchoolsDataModels/Models/IInterestModel.cs @@ -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; } + + } +} diff --git a/School/SchoolsDataModels/Models/ILessonModel.cs b/School/SchoolsDataModels/Models/ILessonModel.cs new file mode 100644 index 0000000..49739d1 --- /dev/null +++ b/School/SchoolsDataModels/Models/ILessonModel.cs @@ -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; } + } +} diff --git a/School/SchoolsDataModels/Models/IUserModel.cs b/School/SchoolsDataModels/Models/IUserModel.cs new file mode 100644 index 0000000..1e629da --- /dev/null +++ b/School/SchoolsDataModels/Models/IUserModel.cs @@ -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; } + } +} diff --git a/School/SchoolsDataModels/SchoolDataModels.csproj b/School/SchoolsDataModels/SchoolDataModels.csproj new file mode 100644 index 0000000..132c02c --- /dev/null +++ b/School/SchoolsDataModels/SchoolDataModels.csproj @@ -0,0 +1,9 @@ + + + + net6.0 + enable + enable + + +