Skip to content

Yuzhakovmihail#41

Open
MikhailYuzhakov wants to merge 7 commits into
EffectiveMobile:mainfrom
MikhailYuzhakov:yuzhakovmihail
Open

Yuzhakovmihail#41
MikhailYuzhakov wants to merge 7 commits into
EffectiveMobile:mainfrom
MikhailYuzhakov:yuzhakovmihail

Conversation

@MikhailYuzhakov

Copy link
Copy Markdown

No description provided.


import java.time.LocalDateTime;

@Data

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DaTa не рекомендуется для сущностей

@RequestParam(defaultValue = "10") @Positive int limit,
@RequestParam(defaultValue = "0") @PositiveOrZero int offset) {
log.warn("getAllTask() controller");
List<TaskResponse> taskResponses = service.getAllTasks(limit, offset);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DTO не дает пагинированные данные, т.к. мы должны понимать на какой сейчас странице, и сколько всего

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants