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

export class TimeTrackingKiosksCreationVC {
    @IsDefined()
    @IsString()
    @MaxLength(255)
    @Expose()
    name!: string;

    @IsDefined()
    @IsString()
    @Expose()
    description!: string;

    @IsDefined()
    @IsBoolean()
    @Expose()
    faceRecognitionEnabled!: boolean;

    @IsDefined()
    @IsBoolean()
    @Expose()
    faceRecognitionBlocking!: boolean;

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

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