This commit is contained in:
Iliyan Angelov
2025-12-05 00:01:15 +02:00
parent 9f1aeb32da
commit 99da0afecd
24 changed files with 3701 additions and 569 deletions

View File

@@ -0,0 +1,756 @@
import sys
import os
import json
import re
from pathlib import Path
# Add parent directory to path to import from src
sys.path.insert(0, str(Path(__file__).parent.parent))
from sqlalchemy.orm import Session
from src.shared.config.database import SessionLocal
# Import all models to ensure relationships are set up
from src.models import * # This ensures all models are loaded and relationships are configured
from src.hotel_services.models.service import Service
def generate_slug(name: str) -> str:
"""Generate a URL-friendly slug from a name"""
slug = name.lower()
slug = re.sub(r'[^a-z0-9\s-]', '', slug)
slug = re.sub(r'\s+', '-', slug)
slug = re.sub(r'-+', '-', slug)
return slug.strip('-')
def seed_enterprise_services(db: Session):
"""Seed enterprise-level services with rich detail page content"""
print('Seeding enterprise services...')
services_data = [
{
'name': 'Luxury Spa & Wellness Retreat',
'description': 'Indulge in our world-class spa treatments designed to restore balance and vitality. Experience ultimate relaxation with our expert therapists.',
'price': 250.00,
'category': 'Wellness',
'slug': 'luxury-spa-wellness-retreat',
'image': 'https://images.unsplash.com/photo-1544161515-4ab6ce6db874?w=1200&h=800&fit=crop',
'content': '''<div class="service-detail-content">
<h2>Experience Ultimate Relaxation</h2>
<p>Our Luxury Spa & Wellness Retreat offers an unparalleled journey of rejuvenation and tranquility. Nestled in a serene environment, our spa combines ancient healing traditions with modern wellness techniques to create a transformative experience.</p>
<h3>What's Included</h3>
<ul>
<li>90-minute signature massage therapy</li>
<li>Access to steam room and sauna</li>
<li>Complimentary herbal tea and refreshments</li>
<li>Premium aromatherapy oils and products</li>
<li>Relaxation lounge access</li>
</ul>
<h3>Our Signature Treatments</h3>
<p>Choose from our curated selection of treatments including Swedish massage, deep tissue therapy, hot stone massage, and aromatherapy sessions. Each treatment is customized to your specific needs and preferences.</p>
<h3>Expert Therapists</h3>
<p>Our team of certified therapists brings years of experience and a deep understanding of holistic wellness. They are trained in various massage techniques and wellness practices to ensure you receive the highest quality care.</p>
</div>''',
'sections': json.dumps([
{
'type': 'hero',
'title': 'Transform Your Wellbeing',
'content': 'Discover a sanctuary of peace and rejuvenation where every detail is designed to restore your mind, body, and spirit.',
'image': 'https://images.unsplash.com/photo-1544161515-4ab6ce6db874?w=1200&h=600&fit=crop'
},
{
'type': 'features',
'title': 'Why Choose Our Spa',
'features': [
{'title': 'Expert Therapists', 'description': 'Certified professionals with years of experience', 'icon': 'User'},
{'title': 'Premium Products', 'description': 'Luxury skincare and aromatherapy products', 'icon': 'Sparkles'},
{'title': 'Customized Treatments', 'description': 'Personalized sessions tailored to your needs', 'icon': 'Heart'},
{'title': 'Serene Environment', 'description': 'Peaceful setting designed for relaxation', 'icon': 'Leaf'}
]
},
{
'type': 'quote',
'quote': 'The most luxurious spa experience I\'ve ever had. Truly transformative.',
'author': 'Sarah M., Guest'
}
]),
'meta_title': 'Luxury Spa & Wellness Retreat - Premium Hotel Services',
'meta_description': 'Experience ultimate relaxation with our world-class spa treatments. Expert therapists, premium products, and a serene environment await you.',
'meta_keywords': 'luxury spa, wellness retreat, massage therapy, hotel spa, relaxation, aromatherapy, wellness services',
'is_active': True
},
{
'name': 'Fine Dining Experience',
'description': 'Savor culinary excellence at our Michelin-starred restaurants. World-renowned chefs craft exquisite dishes using the finest ingredients.',
'price': 150.00,
'category': 'Dining',
'slug': 'fine-dining-experience',
'image': 'https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1200&h=800&fit=crop',
'content': '''<div class="service-detail-content">
<h2>Culinary Excellence Awaits</h2>
<p>Embark on a gastronomic journey at our award-winning restaurants, where culinary artistry meets exceptional service. Our Michelin-starred chefs create masterpieces that celebrate both local traditions and international flavors.</p>
<h3>Our Restaurants</h3>
<ul>
<li><strong>The Grand Ballroom:</strong> Elegant fine dining with seasonal tasting menus</li>
<li><strong>Sky Terrace:</strong> Rooftop dining with panoramic city views</li>
<li><strong>Chef's Table:</strong> Intimate 8-seat private dining experience</li>
<li><strong>Wine Cellar:</strong> Exclusive wine pairing dinners</li>
</ul>
<h3>What's Included</h3>
<ul>
<li>Multi-course tasting menu</li>
<li>Wine pairing recommendations</li>
<li>Complimentary amuse-bouche</li>
<li>Professional sommelier service</li>
<li>Personalized menu customization</li>
</ul>
<h3>Reservation Information</h3>
<p>Reservations are recommended and can be made through our concierge or directly at the restaurant. Special dietary requirements and preferences are accommodated with advance notice.</p>
</div>''',
'sections': json.dumps([
{
'type': 'hero',
'title': 'A Culinary Journey Like No Other',
'content': 'Where every dish tells a story and every meal becomes a memory.',
'image': 'https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1200&h=600&fit=crop'
},
{
'type': 'gallery',
'title': 'Our Culinary Creations',
'images': [
'https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=800',
'https://images.unsplash.com/photo-1556911220-bff31c812dba?w=800',
'https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=800'
]
},
{
'type': 'quote',
'quote': 'An extraordinary dining experience that exceeded all expectations. The attention to detail is remarkable.',
'author': 'Michael R., Food Critic'
}
]),
'meta_title': 'Fine Dining Experience - Michelin-Starred Restaurant',
'meta_description': 'Savor culinary excellence at our Michelin-starred restaurants. World-renowned chefs, exquisite dishes, and exceptional service.',
'meta_keywords': 'fine dining, michelin star, luxury restaurant, gourmet cuisine, fine dining hotel',
'is_active': True
},
{
'name': '24/7 Premium Room Service',
'description': 'Enjoy the convenience of round-the-clock in-room dining with our extensive menu featuring international cuisine and premium beverages.',
'price': 35.00,
'category': 'Dining',
'slug': 'premium-room-service',
'image': 'https://images.unsplash.com/photo-1556911220-bff31c812dba?w=1200&h=800&fit=crop',
'content': '''<div class="service-detail-content">
<h2>Dining at Your Convenience</h2>
<p>Experience the ultimate in-room dining service available 24 hours a day. From breakfast in bed to late-night snacks, our extensive menu caters to every craving with the highest standards of quality and presentation.</p>
<h3>Menu Highlights</h3>
<ul>
<li><strong>Breakfast:</strong> Continental, American, and healthy options</li>
<li><strong>Lunch & Dinner:</strong> International cuisine, local specialties, and chef's recommendations</li>
<li><strong>Desserts:</strong> Artisanal pastries and premium ice creams</li>
<li><strong>Beverages:</strong> Premium wines, craft cocktails, and specialty coffees</li>
</ul>
<h3>Service Features</h3>
<ul>
<li>Average delivery time: 25-30 minutes</li>
<li>Professional table setup in your room</li>
<li>Hot meals served at optimal temperature</li>
<li>Special dietary accommodations available</li>
<li>Complimentary bread and butter service</li>
</ul>
<h3>How to Order</h3>
<p>Simply call our room service line from your in-room phone or use our mobile app. Our team is available 24/7 to take your order and ensure prompt delivery.</p>
</div>''',
'sections': json.dumps([
{
'type': 'features',
'title': 'Why Choose Our Room Service',
'features': [
{'title': '24/7 Availability', 'description': 'Order anytime, day or night', 'icon': 'Clock'},
{'title': 'Fast Delivery', 'description': 'Average 25-30 minute delivery time', 'icon': 'Zap'},
{'title': 'Premium Quality', 'description': 'Restaurant-quality meals in your room', 'icon': 'Award'},
{'title': 'Professional Service', 'description': 'Elegant table setup and presentation', 'icon': 'UserCheck'}
]
}
]),
'meta_title': '24/7 Premium Room Service - Luxury Hotel',
'meta_description': 'Enjoy round-the-clock in-room dining with our extensive menu. International cuisine, premium beverages, and professional service delivered to your room.',
'meta_keywords': 'room service, in-room dining, 24/7 service, hotel dining, room service menu',
'is_active': True
},
{
'name': 'Executive Business Center',
'description': 'Fully equipped business center with private meeting rooms, high-speed internet, printing services, and professional secretarial support.',
'price': 75.00,
'category': 'Business',
'slug': 'executive-business-center',
'image': 'https://images.unsplash.com/photo-1497366216548-37526070297c?w=1200&h=800&fit=crop',
'content': '''<div class="service-detail-content">
<h2>Your Office Away From Office</h2>
<p>Stay productive with our state-of-the-art Executive Business Center, designed to meet all your professional needs. Whether you need a quiet workspace, a meeting room, or professional support services, we have everything you need.</p>
<h3>Facilities & Services</h3>
<ul>
<li><strong>Private Meeting Rooms:</strong> Various sizes accommodating 2-20 people</li>
<li><strong>High-Speed Internet:</strong> Fiber-optic connection with secure Wi-Fi</li>
<li><strong>Printing & Copying:</strong> Color and black & white printing, scanning, and binding</li>
<li><strong>Presentation Equipment:</strong> Projectors, screens, video conferencing</li>
<li><strong>Secretarial Services:</strong> Typing, translation, and administrative support</li>
<li><strong>Refreshments:</strong> Complimentary coffee, tea, and water</li>
</ul>
<h3>Meeting Room Features</h3>
<ul>
<li>Soundproof walls for privacy</li>
<li>Ergonomic seating and modern furniture</li>
<li>Whiteboards and flip charts</li>
<li>Video conferencing capabilities</li>
<li>Climate control and natural lighting</li>
</ul>
<h3>Reservation</h3>
<p>Meeting rooms can be reserved in advance through our concierge or business center. Hourly and daily rates available. Special packages for extended stays.</p>
</div>''',
'sections': json.dumps([
{
'type': 'hero',
'title': 'Productivity Meets Luxury',
'content': 'A professional workspace designed for success, equipped with everything you need to stay productive.',
'image': 'https://images.unsplash.com/photo-1497366216548-37526070297c?w=1200&h=600&fit=crop'
},
{
'type': 'features',
'title': 'Everything You Need',
'features': [
{'title': 'Private Meeting Rooms', 'description': 'Various sizes for any business need', 'icon': 'Users'},
{'title': 'High-Speed Internet', 'description': 'Fiber-optic connection with secure Wi-Fi', 'icon': 'Wifi'},
{'title': 'Professional Support', 'description': 'Secretarial and administrative services', 'icon': 'Briefcase'},
{'title': 'Modern Equipment', 'description': 'Latest technology and presentation tools', 'icon': 'Monitor'}
]
}
]),
'meta_title': 'Executive Business Center - Professional Workspace',
'meta_description': 'Fully equipped business center with meeting rooms, high-speed internet, printing services, and professional support. Your office away from office.',
'meta_keywords': 'business center, meeting room, conference room, office services, hotel business center',
'is_active': True
},
{
'name': 'Luxury Airport Transfer',
'description': 'Travel in comfort and style with our premium airport transfer service. Luxury vehicles, professional drivers, and flight monitoring for a seamless journey.',
'price': 85.00,
'category': 'Transportation',
'slug': 'luxury-airport-transfer',
'image': 'https://images.unsplash.com/photo-1449824913935-59a10b8d2000?w=1200&h=800&fit=crop',
'content': '''<div class="service-detail-content">
<h2>Arrive in Style</h2>
<p>Begin or end your journey with our premium airport transfer service. Our fleet of luxury vehicles and professional drivers ensure a comfortable, punctual, and stress-free experience.</p>
<h3>Our Fleet</h3>
<ul>
<li><strong>Luxury Sedans:</strong> Premium sedans for up to 3 passengers</li>
<li><strong>Executive SUVs:</strong> Spacious SUVs for up to 6 passengers</li>
<li><strong>Luxury Vans:</strong> Large vehicles for groups up to 8 passengers</li>
<li><strong>VIP Limousines:</strong> Ultimate luxury for special occasions</li>
</ul>
<h3>Service Features</h3>
<ul>
<li>Flight monitoring for delays and early arrivals</li>
<li>Meet & greet service at the airport</li>
<li>Complimentary bottled water and newspapers</li>
<li>Luggage assistance</li>
<li>Wi-Fi connectivity in vehicles</li>
<li>Professional, licensed, and insured drivers</li>
</ul>
<h3>Booking Information</h3>
<p>Reservations should be made at least 24 hours in advance. Please provide flight details for arrival transfers. Our team monitors flights and adjusts pickup times accordingly.</p>
</div>''',
'sections': json.dumps([
{
'type': 'hero',
'title': 'Your Journey Starts Here',
'content': 'Experience the comfort and convenience of premium airport transfers.',
'image': 'https://images.unsplash.com/photo-1449824913935-59a10b8d2000?w=1200&h=600&fit=crop'
},
{
'type': 'features',
'title': 'Why Choose Our Transfer Service',
'features': [
{'title': 'Luxury Fleet', 'description': 'Premium vehicles for every need', 'icon': 'Car'},
{'title': 'Professional Drivers', 'description': 'Licensed, experienced, and courteous', 'icon': 'User'},
{'title': 'Flight Monitoring', 'description': 'Automatic updates for delays', 'icon': 'Plane'},
{'title': 'Complimentary Amenities', 'description': 'Water, Wi-Fi, and newspapers', 'icon': 'Gift'}
]
}
]),
'meta_title': 'Luxury Airport Transfer - Premium Transportation',
'meta_description': 'Travel in comfort with our premium airport transfer service. Luxury vehicles, professional drivers, and flight monitoring for a seamless journey.',
'meta_keywords': 'airport transfer, luxury transportation, airport shuttle, hotel transfer, airport service',
'is_active': True
},
{
'name': 'Personal Concierge Service',
'description': 'Dedicated 24/7 concierge assistance for restaurant reservations, event tickets, tours, transportation, and all your special requests.',
'price': 0.00,
'category': 'Concierge',
'slug': 'personal-concierge-service',
'image': 'https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1200&h=800&fit=crop',
'content': '''<div class="service-detail-content">
<h2>Your Personal Assistant</h2>
<p>Our dedicated concierge team is available 24/7 to ensure your stay is nothing short of extraordinary. From restaurant reservations and event tickets to private tours and unique experiences, we handle every detail with precision and care.</p>
<h3>Services We Provide</h3>
<ul>
<li><strong>Dining:</strong> Restaurant reservations at the finest establishments</li>
<li><strong>Entertainment:</strong> Theater tickets, concerts, and event access</li>
<li><strong>Tours & Activities:</strong> Private tours, cultural experiences, and adventure activities</li>
<li><strong>Transportation:</strong> Car rentals, chauffeur services, and travel arrangements</li>
<li><strong>Business Services:</strong> Meeting room bookings, translation services, and more</li>
<li><strong>Special Requests:</strong> Gift arrangements, celebrations, and unique experiences</li>
</ul>
<h3>How We Can Help</h3>
<p>Whether you need last-minute reservations at a popular restaurant, tickets to a sold-out show, or help planning a special celebration, our concierge team has the expertise and connections to make it happen. No request is too big or too small.</p>
<h3>Contact Us</h3>
<p>Reach our concierge team 24/7 via phone, email, or in-person at the concierge desk. We're here to make your stay unforgettable.</p>
</div>''',
'sections': json.dumps([
{
'type': 'hero',
'title': 'Making Your Dreams Come True',
'content': 'Your personal assistant, available 24/7 to fulfill every request.',
'image': 'https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1200&h=600&fit=crop'
},
{
'type': 'cta',
'title': 'Need Assistance?',
'cta_text': 'Contact Our Concierge',
'cta_link': '/contact',
'content': 'Our team is standing by to help with any request, big or small.'
}
]),
'meta_title': 'Personal Concierge Service - 24/7 Assistance',
'meta_description': 'Dedicated 24/7 concierge service for restaurant reservations, event tickets, tours, and all your special requests. Making your stay extraordinary.',
'meta_keywords': 'concierge service, personal assistant, hotel concierge, travel services, luxury service',
'is_active': True
},
{
'name': 'State-of-the-Art Fitness Center',
'description': 'Access our fully equipped fitness center with modern equipment, personal training options, and group fitness classes. Open 24/7 for your convenience.',
'price': 30.00,
'category': 'Wellness',
'slug': 'fitness-center-access',
'image': 'https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1200&h=800&fit=crop',
'content': '''<div class="service-detail-content">
<h2>Stay Fit, Stay Strong</h2>
<p>Maintain your fitness routine at our state-of-the-art fitness center featuring the latest cardio and strength training equipment. Our facilities are designed to meet the needs of both casual exercisers and serious athletes.</p>
<h3>Equipment & Facilities</h3>
<ul>
<li><strong>Cardio Equipment:</strong> Treadmills, ellipticals, stationary bikes, and rowing machines</li>
<li><strong>Strength Training:</strong> Free weights, weight machines, and functional training equipment</li>
<li><strong>Group Fitness Studio:</strong> Space for yoga, Pilates, and group classes</li>
<li><strong>Locker Rooms:</strong> Spacious lockers, showers, and sauna access</li>
<li><strong>Complimentary Amenities:</strong> Towels, water, fresh fruit, and protein bars</li>
</ul>
<h3>Additional Services</h3>
<ul>
<li><strong>Personal Training:</strong> One-on-one sessions with certified trainers</li>
<li><strong>Group Classes:</strong> Yoga, Pilates, spinning, and HIIT classes</li>
<li><strong>Fitness Assessments:</strong> Body composition analysis and fitness evaluations</li>
<li><strong>Nutritional Guidance:</strong> Consultation with our wellness experts</li>
</ul>
<h3>Operating Hours</h3>
<p>Our fitness center is open 24/7 for your convenience. Personal training and group classes are available by appointment. Check the schedule at the front desk or contact our fitness team.</p>
</div>''',
'sections': json.dumps([
{
'type': 'hero',
'title': 'Your Fitness Journey Continues',
'content': 'World-class equipment and expert guidance to help you achieve your fitness goals.',
'image': 'https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1200&h=600&fit=crop'
},
{
'type': 'features',
'title': 'Why Our Fitness Center',
'features': [
{'title': '24/7 Access', 'description': 'Work out on your schedule', 'icon': 'Clock'},
{'title': 'Modern Equipment', 'description': 'Latest cardio and strength training machines', 'icon': 'Activity'},
{'title': 'Expert Trainers', 'description': 'Certified personal trainers available', 'icon': 'User'},
{'title': 'Group Classes', 'description': 'Yoga, Pilates, and more', 'icon': 'Users'}
]
}
]),
'meta_title': 'State-of-the-Art Fitness Center - 24/7 Access',
'meta_description': 'Fully equipped fitness center with modern equipment, personal training, and group classes. Open 24/7 for your convenience.',
'meta_keywords': 'fitness center, gym, hotel gym, workout, exercise, personal training, 24/7 gym',
'is_active': True
},
{
'name': 'Premium Laundry & Dry Cleaning',
'description': 'Professional laundry and dry cleaning service with same-day express or next-day standard delivery. Expert care for all your garments.',
'price': 20.00,
'category': 'Housekeeping',
'slug': 'premium-laundry-dry-cleaning',
'image': 'https://images.unsplash.com/photo-1582735689369-4fe89db7114c?w=1200&h=800&fit=crop',
'content': '''<div class="service-detail-content">
<h2>Expert Garment Care</h2>
<p>Keep your wardrobe fresh and impeccably maintained with our professional laundry and dry cleaning service. We handle everything from delicate silk garments to business suits with the utmost care and attention to detail.</p>
<h3>Our Services</h3>
<ul>
<li><strong>Dry Cleaning:</strong> Professional cleaning for suits, dresses, and delicate fabrics</li>
<li><strong>Laundry Service:</strong> Washing, drying, and pressing for everyday garments</li>
<li><strong>Pressing Only:</strong> Professional pressing and steaming services</li>
<li><strong>Alterations:</strong> Minor repairs and adjustments available</li>
<li><strong>Specialty Items:</strong> Wedding dresses, formal wear, and designer garments</li>
</ul>
<h3>Delivery Options</h3>
<ul>
<li><strong>Express Service:</strong> Same-day delivery (orders before 9 AM)</li>
<li><strong>Standard Service:</strong> Next-day delivery</li>
<li><strong>Bulk Service:</strong> Special rates for multiple items</li>
</ul>
<h3>How to Use</h3>
<p>Simply place your items in the laundry bag provided in your room and call housekeeping. Our team will collect your items, process them with care, and return them to your room at the specified time.</p>
</div>''',
'sections': json.dumps([
{
'type': 'features',
'title': 'Why Choose Our Service',
'features': [
{'title': 'Expert Care', 'description': 'Professional handling of all garment types', 'icon': 'Shield'},
{'title': 'Fast Service', 'description': 'Same-day express option available', 'icon': 'Zap'},
{'title': 'Quality Guarantee', 'description': 'Satisfaction guaranteed on all services', 'icon': 'CheckCircle'},
{'title': 'Eco-Friendly', 'description': 'Environmentally conscious cleaning methods', 'icon': 'Leaf'}
]
}
]),
'meta_title': 'Premium Laundry & Dry Cleaning - Professional Service',
'meta_description': 'Professional laundry and dry cleaning with same-day or next-day delivery. Expert care for all your garments.',
'meta_keywords': 'laundry service, dry cleaning, hotel laundry, garment care, cleaning service',
'is_active': True
},
{
'name': 'Valet Parking Service',
'description': 'Secure valet parking with 24/7 vehicle care, quick retrieval, and optional car wash services. Your vehicle is in safe hands.',
'price': 45.00,
'category': 'Transportation',
'slug': 'valet-parking-service',
'image': 'https://images.unsplash.com/photo-1502877338535-766e1452684a?w=1200&h=800&fit=crop',
'content': '''<div class="service-detail-content">
<h2>Secure & Convenient Parking</h2>
<p>Enjoy the ultimate convenience of valet parking with our professional service. Your vehicle will be safely parked and secured, ready for quick retrieval whenever you need it. Our valet team is available 24/7 to assist you.</p>
<h3>Service Features</h3>
<ul>
<li>Secure, monitored parking facility</li>
<li>24/7 valet service availability</li>
<li>Quick vehicle retrieval (average 5 minutes)</li>
<li>Complimentary vehicle inspection</li>
<li>Luggage assistance included</li>
<li>Optional car wash and detailing services</li>
</ul>
<h3>Additional Services</h3>
<ul>
<li><strong>Car Wash:</strong> Exterior wash and interior vacuum</li>
<li><strong>Detailing:</strong> Full interior and exterior detailing</li>
<li><strong>Battery Jump Start:</strong> Assistance with vehicle issues</li>
<li><strong>Tire Pressure Check:</strong> Complimentary tire service</li>
</ul>
<h3>Pricing</h3>
<p>Daily rates available for extended stays. Weekly and monthly packages offer significant savings. Contact our valet team for special rates.</p>
</div>''',
'sections': json.dumps([
{
'type': 'features',
'title': 'Why Choose Our Valet Service',
'features': [
{'title': 'Secure Facility', 'description': 'Monitored and protected parking', 'icon': 'Shield'},
{'title': 'Quick Service', 'description': 'Average 5-minute retrieval time', 'icon': 'Clock'},
{'title': '24/7 Availability', 'description': 'Service available around the clock', 'icon': 'Sun'},
{'title': 'Additional Services', 'description': 'Car wash and detailing available', 'icon': 'Sparkles'}
]
}
]),
'meta_title': 'Valet Parking Service - Secure & Convenient',
'meta_description': 'Secure valet parking with 24/7 service, quick retrieval, and optional car care services. Your vehicle is in safe hands.',
'meta_keywords': 'valet parking, parking service, hotel parking, car service, valet',
'is_active': True
},
{
'name': 'Professional Babysitting Service',
'description': 'Certified and experienced babysitters available for in-room care and supervised activities. Background-checked professionals for your peace of mind.',
'price': 35.00,
'category': 'Family',
'slug': 'professional-babysitting-service',
'image': 'https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?w=1200&h=800&fit=crop',
'content': '''<div class="service-detail-content">
<h2>Your Children in Safe Hands</h2>
<p>Enjoy your time knowing your children are in the care of our professional babysitting service. Our certified caregivers are experienced, background-checked, and trained in child safety and first aid.</p>
<h3>Our Caregivers</h3>
<ul>
<li>Certified in CPR and first aid</li>
<li>Background-checked and verified</li>
<li>Experienced with children of all ages</li>
<li>Multilingual capabilities available</li>
<li>References available upon request</li>
</ul>
<h3>Services Offered</h3>
<ul>
<li><strong>In-Room Care:</strong> Supervised care in your hotel room</li>
<li><strong>Activity Supervision:</strong> Accompany children to hotel activities</li>
<li><strong>Evening Care:</strong> Bedtime routines and overnight care</li>
<li><strong>Group Care:</strong> Multiple children from the same family</li>
</ul>
<h3>Booking Information</h3>
<p>Reservations should be made at least 4 hours in advance. Same-day service may be available subject to caregiver availability. Minimum booking: 2 hours.</p>
</div>''',
'sections': json.dumps([
{
'type': 'hero',
'title': 'Peace of Mind for Parents',
'content': 'Certified professionals ensuring your children are safe, happy, and well-cared for.',
'image': 'https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?w=1200&h=600&fit=crop'
},
{
'type': 'features',
'title': 'Why Parents Trust Us',
'features': [
{'title': 'Certified Caregivers', 'description': 'CPR and first aid certified', 'icon': 'Shield'},
{'title': 'Background Checked', 'description': 'Thoroughly vetted professionals', 'icon': 'UserCheck'},
{'title': 'Experienced', 'description': 'Years of childcare experience', 'icon': 'Heart'},
{'title': 'Flexible Service', 'description': 'In-room or activity supervision', 'icon': 'Clock'}
]
}
]),
'meta_title': 'Professional Babysitting Service - Certified Caregivers',
'meta_description': 'Certified and experienced babysitters for in-room care and supervised activities. Background-checked professionals for your peace of mind.',
'meta_keywords': 'babysitting service, childcare, hotel babysitting, kids care, family services',
'is_active': True
},
{
'name': 'Pet Care & Accommodation',
'description': 'Pet-friendly accommodations with professional pet care services including walking, feeding, grooming, and pet-sitting. Your furry friends are welcome!',
'price': 25.00,
'category': 'Pet Services',
'slug': 'pet-care-accommodation',
'image': 'https://images.unsplash.com/photo-1601758228041-f3b2795255f1?w=1200&h=800&fit=crop',
'content': '''<div class="service-detail-content">
<h2>Your Pets Are Family Too</h2>
<p>We welcome your furry family members! Our pet-friendly accommodations and professional pet care services ensure your pets are as comfortable and well-cared for as you are during your stay.</p>
<h3>Pet Amenities</h3>
<ul>
<li>Comfortable pet beds and blankets</li>
<li>Food and water bowls</li>
<li>Complimentary treats and toys</li>
<li>Pet waste bags and disposal</li>
<li>Designated pet relief areas</li>
</ul>
<h3>Pet Care Services</h3>
<ul>
<li><strong>Dog Walking:</strong> Regular walks and exercise</li>
<li><strong>Pet Sitting:</strong> In-room care while you're away</li>
<li><strong>Feeding Service:</strong> Scheduled feeding times</li>
<li><strong>Grooming:</strong> Basic grooming and bathing</li>
<li><strong>Veterinary Referrals:</strong> Local vet recommendations</li>
</ul>
<h3>Pet Policy</h3>
<p>Pets up to 50 lbs are welcome. A pet fee applies per night. Please inform us in advance about your pet's stay. We ask that pets be leashed in public areas and that owners clean up after their pets.</p>
</div>''',
'sections': json.dumps([
{
'type': 'hero',
'title': 'A Home Away From Home for Your Pets',
'content': 'Because your pets deserve the same luxury experience as you.',
'image': 'https://images.unsplash.com/photo-1601758228041-f3b2795255f1?w=1200&h=600&fit=crop'
},
{
'type': 'features',
'title': 'Pet-Friendly Features',
'features': [
{'title': 'Pet Amenities', 'description': 'Beds, bowls, treats, and toys provided', 'icon': 'Heart'},
{'title': 'Professional Care', 'description': 'Walking, feeding, and grooming services', 'icon': 'User'},
{'title': 'Designated Areas', 'description': 'Pet relief areas and walking paths', 'icon': 'MapPin'},
{'title': 'Vet Referrals', 'description': 'Local veterinary recommendations', 'icon': 'Stethoscope'}
]
}
]),
'meta_title': 'Pet Care & Accommodation - Pet-Friendly Hotel',
'meta_description': 'Pet-friendly accommodations with professional pet care services. Walking, feeding, grooming, and pet-sitting available. Your pets are welcome!',
'meta_keywords': 'pet care, pet friendly hotel, dog walking, pet services, pet accommodation',
'is_active': True
},
{
'name': 'Premium Wine & Spirits Collection',
'description': 'Extensive collection of fine wines, premium spirits, and craft cocktails. Expert sommelier service and private wine tastings available.',
'price': 0.00,
'category': 'Dining',
'slug': 'premium-wine-spirits-collection',
'image': 'https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?w=1200&h=800&fit=crop',
'content': '''<div class="service-detail-content">
<h2>Curated Excellence</h2>
<p>Discover our extensive collection of fine wines, premium spirits, and artisanal cocktails. Our master sommelier has curated a selection that spans the globe, featuring rare vintages, limited editions, and exceptional spirits.</p>
<h3>Our Collection</h3>
<ul>
<li><strong>Fine Wines:</strong> Over 500 labels from renowned vineyards worldwide</li>
<li><strong>Premium Spirits:</strong> Rare whiskeys, cognacs, and artisanal spirits</li>
<li><strong>Craft Cocktails:</strong> Signature cocktails created by our expert mixologists</li>
<li><strong>Champagne & Sparkling:</strong> Exclusive selection of premium bubbles</li>
</ul>
<h3>Services</h3>
<ul>
<li><strong>Sommelier Service:</strong> Expert wine recommendations and pairings</li>
<li><strong>Wine Tastings:</strong> Private tastings and educational sessions</li>
<li><strong>Bar Service:</strong> Craft cocktails at our premium bars</li>
<li><strong>Private Events:</strong> Wine dinners and tasting events</li>
</ul>
<h3>Locations</h3>
<p>Enjoy our collection at our signature bars, restaurants, or through our room service. Our sommelier is available for consultations and recommendations.</p>
</div>''',
'sections': json.dumps([
{
'type': 'hero',
'title': 'A World of Flavors',
'content': 'Curated by experts, enjoyed by connoisseurs.',
'image': 'https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?w=1200&h=600&fit=crop'
},
{
'type': 'quote',
'quote': 'An exceptional collection that rivals the finest establishments in the world.',
'author': 'Wine Enthusiast Magazine'
}
]),
'meta_title': 'Premium Wine & Spirits Collection - Fine Beverages',
'meta_description': 'Extensive collection of fine wines, premium spirits, and craft cocktails. Expert sommelier service and private tastings available.',
'meta_keywords': 'wine collection, premium spirits, sommelier, wine tasting, luxury bar, craft cocktails',
'is_active': True
},
{
'name': 'Private Event & Catering Services',
'description': 'Professional event planning and catering services for weddings, corporate events, celebrations, and private gatherings. Make your special occasion unforgettable.',
'price': 0.00,
'category': 'Entertainment',
'slug': 'private-event-catering-services',
'image': 'https://images.unsplash.com/photo-1519167758481-83f550bb49b3?w=1200&h=800&fit=crop',
'content': '''<div class="service-detail-content">
<h2>Unforgettable Events</h2>
<p>From intimate gatherings to grand celebrations, our professional event planning and catering team will ensure your special occasion is executed flawlessly. We handle every detail so you can enjoy your event.</p>
<h3>Event Types</h3>
<ul>
<li><strong>Weddings:</strong> Ceremonies, receptions, and rehearsal dinners</li>
<li><strong>Corporate Events:</strong> Conferences, meetings, and team building</li>
<li><strong>Celebrations:</strong> Birthdays, anniversaries, and milestones</li>
<li><strong>Private Dinners:</strong> Intimate gatherings and special occasions</li>
</ul>
<h3>Our Services</h3>
<ul>
<li>Complete event planning and coordination</li>
<li>Customized menu design and catering</li>
<li>Venue selection and setup</li>
<li>Floral arrangements and decorations</li>
<li>Entertainment coordination</li>
<li>Photography and videography services</li>
<li>Technical support and AV equipment</li>
</ul>
<h3>Planning Process</h3>
<p>Our event specialists will work with you from initial consultation through event execution. We offer flexible packages and can customize services to meet your specific needs and budget.</p>
</div>''',
'sections': json.dumps([
{
'type': 'hero',
'title': 'Making Memories That Last',
'content': 'Professional event planning and catering for your most important occasions.',
'image': 'https://images.unsplash.com/photo-1519167758481-83f550bb49b3?w=1200&h=600&fit=crop'
},
{
'type': 'cta',
'title': 'Planning an Event?',
'cta_text': 'Contact Our Event Team',
'cta_link': '/contact',
'content': 'Let us help you create an unforgettable experience.'
}
]),
'meta_title': 'Private Event & Catering Services - Professional Planning',
'meta_description': 'Professional event planning and catering for weddings, corporate events, and celebrations. Make your special occasion unforgettable.',
'meta_keywords': 'event planning, catering, wedding planning, corporate events, private events, hotel events',
'is_active': True
}
]
created_count = 0
updated_count = 0
for service_data in services_data:
# Check if service already exists by slug
existing = db.query(Service).filter(Service.slug == service_data['slug']).first()
if existing:
# Update existing service
for key, value in service_data.items():
if key != 'slug': # Don't update slug
setattr(existing, key, value)
updated_count += 1
print(f' ✓ Updated service: {service_data["name"]}')
else:
# Create new service
service = Service(**service_data)
db.add(service)
created_count += 1
print(f' ✓ Created service: {service_data["name"]}')
db.commit()
print(f'\n✓ Enterprise services seeded successfully!')
print(f' - Created: {created_count}')
print(f' - Updated: {updated_count}')
print(f' - Total: {len(services_data)}\n')
def main():
db: Session = SessionLocal()
try:
print('=' * 80)
print('SEEDING ENTERPRISE SERVICES')
print('=' * 80)
print()
seed_enterprise_services(db)
print('=' * 80)
print('✓ All enterprise services data seeded successfully!')
print('=' * 80)
except Exception as e:
db.rollback()
print(f'\n✗ Error seeding services: {e}')
import traceback
traceback.print_exc()
raise
finally:
db.close()
if __name__ == '__main__':
main()