import { Expose, Type } from 'class-transformer';
import { IsNumber, IsOptional, IsString, MaxLength } from 'class-validator';

export class ShiftManagementUsersFiltersVC {
    @IsOptional()
    @IsString()
    @MaxLength(255)
    @Expose()
    search?: string;

    @IsNumber()
    @Expose()
    @Type(() => Number)
    @IsOptional()
    siteId?: number;
}
