Files
kulakpos_web/public/restaurant/Modules/Restaurant/database/seeders/FoodItemTableSeeder.php

184 lines
5.8 KiB
PHP
Raw Normal View History

2026-03-15 17:08:23 +07:00
<?php
namespace Modules\Restaurant\Database\Seeders;
use Illuminate\Database\Seeder;
use Modules\Restaurant\Models\FoodItem;
class FoodItemTableSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
FoodItem::create([
'restaurant_id' => 1,
'menu_category_id' => 1,
'menu_section_id' => 1,
'name' => 'Butter Chicken',
'description' => 'Rich and creamy tomato-based chicken curry',
'category_id' => 2, // e.g., Tandoori Specials
'food_type' => 'Non-Veg',
'is_party' => 1,
'is_dinner' => 1,
'is_lunch' => 1,
'is_chef_special' => 1,
'is_popular_item' => 1,
'image' => 'butter_chicken.jpg',
'cooking_time' => '00:25:00',
'notes' => 'Pairs well with naan or rice',
'vat' => 5,
'pst' => 2,
'status' => 1,
]);
FoodItem::create([
'restaurant_id' => 1,
'menu_category_id' => 1,
'menu_section_id' => 1,
'name' => 'Vegetable Biryani',
'description' => 'Fragrant basmati rice with mixed vegetables and spices',
'category_id' => 1, // Biryani & Rice
'food_type' => 'Veg',
'is_party' => 1,
'is_dinner' => 1,
'is_lunch' => 1,
'is_chef_special' => 1,
'is_popular_item' => 1,
'image' => 'veg_biryani.jpg',
'cooking_time' => '00:30:00',
'notes' => 'Best served with raita',
'vat' => 5,
'pst' => 0,
'status' => 1,
]);
FoodItem::create([
'restaurant_id' => 1,
'menu_category_id' => 1,
'menu_section_id' => 1,
'name' => 'Masala Dosa',
'description' => 'Crispy rice pancake filled with spiced potato masala',
'category_id' => 4, // South Indian
'food_type' => 'Veg',
'is_party' => 0,
'is_dinner' => 0,
'is_lunch' => 1,
'is_chef_special' => 0,
'is_popular_item' => 1,
'image' => 'masala_dosa.jpg',
'cooking_time' => '00:20:00',
'notes' => 'Serve with coconut chutney and sambar',
'vat' => 5,
'pst' => 0,
'status' => 1,
]);
FoodItem::create([
'restaurant_id' => 1,
'menu_category_id' => 1,
'menu_section_id' => 1,
'name' => 'Spring Rolls',
'description' => 'Crispy fried rolls stuffed with mixed vegetables',
'category_id' => 5, // Chinese Cuisine
'food_type' => 'Veg',
'is_party' => 1,
'is_dinner' => 0,
'is_lunch' => 0,
'is_chef_special' => 1,
'is_popular_item' => 0,
'image' => 'spring_rolls.jpg',
'cooking_time' => '00:15:00',
'notes' => 'Good as a starter',
'vat' => 5,
'pst' => 1,
'status' => 1,
]);
FoodItem::create([
'restaurant_id' => 1,
'menu_category_id' => 1,
'menu_section_id' => 1,
'name' => 'Chicken Manchurian',
'description' => 'Fried chicken balls tossed in spicy tangy sauce',
'category_id' => 5,
'food_type' => 'Non-Veg',
'is_party' => 1,
'is_dinner' => 1,
'is_lunch' => 1,
'is_chef_special' => 1,
'is_popular_item' => 0,
'image' => 'chicken_manchurian.jpg',
'cooking_time' => '00:25:00',
'notes' => 'Serve with fried rice or noodles',
'vat' => 5,
'pst' => 2,
'status' => 1,
]);
FoodItem::create([
'restaurant_id' => 1,
'menu_category_id' => 1,
'menu_section_id' => 1,
'name' => 'Paneer Tikka',
'description' => 'Grilled cottage cheese cubes marinated in Indian spices',
'category_id' => 2,
'food_type' => 'Veg',
'is_party' => 1,
'is_dinner' => 1,
'is_lunch' => 0,
'is_chef_special' => 0,
'is_popular_item' => 1,
'image' => 'paneer_tikka.jpg',
'cooking_time' => '00:20:00',
'notes' => 'Serve with mint chutney',
'vat' => 5,
'pst' => 1,
'status' => 1,
]);
FoodItem::create([
'restaurant_id' => 1,
'menu_category_id' => 1,
'menu_section_id' => 1,
'name' => 'Gulab Jamun',
'description' => 'Soft deep-fried dumplings soaked in sugar syrup',
'category_id' => 7, // Desserts
'food_type' => 'Veg',
'is_party' => 1,
'is_dinner' => 0,
'is_lunch' => 0,
'is_chef_special' => 0,
'is_popular_item' => 1,
'image' => 'gulab_jamun.jpg',
'cooking_time' => '00:10:00',
'notes' => 'Serve warm',
'vat' => 5,
'pst' => 0,
'status' => 1,
]);
FoodItem::create([
'restaurant_id' => 1,
'menu_category_id' => 1,
'menu_section_id' => 1,
'name' => 'Lassi',
'description' => 'Refreshing yogurt-based drink',
'category_id' => 8, // Beverages
'food_type' => 'Veg',
'is_party' => 0,
'is_dinner' => 0,
'is_lunch' => 1,
'is_chef_special' => 1,
'is_popular_item' => 0,
'image' => 'lassi.jpg',
'cooking_time' => '00:05:00',
'notes' => 'Serve chilled',
'vat' => 5,
'pst' => 0,
'status' => 1,
]);
}
}