реализация Search Model
This commit is contained in:
parent
4849c5aca6
commit
efce665f58
@ -11,6 +11,6 @@ namespace SchoolContracts.BindingModel
|
|||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
public string LessonName { get; set; } = string.Empty;
|
public string LessonName { get; set; } = string.Empty;
|
||||||
public decimal LessonCost { get; set; }
|
public decimal LessonCost { get; set; }
|
||||||
public int? EmployeeId { get; set; }
|
public int EmployeeId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
13
School/SchoolContracts/SearchModel/CircleSearchModel.cs
Normal file
13
School/SchoolContracts/SearchModel/CircleSearchModel.cs
Normal file
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
18
School/SchoolContracts/SearchModel/ClientSearchModel.cs
Normal file
18
School/SchoolContracts/SearchModel/ClientSearchModel.cs
Normal file
@ -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; }
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
13
School/SchoolContracts/SearchModel/EmployeeSearchModel.cs
Normal file
13
School/SchoolContracts/SearchModel/EmployeeSearchModel.cs
Normal file
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
14
School/SchoolContracts/SearchModel/LessonSearchModel.cs
Normal file
14
School/SchoolContracts/SearchModel/LessonSearchModel.cs
Normal file
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
13
School/SchoolContracts/SearchModel/PaymentSearchModel.cs
Normal file
13
School/SchoolContracts/SearchModel/PaymentSearchModel.cs
Normal file
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user