import { IsString, IsOptional } from 'class-validator';

export class CreateDictDto {
  @IsString()
  name: string;

  @IsString()
  code: string;

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