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

export class CreateMeetingSummaryStatusDto {
  @ApiProperty({
    description: 'Unique status code used by the API (e.g. "ON_HOLD").',
    maxLength: 50,
    example: 'ON_HOLD',
  })
  @IsString()
  @IsNotEmpty()
  @MaxLength(50)
  code!: string;

  @ApiProperty({
    description: 'Human-readable status name shown in the UI.',
    maxLength: 100,
    example: 'On Hold',
  })
  @IsString()
  @IsNotEmpty()
  @MaxLength(100)
  name!: string;
}
