12 lines
315 B
TypeScript
12 lines
315 B
TypeScript
import { FindAllUsersRequest } from '../domain/dtos/find-all-users.request';
|
|
|
|
export class FindAllUsersQuery {
|
|
page: number;
|
|
perPage: number;
|
|
|
|
constructor(findAllUsersRequest?: FindAllUsersRequest) {
|
|
this.page = findAllUsersRequest?.page ?? 1;
|
|
this.perPage = findAllUsersRequest?.perPage ?? 10;
|
|
}
|
|
}
|