"""
Management command to seed the database with sample data.
"""
from django.core.management.base import BaseCommand
from django.contrib.auth import get_user_model
from apps.business.models import Business
import random

User = get_user_model()

class Command(BaseCommand):
    help = 'Seed database with sample data for development'
    
    def add_arguments(self, parser):
        parser.add_argument(
            '--count',
            type=int,
            help='Number of items to create',
            default=100
        )
    
    def handle(self, *args, **options):
        self.stdout.write('Seeding database with sample data...')
        
        # This will be expanded when models are fully implemented
        count = options['count']
        
        self.stdout.write(
            self.style.SUCCESS(f'Successfully created {count} sample items')
        )
