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

export class VisitedMenuItemDto {
  @ApiProperty({ example: 'controller/action' })
  @IsString()
  href: string;

  @ApiProperty({ example: 'Dashboard' })
  @IsString()
  title: string;

  @ApiProperty({ example: 2 })
  @IsInt()
  platform: number;
}
