import { IsNotEmpty, IsNumber, IsOptional } from 'class-validator';

export class CreateAttendanceDto {
    @IsNumber()
    @IsNotEmpty()
    latitude: number;

    @IsNumber()
    @IsNotEmpty()
    @IsNumber()
    @IsNotEmpty()
    longitude: number;

    @IsOptional()
    address?: string;
}
