feat(api): в work getAll добавлен фильр по имени. ApplicationController GetAll + filter
This commit is contained in:
18
PARR.API/Contracts/V1/Requests/Queries/ApplicationQuery.cs
Normal file
18
PARR.API/Contracts/V1/Requests/Queries/ApplicationQuery.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using PARR.DAL.Contracts;
|
||||
|
||||
namespace PARR.API.Contracts.V1.Requests.Queries
|
||||
{
|
||||
public class ApplicationQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Поиск по имени. Например: "tomcat"
|
||||
/// </summary>
|
||||
public string? Name { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Поиск по типу: 0 - APP, 1 - OS, 2 - DB
|
||||
/// </summary>
|
||||
public ApplicationTypesEnum? Type { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user