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

export class MembershipRoleDTO {
  @ApiProperty({ enum: ['owner', 'admin', 'steward', 'member'] })
  @IsEnum(['owner', 'admin', 'steward', 'member'])
  value!: 'owner' | 'admin' | 'steward' | 'member';
}