# PET QR Code Seeder

This seeder creates 25 PET QR codes for a specific user in the database.

## Features

- Creates 25 PET QR codes with realistic pet data
- Associates all QR codes with user ID: `692ec6ce7a4a60c20fb22f34`
- Uses image ID: `694936bcf626c491fcbf8072` for all QR codes
- Generates realistic pet names, breeds, ages, and weights
- Includes proper QR code structure with all required fields
- Supports both seeding and resetting operations

## Usage

### Seeding PET QR Codes

To create 25 PET QR codes (default):

```bash
npm run seed:pet-qrcode seed
```

To create a specific number of PET QR codes:

```bash
npm run seed:pet-qrcode seed 50
```

### Resetting (Removing) PET QR Codes

To remove all PET QR codes for the user:

```bash
npm run seed:pet-qrcode reset
```

## Data Structure

Each PET QR code includes:

- **Title**: "Pet Profile - [Pet Name]"
- **Type**: "PET"
- **Item Name**: Pet name
- **Item Description**: Description with breed, age, and weight
- **Images**: Array containing the specified image ID
- **Type Details**: 
  - Pet name
  - Breed
  - Age
  - Weight
  - Owner name
  - Contact email
  - Contact phone
  - Vaccination status
  - Special needs

- **Privacy Controls**:
  - Public access
  - Anonymous messaging enabled
  - Emergency notification enabled

## Database Requirements

- MongoDB must be running and accessible
- Environment variables must be configured (DATABASE_URL)
- The specified user ID must exist in the database
- The specified image ID should exist in the Media collection