File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace KSFramework . Pagination ;
4
4
5
- public record OrderingRequestOptions
5
+ public class OrderingRequestOptions
6
6
: PaginationRequestOptions
7
7
{
8
8
[ property: JsonProperty ( "orderByPropertyName" ) ]
Original file line number Diff line number Diff line change 2
2
3
3
namespace KSFramework . Pagination ;
4
4
5
- public record PaginationRequestOptions
5
+ public class PaginationRequestOptions
6
6
{
7
7
[ property: JsonProperty ( "pageIndex" ) ]
8
8
public int PageIndex { get ; set ; } = 1 ;
Original file line number Diff line number Diff line change 3
3
4
4
namespace KSFramework . Pagination ;
5
5
6
- public record SearchRequestOptions
6
+ public class SearchRequestOptions
7
7
: OrderingRequestOptions
8
8
{
9
- [ property: JsonProperty ( "searchTerm" ) ]
10
- public string SearchTerm { get ; set ; }
9
+ [ property: JsonProperty ( "searchTerm" ) ] public string SearchTerm { get ; set ; } = string . Empty ;
11
10
}
You can’t perform that action at this time.
0 commit comments