Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提供分页的Request和Reponse基类 #93

Closed
witskeeper opened this issue Oct 28, 2024 · 0 comments
Closed

提供分页的Request和Reponse基类 #93

witskeeper opened this issue Oct 28, 2024 · 0 comments
Labels
help wanted Extra attention is needed
Milestone

Comments

@witskeeper
Copy link
Member

witskeeper commented Oct 28, 2024

考虑是否在Primitives包中提供?

大概的伪代码如下
···
public class PageRequest
{
public int PageIndex { get; set; }
public int PageSize { get; set; }
}

public class PageResponse
{
public int PageIndex { get; set; }
public int PageSize { get; set; }
public int TotalCount { get; set; }
public IEnumerable Items { get; set; }
}

@witskeeper witskeeper added this to the v2.0.x milestone Oct 28, 2024
@witskeeper witskeeper added the help wanted Extra attention is needed label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant