Skip to content

Commit f8c9535

Browse files
committed
Added sorting for cases, small fixes
1 parent d9c7238 commit f8c9535

File tree

24 files changed

+228
-47
lines changed

24 files changed

+228
-47
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
namespace eFormAPI.Common.Models.Cases.Response
2+
{
3+
public class CaseRequestModel
4+
{
5+
public string Sort { get; set; }
6+
public string NameFilter { get; set; }
7+
public int PageIndex { get; set; }
8+
public int PageSize { get; set; }
9+
public int? TemplateId { get; set; }
10+
public bool IsSortDsc { get; set; }
11+
public int Offset { get; set; }
12+
13+
public CaseRequestModel()
14+
{
15+
Sort = "";
16+
NameFilter = "";
17+
PageSize = 10;
18+
PageIndex = 0;
19+
Offset = 0;
20+
}
21+
}
22+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System.Collections.Generic;
2+
using eFormShared;
3+
4+
namespace eFormAPI.Common.Models.Cases.Response
5+
{
6+
public class CaseListModel
7+
{
8+
public int NumOfElements { get; set; }
9+
public int PageNum { get; set; }
10+
public List<Case> Cases { get; set; }
11+
}
12+
}

eFormAPI/eFormAPI.Common/Models/CommonDictionaryModel.cs renamed to eFormAPI/eFormAPI.Common/Models/Common/CommonDictionaryModel.cs

File renamed without changes.

eFormAPI/eFormAPI.Common/Models/CommonDictionaryTextModel.cs renamed to eFormAPI/eFormAPI.Common/Models/Common/CommonDictionaryTextModel.cs

File renamed without changes.

eFormAPI/eFormAPI.Common/Models/PaginationModel.cs renamed to eFormAPI/eFormAPI.Common/Models/Common/PaginationModel.cs

File renamed without changes.

eFormAPI/eFormAPI.Common/Models/DeployCheckbox.cs renamed to eFormAPI/eFormAPI.Common/Models/Templates/DeployCheckbox.cs

File renamed without changes.
File renamed without changes.
File renamed without changes.

eFormAPI/eFormAPI.Common/Models/DisplayTemplateColumnsModel.cs renamed to eFormAPI/eFormAPI.Common/Models/Templates/DisplayTemplateColumnsModel.cs

File renamed without changes.

eFormAPI/eFormAPI.Common/Models/UpdateTemplateColumnsModel.cs renamed to eFormAPI/eFormAPI.Common/Models/Templates/UpdateTemplateColumnsModel.cs

File renamed without changes.

0 commit comments

Comments
 (0)