From efce665f58e00883b0d6a4cd9ef1fa63722a5073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D1=8C=D1=84=D0=B8=D1=8F=20=D0=A2=D1=83=D0=BA?= =?UTF-8?q?=D0=B0=D0=B5=D0=B2=D0=B0?= Date: Mon, 3 Apr 2023 17:21:19 +0300 Subject: [PATCH] =?UTF-8?q?=D1=80=D0=B5=D0=B0=D0=BB=D0=B8=D0=B7=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D1=8F=20Search=20Model?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BindingModels/LessonBindingModel.cs | 2 +- .../SearchModel/CircleSearchModel.cs | 13 +++++++++++++ .../SearchModel/ClientSearchModel.cs | 18 ++++++++++++++++++ .../SearchModel/EmployeeSearchModel.cs | 13 +++++++++++++ .../SearchModel/LessonSearchModel.cs | 14 ++++++++++++++ .../SearchModel/PaymentSearchModel.cs | 13 +++++++++++++ 6 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 School/SchoolContracts/SearchModel/CircleSearchModel.cs create mode 100644 School/SchoolContracts/SearchModel/ClientSearchModel.cs create mode 100644 School/SchoolContracts/SearchModel/EmployeeSearchModel.cs create mode 100644 School/SchoolContracts/SearchModel/LessonSearchModel.cs create mode 100644 School/SchoolContracts/SearchModel/PaymentSearchModel.cs diff --git a/School/SchoolContracts/BindingModels/LessonBindingModel.cs b/School/SchoolContracts/BindingModels/LessonBindingModel.cs index b913fc1..90594c9 100644 --- a/School/SchoolContracts/BindingModels/LessonBindingModel.cs +++ b/School/SchoolContracts/BindingModels/LessonBindingModel.cs @@ -11,6 +11,6 @@ namespace SchoolContracts.BindingModel public int Id { get; set; } public string LessonName { get; set; } = string.Empty; public decimal LessonCost { get; set; } - public int? EmployeeId { get; set; } + public int EmployeeId { get; set; } } } diff --git a/School/SchoolContracts/SearchModel/CircleSearchModel.cs b/School/SchoolContracts/SearchModel/CircleSearchModel.cs new file mode 100644 index 0000000..5d46dd5 --- /dev/null +++ b/School/SchoolContracts/SearchModel/CircleSearchModel.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SchoolContracts.SearchModel +{ + public class CircleSearchModel + { + public int? Id { get; set; } + } +} diff --git a/School/SchoolContracts/SearchModel/ClientSearchModel.cs b/School/SchoolContracts/SearchModel/ClientSearchModel.cs new file mode 100644 index 0000000..d349818 --- /dev/null +++ b/School/SchoolContracts/SearchModel/ClientSearchModel.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SchoolContracts.SearchModel +{ + public class ClientSearchModel + { + public int? Id { get; set; } + public string? ClientEmail { get; set; } + public string? ClientPassword { get; set; } + public string? ClientPhone { get; set; } + public string? ClientName { get; set; } + + } +} diff --git a/School/SchoolContracts/SearchModel/EmployeeSearchModel.cs b/School/SchoolContracts/SearchModel/EmployeeSearchModel.cs new file mode 100644 index 0000000..d9e7b2c --- /dev/null +++ b/School/SchoolContracts/SearchModel/EmployeeSearchModel.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SchoolContracts.SearchModel +{ + public class EmployeeSearchModel + { + public int? Id { get; set; } + } +} diff --git a/School/SchoolContracts/SearchModel/LessonSearchModel.cs b/School/SchoolContracts/SearchModel/LessonSearchModel.cs new file mode 100644 index 0000000..6a528f8 --- /dev/null +++ b/School/SchoolContracts/SearchModel/LessonSearchModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SchoolContracts.SearchModel +{ + public class LessonSearchModel + { + public int? Id { get; set; } + public string? LessonName { get; set; } + } +} diff --git a/School/SchoolContracts/SearchModel/PaymentSearchModel.cs b/School/SchoolContracts/SearchModel/PaymentSearchModel.cs new file mode 100644 index 0000000..2ff9708 --- /dev/null +++ b/School/SchoolContracts/SearchModel/PaymentSearchModel.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SchoolContracts.SearchModel +{ + public class PaymentSearchModel + { + public int? Id { get; set; } + } +}