From 9e21c5bbf03546a4b0a86453b434a28aa44fd7d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BE=D0=BB=D0=BE=D0=B4=D1=8F?= Date: Mon, 3 Apr 2023 19:45:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D0=BE=D0=BB=D0=BD=D0=B8?= =?UTF-8?q?=D1=82=D0=B5=D0=BB=D1=8C=20:=20=D1=81=D0=BB=D0=BE=D0=B9=20?= =?UTF-8?q?=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SchoolAgainStudyDataModels/Models/IDiy.cs | 19 +++++++++++++++++++ .../Models/IInterest.cs | 16 ++++++++++++++++ .../Models/IProduct.cs | 17 +++++++++++++++++ .../Models/IStudent.cs | 18 ++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IDiy.cs create mode 100644 SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IInterest.cs create mode 100644 SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IProduct.cs create mode 100644 SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IStudent.cs diff --git a/SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IDiy.cs b/SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IDiy.cs new file mode 100644 index 0000000..6e96e88 --- /dev/null +++ b/SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IDiy.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SchoolAgainStudyDataModels.Models +{ + public interface IDiy : IId + { + string Title { get; } + string Description { get; } + string TaskName { get; } + DateTime DateCreate { get; } + int TaskId { get; } + int StudentId { get; } + Dictionary DiyInterests { get; } + } +} diff --git a/SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IInterest.cs b/SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IInterest.cs new file mode 100644 index 0000000..a824099 --- /dev/null +++ b/SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IInterest.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SchoolAgainStudyDataModels.Models +{ + public interface IInterest : IId + { + string Title { get; } + string Description { get; } + + + } +} diff --git a/SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IProduct.cs b/SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IProduct.cs new file mode 100644 index 0000000..d0833a5 --- /dev/null +++ b/SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IProduct.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SchoolAgainStudyDataModels.Models +{ + public interface IProduct : IId + { + string Title { get; } + string Description { get; } + DateTime DateCreate { get; } + int StudentId { get; } + Dictionary ProductInterests { get; } + } +} diff --git a/SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IStudent.cs b/SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IStudent.cs new file mode 100644 index 0000000..00dfbe1 --- /dev/null +++ b/SchoolAgainStudy/SchoolAgainStudyDataModels/Models/IStudent.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SchoolAgainStudyDataModels.Models +{ + public interface IStudent : IId + { + string Name { get; } + int Class { get; } + string Email { get; } + string Login { get; } + string Password { get; } + Dictionary StudentInterests { get; } + } +}