import { ApiProperty } from '@nestjs/swagger';
import { IsEnum } from 'class-validator';

export class MembershipStatusDTO {
  @ApiProperty({ enum: ['active', 'inactive', 'pending'] })
  @IsEnum(['active', 'inactive', 'pending'])
  value!: 'active' | 'inactive' | 'pending';
}