-- MySQL dump 10.13  Distrib 8.0.36, for Win64 (x86_64)
--
-- Host: 80.90.179.235    Database: pozorisp3_Kapralov
-- ------------------------------------------------------
-- Server version	8.0.42

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `Managers_and_employees_import`
--

DROP TABLE IF EXISTS `Managers_and_employees_import`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Managers_and_employees_import` (
  `idManagers_and_employees_import` int NOT NULL,
  `fio` varchar(45) NOT NULL,
  `id_job_title` int NOT NULL,
  `id_search` int NOT NULL,
  `raiting` varchar(45) NOT NULL,
  `applications` varchar(255) NOT NULL,
  `date_berthsday` date NOT NULL,
  `experience` varchar(45) NOT NULL,
  `id_med_sertificate` int NOT NULL,
  `id_permission_to_work` int NOT NULL,
  `id_assignments` int NOT NULL,
  PRIMARY KEY (`idManagers_and_employees_import`),
  KEY `fk_doljnost_idx` (`id_job_title`),
  KEY `fk_search_idx` (`id_search`),
  KEY `fk_med_spravka_idx` (`id_med_sertificate`),
  KEY `fk_dopusk_k_rabote_idx` (`id_permission_to_work`),
  KEY `fk_zadania_idx` (`id_assignments`),
  CONSTRAINT `fk_doljnost` FOREIGN KEY (`id_job_title`) REFERENCES `job_title` (`idjob_title`),
  CONSTRAINT `fk_dopusk_k_rabote` FOREIGN KEY (`id_permission_to_work`) REFERENCES `Permission_to_work_with_equipment` (`idPermission to work with equipment`),
  CONSTRAINT `fk_med_spravka` FOREIGN KEY (`id_med_sertificate`) REFERENCES `medical_sertificate` (`idmedical_sertificate`),
  CONSTRAINT `fk_search` FOREIGN KEY (`id_search`) REFERENCES `search_for_partners` (`idsearch for partners`),
  CONSTRAINT `fk_zadania` FOREIGN KEY (`id_assignments`) REFERENCES `assignments` (`idassignments`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `Managers_and_employees_import`
--

LOCK TABLES `Managers_and_employees_import` WRITE;
/*!40000 ALTER TABLE `Managers_and_employees_import` DISABLE KEYS */;
INSERT INTO `Managers_and_employees_import` VALUES (1,'Иванов И.И.',1,1,'04.май','Заявка №1, Заявка №2, Заявка №4','1985-01-01','5 лет',1,1,1),(2,'Петрова А.А.',2,2,'04.июл','Заявка №3, Заявка №5','1990-03-15','3 года',1,2,2),(3,'Сидоров С.С.',1,1,'04.фев','Заявка №6, Заявка №7','1980-07-10','8 лет',1,1,3),(4,'Смирнова О.О.',2,1,'04.июн','Заявка №8, Заявка №9','1986-11-22','4 года',1,2,4),(5,'Козлов В.В.',3,2,'4.0','Нет','1992-09-05','2 года',1,1,5);
/*!40000 ALTER TABLE `Managers_and_employees_import` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `Package`
--

DROP TABLE IF EXISTS `Package`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Package` (
  `idPackage` int NOT NULL,
  `Package` varchar(45) NOT NULL,
  PRIMARY KEY (`idPackage`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `Package`
--

LOCK TABLES `Package` WRITE;
/*!40000 ALTER TABLE `Package` DISABLE KEYS */;
INSERT INTO `Package` VALUES (1,'Пачка'),(2,'Бочка');
/*!40000 ALTER TABLE `Package` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `Permission_to_work_with_equipment`
--

DROP TABLE IF EXISTS `Permission_to_work_with_equipment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Permission_to_work_with_equipment` (
  `idPermission to work with equipment` int NOT NULL,
  `Permission_to_work_with_equipment` varchar(45) NOT NULL,
  PRIMARY KEY (`idPermission to work with equipment`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `Permission_to_work_with_equipment`
--

LOCK TABLES `Permission_to_work_with_equipment` WRITE;
/*!40000 ALTER TABLE `Permission_to_work_with_equipment` DISABLE KEYS */;
INSERT INTO `Permission_to_work_with_equipment` VALUES (1,'Есть'),(2,'Нет');
/*!40000 ALTER TABLE `Permission_to_work_with_equipment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `Requests_and_access_and_parts_import`
--

DROP TABLE IF EXISTS `Requests_and_access_and_parts_import`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Requests_and_access_and_parts_import` (
  `idRequests_and_access_and_parts_import` int NOT NULL,
  `client` varchar(45) NOT NULL,
  `history_z` varchar(45) NOT NULL,
  `id_pred_formed` int NOT NULL,
  `stoimost` varchar(45) NOT NULL,
  `sroki` varchar(45) NOT NULL,
  `id_status` int NOT NULL,
  `vxod_time` varchar(45) NOT NULL,
  `vixod_time` varchar(45) NOT NULL,
  `id_colvo_hours` int NOT NULL,
  `id_mat_name` int NOT NULL,
  `id_mat_type` int NOT NULL,
  `id_supplier` int NOT NULL,
  `id_package` int NOT NULL,
  `id_edenica` int NOT NULL,
  `tcena` varchar(45) NOT NULL,
  `ostatok_sklad` varchar(45) NOT NULL,
  `min_zapas` varchar(45) NOT NULL,
  `history` varchar(255) NOT NULL,
  PRIMARY KEY (`idRequests_and_access_and_parts_import`),
  KEY `fk_formed_idx` (`id_pred_formed`),
  KEY `fk_status_idx` (`id_status`),
  KEY `fk_name_mat_idx` (`id_mat_name`),
  KEY `fk_hours_idx` (`id_colvo_hours`),
  KEY `fk_type_mat_idx` (`id_mat_type`),
  KEY `fk_postavshik_idx` (`id_supplier`),
  KEY `fk_pack_idx` (`id_package`),
  KEY `fk_edinica_idx` (`id_edenica`),
  CONSTRAINT `fk_edinica` FOREIGN KEY (`id_edenica`) REFERENCES `Unit_of_measurement` (`idUnit_of_measurement`),
  CONSTRAINT `fk_formed` FOREIGN KEY (`id_pred_formed`) REFERENCES `formed_pred` (`idformed_pred`),
  CONSTRAINT `fk_hours` FOREIGN KEY (`id_colvo_hours`) REFERENCES `work_hours` (`idwork_hours`),
  CONSTRAINT `fk_name_mat` FOREIGN KEY (`id_mat_name`) REFERENCES `name_materials` (`idname_materials`),
  CONSTRAINT `fk_pack` FOREIGN KEY (`id_package`) REFERENCES `Package` (`idPackage`),
  CONSTRAINT `fk_postavshik` FOREIGN KEY (`id_supplier`) REFERENCES `supplier` (`idsupplier`),
  CONSTRAINT `fk_status` FOREIGN KEY (`id_status`) REFERENCES `status` (`idstatus`),
  CONSTRAINT `fk_type_mat` FOREIGN KEY (`id_mat_type`) REFERENCES `type_materials` (`idtype_materials`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `Requests_and_access_and_parts_import`
--

LOCK TABLES `Requests_and_access_and_parts_import` WRITE;
/*!40000 ALTER TABLE `Requests_and_access_and_parts_import` DISABLE KEYS */;
INSERT INTO `Requests_and_access_and_parts_import` VALUES (1,'Иванов И.И.','Заказ №1, Заказ №2, Заказ №4',1,'5000 руб.','3 дня',1,'8:00','17:00',1,1,1,1,1,1,'500 руб','100','10','Изменено: 01.01.2025'),(2,'Петрова А.А.','Нет',1,'3000 руб.','5 дней',2,'9:00','18:00',1,2,2,2,2,2,'700 руб','150','20','Изменено: 02.01.2025'),(3,'Сидоров С.С.','Заказ №6, Заказ №7',1,'7000 руб.','7 дней',1,'8:30','17:30',1,3,1,2,1,1,'250 руб','80','15','Изменено: 03.01.2025'),(4,'Смирнова О.О.','Заказ №8, Заказ №9',1,'4500 руб.','2 дня',2,'8:00','17:00',1,4,1,1,1,1,'300 руб','120','10','Изменено: 04.01.2025');
/*!40000 ALTER TABLE `Requests_and_access_and_parts_import` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `Unit_of_measurement`
--

DROP TABLE IF EXISTS `Unit_of_measurement`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Unit_of_measurement` (
  `idUnit_of_measurement` int NOT NULL,
  `Unit_of_measurementc` varchar(45) NOT NULL,
  PRIMARY KEY (`idUnit_of_measurement`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `Unit_of_measurement`
--

LOCK TABLES `Unit_of_measurement` WRITE;
/*!40000 ALTER TABLE `Unit_of_measurement` DISABLE KEYS */;
INSERT INTO `Unit_of_measurement` VALUES (1,'Шт.'),(2,'Литр');
/*!40000 ALTER TABLE `Unit_of_measurement` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `assignments`
--

DROP TABLE IF EXISTS `assignments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `assignments` (
  `idassignments` int NOT NULL,
  `assignments` varchar(45) NOT NULL,
  PRIMARY KEY (`idassignments`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `assignments`
--

LOCK TABLES `assignments` WRITE;
/*!40000 ALTER TABLE `assignments` DISABLE KEYS */;
INSERT INTO `assignments` VALUES (1,'Ремонт автомобиля'),(2,'Ожидает распределения'),(3,'Диагностика автомобиля'),(4,'Ремонт двигателя'),(5,'Управление складом');
/*!40000 ALTER TABLE `assignments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formed_pred`
--

DROP TABLE IF EXISTS `formed_pred`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `formed_pred` (
  `idformed_pred` int NOT NULL,
  `proposal_has_been_formed` varchar(45) NOT NULL,
  PRIMARY KEY (`idformed_pred`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formed_pred`
--

LOCK TABLES `formed_pred` WRITE;
/*!40000 ALTER TABLE `formed_pred` DISABLE KEYS */;
INSERT INTO `formed_pred` VALUES (1,'Да'),(2,'нет');
/*!40000 ALTER TABLE `formed_pred` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `job_title`
--

DROP TABLE IF EXISTS `job_title`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `job_title` (
  `idjob_title` int NOT NULL,
  `job_title` varchar(45) NOT NULL,
  PRIMARY KEY (`idjob_title`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `job_title`
--

LOCK TABLES `job_title` WRITE;
/*!40000 ALTER TABLE `job_title` DISABLE KEYS */;
INSERT INTO `job_title` VALUES (1,'Менеджер по партнёрам'),(2,'Менеджер по продажам'),(3,'Администратор');
/*!40000 ALTER TABLE `job_title` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `medical_sertificate`
--

DROP TABLE IF EXISTS `medical_sertificate`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `medical_sertificate` (
  `idmedical_sertificate` int NOT NULL,
  `medical_sertificate` varchar(45) NOT NULL,
  PRIMARY KEY (`idmedical_sertificate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `medical_sertificate`
--

LOCK TABLES `medical_sertificate` WRITE;
/*!40000 ALTER TABLE `medical_sertificate` DISABLE KEYS */;
INSERT INTO `medical_sertificate` VALUES (1,'Есть'),(2,'Нету');
/*!40000 ALTER TABLE `medical_sertificate` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `name_materials`
--

DROP TABLE IF EXISTS `name_materials`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `name_materials` (
  `idname_materials` int NOT NULL,
  `name` varchar(45) NOT NULL,
  PRIMARY KEY (`idname_materials`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `name_materials`
--

LOCK TABLES `name_materials` WRITE;
/*!40000 ALTER TABLE `name_materials` DISABLE KEYS */;
INSERT INTO `name_materials` VALUES (1,'Тормозные колодки'),(2,'Масло моторное'),(3,'Фильтр воздушный'),(4,'Свечи зажигания');
/*!40000 ALTER TABLE `name_materials` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `partners_and_suppliers_import`
--

DROP TABLE IF EXISTS `partners_and_suppliers_import`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `partners_and_suppliers_import` (
  `idpartners_and_suppliers_import` int NOT NULL,
  `id_type_company` int NOT NULL,
  `name_company` varchar(45) NOT NULL,
  `INN` varchar(45) NOT NULL,
  `phone` varchar(45) NOT NULL,
  `Email` varchar(45) NOT NULL,
  `raiting` varchar(45) NOT NULL,
  `history_zakaz` varchar(45) NOT NULL,
  `history_postavka` varchar(45) NOT NULL,
  PRIMARY KEY (`idpartners_and_suppliers_import`),
  KEY `fk_types_idx` (`id_type_company`),
  CONSTRAINT `fk_types` FOREIGN KEY (`id_type_company`) REFERENCES `suppliers_type` (`idsuppliers_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `partners_and_suppliers_import`
--

LOCK TABLES `partners_and_suppliers_import` WRITE;
/*!40000 ALTER TABLE `partners_and_suppliers_import` DISABLE KEYS */;
INSERT INTO `partners_and_suppliers_import` VALUES (1,1,'ООО \"Запчасти 24\"','1234567890','+7 (495) 123-45-67','parts24@exmaple.com','4,00','Заказ №1, Заказ №2, Заказ №3, Заказ №4','Поставка №1, Поставка №2, Поставка №3'),(2,2,'ООО \"Логистикс\"','987654321','+7 (495) 234-56-78','logistics@exmaple.com','6,00','Заказ №1, Заказ №2, Заказ №3','Поставка №1, Поставка №4'),(3,1,'ООО \"АвтоЗапчасти\"','1122334455','+7 (495) 678-90-12','partsauto@exmaple.com','9,00','Заказ №1, Заказ №5','Поставка №2, Поставка №5'),(4,2,'ООО \"ТранспортГруз\"','5544332211','+7 (495) 987-65-43','translogistics@exmaple.com','2,00','Заказ №6, Заказ №7, Заказ №8','Поставка №3, Поставка №6');
/*!40000 ALTER TABLE `partners_and_suppliers_import` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `search_for_partners`
--

DROP TABLE IF EXISTS `search_for_partners`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `search_for_partners` (
  `idsearch for partners` int NOT NULL,
  `search_for_partners` varchar(45) NOT NULL,
  PRIMARY KEY (`idsearch for partners`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `search_for_partners`
--

LOCK TABLES `search_for_partners` WRITE;
/*!40000 ALTER TABLE `search_for_partners` DISABLE KEYS */;
INSERT INTO `search_for_partners` VALUES (1,'Да'),(2,'Нет');
/*!40000 ALTER TABLE `search_for_partners` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `status`
--

DROP TABLE IF EXISTS `status`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `status` (
  `idstatus` int NOT NULL,
  `statuss` varchar(45) NOT NULL,
  PRIMARY KEY (`idstatus`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `status`
--

LOCK TABLES `status` WRITE;
/*!40000 ALTER TABLE `status` DISABLE KEYS */;
INSERT INTO `status` VALUES (1,'Завершена'),(2,'Ожидает');
/*!40000 ALTER TABLE `status` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `supplier`
--

DROP TABLE IF EXISTS `supplier`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `supplier` (
  `idsupplier` int NOT NULL,
  `suppliers` varchar(45) NOT NULL,
  PRIMARY KEY (`idsupplier`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `supplier`
--

LOCK TABLES `supplier` WRITE;
/*!40000 ALTER TABLE `supplier` DISABLE KEYS */;
INSERT INTO `supplier` VALUES (1,'ООО \"Запчасти 24\"'),(2,'ООО \"АвтоЗапчасти\"');
/*!40000 ALTER TABLE `supplier` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `suppliers_type`
--

DROP TABLE IF EXISTS `suppliers_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `suppliers_type` (
  `idsuppliers_type` int NOT NULL,
  `type` varchar(45) NOT NULL,
  PRIMARY KEY (`idsuppliers_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `suppliers_type`
--

LOCK TABLES `suppliers_type` WRITE;
/*!40000 ALTER TABLE `suppliers_type` DISABLE KEYS */;
INSERT INTO `suppliers_type` VALUES (1,'Магазин запчастей'),(2,'Логистика');
/*!40000 ALTER TABLE `suppliers_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `type_materials`
--

DROP TABLE IF EXISTS `type_materials`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `type_materials` (
  `idtype_materials` int NOT NULL,
  `type` varchar(45) NOT NULL,
  PRIMARY KEY (`idtype_materials`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `type_materials`
--

LOCK TABLES `type_materials` WRITE;
/*!40000 ALTER TABLE `type_materials` DISABLE KEYS */;
INSERT INTO `type_materials` VALUES (1,'Запчасть'),(2,'Масло');
/*!40000 ALTER TABLE `type_materials` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `warehouse_and_services_and_parts_imports`
--

DROP TABLE IF EXISTS `warehouse_and_services_and_parts_imports`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `warehouse_and_services_and_parts_imports` (
  `idwarehouse_and_services_and_parts_imports` int NOT NULL,
  `Receipt` varchar(45) NOT NULL,
  `Write-off` varchar(45) NOT NULL,
  `Receipt and expense` varchar(45) NOT NULL,
  `Remaining` varchar(45) NOT NULL,
  `item` varchar(45) NOT NULL,
  `name` varchar(45) NOT NULL,
  `Description` varchar(45) NOT NULL,
  `Reservation` varchar(45) NOT NULL,
  `Photo` varchar(45) NOT NULL,
  `minimal_price` varchar(45) NOT NULL,
  `Minimum_price` varchar(45) NOT NULL,
  `Execution_time_Cost` varchar(45) NOT NULL,
  ` Box_number` varchar(45) NOT NULL,
  `Employees_involved` varchar(45) NOT NULL,
  `Required_materials` varchar(45) NOT NULL,
  PRIMARY KEY (`idwarehouse_and_services_and_parts_imports`)
) ENGINE=InnoDB DEFAULT CHARSET=sjis;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `warehouse_and_services_and_parts_imports`
--

LOCK TABLES `warehouse_and_services_and_parts_imports` WRITE;
/*!40000 ALTER TABLE `warehouse_and_services_and_parts_imports` DISABLE KEYS */;
INSERT INTO `warehouse_and_services_and_parts_imports` VALUES (1,'Поступление','Резервирование','Списание','Поступление и расход','Остатки','Артикул','Название','Описание','Фото','Минимальная цена','Время выполнения','Себестоимость','Номер бокса','Задействованные сотрудники','Нужные материалы'),(2,'100 Тормозных колодок','50 колодок','20 колодок','50 колодок','80','1','Тормозные колодки','Для ремонта тормозной системы','Фото1.jpg','500 руб','30 мин','300 руб','1','Иванов И.И.','Тормозные колодки'),(3,'200 Литров масла','100 литров','30 литров','70 литров','170','2','Масло моторное','Моторное масло для автомобилей','Фото2.jpg','700 руб','40 мин','400 руб','2','Сидоров С.С.','Масло моторное'),(4,'150 Фильтров','50 фильтров','30 фильтров','50 фильтров','120','3','Фильтр воздушный','Воздушный фильтр для авто','Фото3.jpg','250 руб','20 мин','150 руб','3','Смирнова О.О.','Фильтр воздушный'),(5,'120 Свечей','60 свечей','20 свечей','40 свечей','100','4','Свечи зажигания','Свечи для автомобилей','Фото4.jpg','300 руб','25 мин','180 руб','4','Петрова А.А.','Свечи зажигания');
/*!40000 ALTER TABLE `warehouse_and_services_and_parts_imports` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `work_hours`
--

DROP TABLE IF EXISTS `work_hours`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `work_hours` (
  `idwork_hours` int NOT NULL,
  `work_hours` varchar(45) NOT NULL,
  PRIMARY KEY (`idwork_hours`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `work_hours`
--

LOCK TABLES `work_hours` WRITE;
/*!40000 ALTER TABLE `work_hours` DISABLE KEYS */;
INSERT INTO `work_hours` VALUES (1,'8'),(2,'10');
/*!40000 ALTER TABLE `work_hours` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2025-05-12 19:40:24
