import { IsNotEmpty, MinLength, MaxLength, Matches  } from 'class-validator';
import { validationMessages } from '../../../messages/validation-messages';
import { MatchPasswordValidator } from '../../../validators/match-password.validator';
import { ApiProperty } from '@nestjs/swagger';

export class ListQueryDto
{
    @IsNotEmpty({ message: validationMessages.common.page_required })
    page: BigInteger;

    search: string;

    per_page : BigInteger;

    sort_by : string;

    sort : string;
}
