import { ApiProperty } from '@nestjs/swagger';
import { IsEmail, IsString, Length } from 'class-validator';

export class SuperAdminLoginDto {
  @ApiProperty({ example: 'admin@oudelaa.com' })
  @IsEmail()
  email!: string;

  @ApiProperty({ example: 'SuperAdminStrongPass123!' })
  @IsString()
  @Length(8, 128)
  password!: string;
}
