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

export class TimeTrackingKiosksUpdateVC {
    @IsOptional()
    @IsString()
    @MaxLength(255)
    @Expose()
    name?: string;

    @IsOptional()
    @IsString()
    @Expose()
    description?: string;

    @IsOptional()
    @IsBoolean()
    @Expose()
    faceRecognitionEnabled?: boolean;

    @IsOptional()
    @IsBoolean()
    @Expose()
    faceRecognitionBlocking?: boolean;

    @IsOptional()
    @IsBoolean()
    @Expose()
    pinAuthenticationEnabled?: boolean;

    @IsOptional()
    @IsNumber()
    @Expose()
    siteId?: number | null;
}
