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

export class AddStatusDto {
  @IsString()
  @IsNotEmpty()
  @ApiProperty({ required: true, type: String, description: 'Status' })
  status: string;

  @IsOptional()
  @IsNotEmpty()
  @ApiProperty({ required: false, type: String, description: 'Date' })
  date?: string;
}
