/**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     $categories = ['Banner Chính', 'Khách Hàng', 'Banner Social'];
     foreach ($categories as $key => $category) {
         $navigationCategory = NavigationCategory::create(['key' => Common::createKeyURL($category), 'parent_id' => 0, 'priority' => 0, 'is_publish' => 1, 'created_by' => 'phantsang', 'updated_by' => 'phantsang']);
         NavigationCategoryTranslation::create(['navigation_category_id' => $navigationCategory->id, 'locale' => 'vi', 'name' => $category, 'summary' => $category]);
     }
 }
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     $navigation_category_names = ['Banner trang chủ', 'Khách hàng tiêu biểu', 'Banner email server', 'Banner Máy chủ', 'Banner Hosting', 'Banner Tên Miền', 'Banner CDN', 'Banner Website', 'Banner Landing Page'];
     $navigation_category_summarys = ['Mô tả banner trang chủ', 'Chúng tôi có kinh nghiệm làm việc với các đối tác lớn', 'Mô tả banner email server', 'Mô tả banner Máy chủ', 'Mô tả banner Hosting', 'Mô tả banner Tên Miền', 'Mô tả banner CDN', 'Mô tả banner Website', 'Banner Landing Page'];
     foreach ($navigation_category_names as $key => $value) {
         $navigationCategory = NavigationCategory::create(['key' => Common::createKeyURL($value), 'parent_id' => 0, 'priority' => 0, 'is_publish' => 1, 'created_by' => 'vankhoektcn', 'updated_by' => 'vankhoektcn']);
         NavigationCategoryTranslation::create(['navigation_category_id' => $navigationCategory->id, 'locale' => 'vi', 'name' => $value, 'summary' => $navigation_category_summarys[$key]]);
     }
 }
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     $value = 'Banner Chính';
     $navigationCategory = NavigationCategory::create(['key' => Common::createKeyURL($value), 'parent_id' => 0, 'priority' => 0, 'is_publish' => 1, 'created_by' => 'phantsang', 'updated_by' => 'phantsang']);
     NavigationCategoryTranslation::create(['navigation_category_id' => $navigationCategory->id, 'locale' => 'vi', 'name' => $value, 'summary' => $value]);
 }