import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';
import { CreateDto } from 'src/common/dto/create.dto';

export class EvaluationIndicatorDto extends CreateDto {
  @ApiProperty({ description: '评价指标维度' })
  @IsNotEmpty({ message: '评价指标不能为空' })
  evaluationRule: object;
}
