-- --------------------------------------------------------
-- Server OS:                    Win64
-- HeidiSQL Version:             11.3.0.6295
-- --------------------------------------------------------



-- Dumping database structure for reservation
CREATE DATABASE IF NOT EXISTS `reservation` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `reservation`;

-- Dumping structure for table reservation.accessoire_services
CREATE TABLE IF NOT EXISTS `accessoire_services` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `article_id` int(10) unsigned DEFAULT NULL,
  `reservation_id` int(10) unsigned DEFAULT NULL,
  `qte` int(10) unsigned DEFAULT NULL,
  `prix` decimal(10,2) DEFAULT NULL,
  `remise` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.accessoire_services: ~4 rows (approximately)
INSERT INTO `accessoire_services` (`id`, `article_id`, `reservation_id`, `qte`, `prix`, `remise`, `total`, `deleted_at`, `created_at`, `updated_at`) VALUES
	(1, 1, 3, 2, 100.00, 40.00, 120.00, NULL, '2021-10-12 11:47:47', '2021-10-12 11:47:47'),
	(2, 1, 2, 2, 100.00, 50.00, 100.00, NULL, '2021-10-12 13:44:09', '2021-10-12 13:44:09'),
	(3, 3, 2, 1000, 30.00, 0.00, 30000.00, NULL, '2021-10-12 13:44:19', '2021-10-14 19:08:11'),
	(4, 2, 4, 10, 100.00, 0.00, 1000.00, NULL, '2021-10-12 20:17:03', '2021-10-12 20:17:03');

-- Dumping structure for table reservation.articles
CREATE TABLE IF NOT EXISTS `articles` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `reference` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `libelle` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `marque_id` int(10) unsigned DEFAULT NULL,
  `type` smallint(6) DEFAULT NULL,
  `prix_achat` decimal(10,2) DEFAULT NULL,
  `prix_de_vente` decimal(10,2) DEFAULT NULL,
  `code_barre` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.articles: ~5 rows (approximately)
INSERT INTO `articles` (`id`, `reference`, `libelle`, `marque_id`, `type`, `prix_achat`, `prix_de_vente`, `code_barre`, `deleted_at`, `created_at`, `updated_at`) VALUES
	(1, 'AR-00001', 'Toilettage', NULL, 20, NULL, 200.00, NULL, NULL, '2021-10-11 20:49:33', '2022-02-07 22:36:40'),
	(2, 'AR-00002', 'Soin vétérinaire', NULL, 20, NULL, 200.00, NULL, NULL, '2021-10-12 11:00:57', '2022-02-07 22:55:16'),
	(3, 'AR-00003', 'Suivi médicaments quotidien', NULL, 20, NULL, 30.00, NULL, NULL, '2021-10-12 11:01:31', '2022-02-07 22:55:38'),
	(4, 'AR-00004', 'Transport ville aller simple', NULL, 20, NULL, 200.00, NULL, NULL, '2021-10-12 11:02:09', '2022-02-07 22:35:38'),
	(5, 'AR-00005', 'Alimentation', NULL, 10, NULL, 0.00, NULL, NULL, '2021-10-12 11:03:12', '2021-10-12 11:03:42'),
	(6, 'AR-00006', 'Accessoires', NULL, 10, NULL, 0.00, NULL, NULL, '2021-10-12 11:03:35', '2021-10-12 11:03:35');

-- Dumping structure for table reservation.audits
CREATE TABLE IF NOT EXISTS `audits` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `event` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `auditable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `auditable_id` bigint(20) unsigned NOT NULL,
  `old_values` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `new_values` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `url` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ip_address` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tags` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `audits_auditable_type_auditable_id_index` (`auditable_type`,`auditable_id`),
  KEY `audits_user_id_user_type_index` (`user_id`,`user_type`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.audits: ~21 rows (approximately)


-- Dumping structure for table reservation.boxes
CREATE TABLE IF NOT EXISTS `boxes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `libelle` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` smallint(6) NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.boxes: ~31 rows (approximately)
INSERT INTO `boxes` (`id`, `libelle`, `type`, `deleted_at`, `created_at`, `updated_at`) VALUES
	(1, 'Box-S-1', 20, NULL, '2021-10-08 19:16:43', '2021-10-12 10:54:58'),
	(2, 'Box-S-2', 20, NULL, '2021-10-08 19:16:52', '2021-10-12 10:55:05'),
	(3, 'Box-S-3', 20, NULL, '2021-10-12 10:55:18', '2021-10-12 10:55:18'),
	(4, 'Box-S-4', 20, NULL, '2021-10-12 10:55:26', '2021-10-12 10:55:26'),
	(5, 'Box-S-5', 20, NULL, '2021-10-12 10:55:34', '2021-10-12 10:55:34'),
	(6, 'Box-S-6', 20, NULL, '2021-10-12 10:55:40', '2021-10-12 10:55:40'),
	(7, 'Box-S-7', 20, NULL, '2021-10-12 10:55:53', '2021-10-12 10:55:53'),
	(8, 'Box-S-8', 20, NULL, '2021-10-12 10:56:01', '2021-10-12 10:56:01'),
	(9, 'Box-S-9', 20, NULL, '2021-10-12 10:56:10', '2021-10-12 10:56:10'),
	(10, 'Box-S-10', 20, NULL, '2021-10-12 10:56:16', '2021-10-12 10:56:16'),
	(11, 'Box-S-11', 20, NULL, '2021-10-12 10:56:24', '2021-10-12 10:56:24'),
	(12, 'Box-S-12', 20, NULL, '2021-10-12 10:56:30', '2021-10-12 10:56:30'),
	(13, 'Box-M-13', 20, NULL, '2021-10-12 10:57:01', '2021-10-12 10:57:01'),
	(14, 'Box-M-14', 20, NULL, '2021-10-12 10:57:08', '2021-10-12 10:57:08'),
	(15, 'Box-M-15', 20, NULL, '2021-10-12 10:57:12', '2021-10-12 10:57:12'),
	(16, 'Box-M-16', 20, NULL, '2021-10-12 10:57:17', '2021-10-12 10:57:17'),
	(17, 'Box-M-17', 20, NULL, '2021-10-12 10:57:23', '2021-10-12 10:57:23'),
	(18, 'Box-M-18', 20, NULL, '2021-10-12 10:57:28', '2021-10-12 10:57:28'),
	(19, 'Box-L-19', 20, NULL, '2021-10-12 10:57:37', '2021-10-12 10:57:37'),
	(20, 'Box-L-20', 20, NULL, '2021-10-12 10:57:43', '2021-10-12 10:57:43'),
	(21, 'Box-XL-1', 10, NULL, '2021-10-12 10:57:56', '2021-10-12 10:57:56'),
	(22, 'Box-XL-2', 10, NULL, '2021-10-12 10:58:01', '2021-10-12 10:58:01'),
	(23, 'Box-XL-3', 10, NULL, '2021-10-12 10:58:08', '2021-10-12 10:58:08'),
	(24, 'Box-XL-4', 10, NULL, '2021-10-12 10:58:14', '2021-10-12 10:58:14'),
	(25, 'Box-XL-5', 10, NULL, '2021-10-12 10:58:19', '2021-10-12 10:58:19'),
	(26, 'Box-XL-6', 10, NULL, '2021-10-12 10:58:24', '2021-10-12 10:58:24'),
	(27, 'Box-XL-7', 10, NULL, '2021-10-12 10:58:31', '2021-10-12 10:58:31'),
	(28, 'Box-XL-8', 10, NULL, '2021-10-12 10:58:37', '2021-10-12 10:58:37'),
	(29, 'Box-XL-9', 10, NULL, '2021-10-12 10:58:46', '2021-10-12 10:58:46'),
	(30, 'Box-XL-10', 10, NULL, '2021-10-12 10:58:53', '2021-10-12 10:58:53'),
	(31, 'Box-XL-11', 10, NULL, '2021-10-12 10:58:59', '2021-10-12 10:58:59'),
	(32, 'Box-XL-12', 10, NULL, '2021-10-12 10:59:05', '2021-10-12 10:59:05');

-- Dumping structure for table reservation.clients
CREATE TABLE IF NOT EXISTS `clients` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `designation` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tel` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `adresse` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tel_2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.clients: ~3 rows (approximately)
INSERT INTO `clients` (`id`, `designation`, `tel`, `adresse`, `deleted_at`, `created_at`, `updated_at`, `email`, `tel_2`, `reference`) VALUES
	(1, 'Hassan mansouri', '0606060606', 'Test tes ttes ttest', NULL, '2021-10-08 19:16:14', '2021-10-12 19:25:31', 'h.m@gmail.co', '0644444444', NULL),
	(2, 'Mouhtajib Leila', '0665454548', '5 rue mourabitine', NULL, '2021-10-12 11:28:37', '2021-10-12 20:11:04', 'workbelouali@gmail.com', '0644444444', NULL),
	(3, 'Divers', '066666666', NULL, NULL, '2022-02-07 22:41:58', '2022-02-07 22:41:58', 'test@gmail.com', NULL, 'CL-00003');

-- Dumping structure for table reservation.countries
CREATE TABLE IF NOT EXISTS `countries` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `code` varchar(60) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(110) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=243 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.countries: ~242 rows (approximately)
INSERT INTO `countries` (`id`, `code`, `name`, `created_at`, `updated_at`) VALUES
	(1, 'US', 'United States', NULL, NULL),
	(2, 'CA', 'Canada', NULL, NULL),
	(3, 'AF', 'Afghanistan', NULL, NULL),
	(4, 'AL', 'Albania', NULL, NULL),
	(5, 'DZ', 'Algeria', NULL, NULL),
	(6, 'AS', 'American Samoa', NULL, NULL),
	(7, 'AD', 'Andorra', NULL, NULL),
	(8, 'AO', 'Angola', NULL, NULL),
	(9, 'AI', 'Anguilla', NULL, NULL),
	(10, 'AQ', 'Antarctica', NULL, NULL),
	(11, 'AG', 'Antigua and/or Barbuda', NULL, NULL),
	(12, 'AR', 'Argentina', NULL, NULL),
	(13, 'AM', 'Armenia', NULL, NULL),
	(14, 'AW', 'Aruba', NULL, NULL),
	(15, 'AU', 'Australia', NULL, NULL),
	(16, 'AT', 'Austria', NULL, NULL),
	(17, 'AZ', 'Azerbaijan', NULL, NULL),
	(18, 'BS', 'Bahamas', NULL, NULL),
	(19, 'BH', 'Bahrain', NULL, NULL),
	(20, 'BD', 'Bangladesh', NULL, NULL),
	(21, 'BB', 'Barbados', NULL, NULL),
	(22, 'BY', 'Belarus', NULL, NULL),
	(23, 'BE', 'Belgium', NULL, NULL),
	(24, 'BZ', 'Belize', NULL, NULL),
	(25, 'BJ', 'Benin', NULL, NULL),
	(26, 'BM', 'Bermuda', NULL, NULL),
	(27, 'BT', 'Bhutan', NULL, NULL),
	(28, 'BO', 'Bolivia', NULL, NULL),
	(29, 'BA', 'Bosnia and Herzegovina', NULL, NULL),
	(30, 'BW', 'Botswana', NULL, NULL),
	(31, 'BV', 'Bouvet Island', NULL, NULL),
	(32, 'BR', 'Brazil', NULL, NULL),
	(33, 'IO', 'British lndian Ocean Territory', NULL, NULL),
	(34, 'BN', 'Brunei Darussalam', NULL, NULL),
	(35, 'BG', 'Bulgaria', NULL, NULL),
	(36, 'BF', 'Burkina Faso', NULL, NULL),
	(37, 'BI', 'Burundi', NULL, NULL),
	(38, 'KH', 'Cambodia', NULL, NULL),
	(39, 'CM', 'Cameroon', NULL, NULL),
	(40, 'CV', 'Cape Verde', NULL, NULL),
	(41, 'KY', 'Cayman Islands', NULL, NULL),
	(42, 'CF', 'Central African Republic', NULL, NULL),
	(43, 'TD', 'Chad', NULL, NULL),
	(44, 'CL', 'Chile', NULL, NULL),
	(45, 'CN', 'China', NULL, NULL),
	(46, 'CX', 'Christmas Island', NULL, NULL),
	(47, 'CC', 'Cocos (Keeling) Islands', NULL, NULL),
	(48, 'CO', 'Colombia', NULL, NULL),
	(49, 'KM', 'Comoros', NULL, NULL),
	(50, 'CG', 'Congo', NULL, NULL),
	(51, 'CK', 'Cook Islands', NULL, NULL),
	(52, 'CR', 'Costa Rica', NULL, NULL),
	(53, 'HR', 'Croatia (Hrvatska)', NULL, NULL),
	(54, 'CU', 'Cuba', NULL, NULL),
	(55, 'CY', 'Cyprus', NULL, NULL),
	(56, 'CZ', 'Czech Republic', NULL, NULL),
	(57, 'CD', 'Democratic Republic of Congo', NULL, NULL),
	(58, 'DK', 'Denmark', NULL, NULL),
	(59, 'DJ', 'Djibouti', NULL, NULL),
	(60, 'DM', 'Dominica', NULL, NULL),
	(61, 'DO', 'Dominican Republic', NULL, NULL),
	(62, 'TP', 'East Timor', NULL, NULL),
	(63, 'EC', 'Ecudaor', NULL, NULL),
	(64, 'EG', 'Egypt', NULL, NULL),
	(65, 'SV', 'El Salvador', NULL, NULL),
	(66, 'GQ', 'Equatorial Guinea', NULL, NULL),
	(67, 'ER', 'Eritrea', NULL, NULL),
	(68, 'EE', 'Estonia', NULL, NULL),
	(69, 'ET', 'Ethiopia', NULL, NULL),
	(70, 'FK', 'Falkland Islands (Malvinas)', NULL, NULL),
	(71, 'FO', 'Faroe Islands', NULL, NULL),
	(72, 'FJ', 'Fiji', NULL, NULL),
	(73, 'FI', 'Finland', NULL, NULL),
	(74, 'FR', 'France', NULL, NULL),
	(75, 'FX', 'France, Metropolitan', NULL, NULL),
	(76, 'GF', 'French Guiana', NULL, NULL),
	(77, 'PF', 'French Polynesia', NULL, NULL),
	(78, 'TF', 'French Southern Territories', NULL, NULL),
	(79, 'GA', 'Gabon', NULL, NULL),
	(80, 'GM', 'Gambia', NULL, NULL),
	(81, 'GE', 'Georgia', NULL, NULL),
	(82, 'DE', 'Germany', NULL, NULL),
	(83, 'GH', 'Ghana', NULL, NULL),
	(84, 'GI', 'Gibraltar', NULL, NULL),
	(85, 'GR', 'Greece', NULL, NULL),
	(86, 'GL', 'Greenland', NULL, NULL),
	(87, 'GD', 'Grenada', NULL, NULL),
	(88, 'GP', 'Guadeloupe', NULL, NULL),
	(89, 'GU', 'Guam', NULL, NULL),
	(90, 'GT', 'Guatemala', NULL, NULL),
	(91, 'GN', 'Guinea', NULL, NULL),
	(92, 'GW', 'Guinea-Bissau', NULL, NULL),
	(93, 'GY', 'Guyana', NULL, NULL),
	(94, 'HT', 'Haiti', NULL, NULL),
	(95, 'HM', 'Heard and Mc Donald Islands', NULL, NULL),
	(96, 'HN', 'Honduras', NULL, NULL),
	(97, 'HK', 'Hong Kong', NULL, NULL),
	(98, 'HU', 'Hungary', NULL, NULL),
	(99, 'IS', 'Iceland', NULL, NULL),
	(100, 'IN', 'India', NULL, NULL),
	(101, 'ID', 'Indonesia', NULL, NULL),
	(102, 'IR', 'Iran (Islamic Republic of)', NULL, NULL),
	(103, 'IQ', 'Iraq', NULL, NULL),
	(104, 'IE', 'Ireland', NULL, NULL),
	(105, 'IL', 'Israel', NULL, NULL),
	(106, 'IT', 'Italy', NULL, NULL),
	(107, 'CI', 'Ivory Coast', NULL, NULL),
	(108, 'JM', 'Jamaica', NULL, NULL),
	(109, 'JP', 'Japan', NULL, NULL),
	(110, 'JO', 'Jordan', NULL, NULL),
	(111, 'KZ', 'Kazakhstan', NULL, NULL),
	(112, 'KE', 'Kenya', NULL, NULL),
	(113, 'KI', 'Kiribati', NULL, NULL),
	(114, 'KP', 'Korea, Democratic People\'s Republic of', NULL, NULL),
	(115, 'KR', 'Korea, Republic of', NULL, NULL),
	(116, 'KW', 'Kuwait', NULL, NULL),
	(117, 'KG', 'Kyrgyzstan', NULL, NULL),
	(118, 'LA', 'Lao People\'s Democratic Republic', NULL, NULL),
	(119, 'LV', 'Latvia', NULL, NULL),
	(120, 'LB', 'Lebanon', NULL, NULL),
	(121, 'LS', 'Lesotho', NULL, NULL),
	(122, 'LR', 'Liberia', NULL, NULL),
	(123, 'LY', 'Libyan Arab Jamahiriya', NULL, NULL),
	(124, 'LI', 'Liechtenstein', NULL, NULL),
	(125, 'LT', 'Lithuania', NULL, NULL),
	(126, 'LU', 'Luxembourg', NULL, NULL),
	(127, 'MO', 'Macau', NULL, NULL),
	(128, 'MK', 'Macedonia', NULL, NULL),
	(129, 'MG', 'Madagascar', NULL, NULL),
	(130, 'MW', 'Malawi', NULL, NULL),
	(131, 'MY', 'Malaysia', NULL, NULL),
	(132, 'MV', 'Maldives', NULL, NULL),
	(133, 'ML', 'Mali', NULL, NULL),
	(134, 'MT', 'Malta', NULL, NULL),
	(135, 'MH', 'Marshall Islands', NULL, NULL),
	(136, 'MQ', 'Martinique', NULL, NULL),
	(137, 'MR', 'Mauritania', NULL, NULL),
	(138, 'MU', 'Mauritius', NULL, NULL),
	(139, 'TY', 'Mayotte', NULL, NULL),
	(140, 'MX', 'Mexico', NULL, NULL),
	(141, 'FM', 'Micronesia, Federated States of', NULL, NULL),
	(142, 'MD', 'Moldova, Republic of', NULL, NULL),
	(143, 'MC', 'Monaco', NULL, NULL),
	(144, 'MN', 'Mongolia', NULL, NULL),
	(145, 'MS', 'Montserrat', NULL, NULL),
	(146, 'MA', 'Morocco', NULL, NULL),
	(147, 'MZ', 'Mozambique', NULL, NULL),
	(148, 'MM', 'Myanmar', NULL, NULL),
	(149, 'NA', 'Namibia', NULL, NULL),
	(150, 'NR', 'Nauru', NULL, NULL),
	(151, 'NP', 'Nepal', NULL, NULL),
	(152, 'NL', 'Netherlands', NULL, NULL),
	(153, 'AN', 'Netherlands Antilles', NULL, NULL),
	(154, 'NC', 'New Caledonia', NULL, NULL),
	(155, 'NZ', 'New Zealand', NULL, NULL),
	(156, 'NI', 'Nicaragua', NULL, NULL),
	(157, 'NE', 'Niger', NULL, NULL),
	(158, 'NG', 'Nigeria', NULL, NULL),
	(159, 'NU', 'Niue', NULL, NULL),
	(160, 'NF', 'Norfork Island', NULL, NULL),
	(161, 'MP', 'Northern Mariana Islands', NULL, NULL),
	(162, 'NO', 'Norway', NULL, NULL),
	(163, 'OM', 'Oman', NULL, NULL),
	(164, 'PK', 'Pakistan', NULL, NULL),
	(165, 'PW', 'Palau', NULL, NULL),
	(166, 'PA', 'Panama', NULL, NULL),
	(167, 'PG', 'Papua New Guinea', NULL, NULL),
	(168, 'PY', 'Paraguay', NULL, NULL),
	(169, 'PE', 'Peru', NULL, NULL),
	(170, 'PH', 'Philippines', NULL, NULL),
	(171, 'PN', 'Pitcairn', NULL, NULL),
	(172, 'PL', 'Poland', NULL, NULL),
	(173, 'PT', 'Portugal', NULL, NULL),
	(174, 'PR', 'Puerto Rico', NULL, NULL),
	(175, 'QA', 'Qatar', NULL, NULL),
	(176, 'SS', 'Republic of South Sudan', NULL, NULL),
	(177, 'RE', 'Reunion', NULL, NULL),
	(178, 'RO', 'Romania', NULL, NULL),
	(179, 'RU', 'Russian Federation', NULL, NULL),
	(180, 'RW', 'Rwanda', NULL, NULL),
	(181, 'KN', 'Saint Kitts and Nevis', NULL, NULL),
	(182, 'LC', 'Saint Lucia', NULL, NULL),
	(183, 'VC', 'Saint Vincent and the Grenadines', NULL, NULL),
	(184, 'WS', 'Samoa', NULL, NULL),
	(185, 'SM', 'San Marino', NULL, NULL),
	(186, 'ST', 'Sao Tome and Principe', NULL, NULL),
	(187, 'SA', 'Saudi Arabia', NULL, NULL),
	(188, 'SN', 'Senegal', NULL, NULL),
	(189, 'RS', 'Serbia', NULL, NULL),
	(190, 'SC', 'Seychelles', NULL, NULL),
	(191, 'SL', 'Sierra Leone', NULL, NULL),
	(192, 'SG', 'Singapore', NULL, NULL),
	(193, 'SK', 'Slovakia', NULL, NULL),
	(194, 'SI', 'Slovenia', NULL, NULL),
	(195, 'SB', 'Solomon Islands', NULL, NULL),
	(196, 'SO', 'Somalia', NULL, NULL),
	(197, 'ZA', 'South Africa', NULL, NULL),
	(198, 'GS', 'South Georgia South Sandwich Islands', NULL, NULL),
	(199, 'ES', 'Spain', NULL, NULL),
	(200, 'LK', 'Sri Lanka', NULL, NULL),
	(201, 'SH', 'St. Helena', NULL, NULL),
	(202, 'PM', 'St. Pierre and Miquelon', NULL, NULL),
	(203, 'SD', 'Sudan', NULL, NULL),
	(204, 'SR', 'Suriname', NULL, NULL),
	(205, 'SJ', 'Svalbarn and Jan Mayen Islands', NULL, NULL),
	(206, 'SZ', 'Swaziland', NULL, NULL),
	(207, 'SE', 'Sweden', NULL, NULL),
	(208, 'CH', 'Switzerland', NULL, NULL),
	(209, 'SY', 'Syrian Arab Republic', NULL, NULL),
	(210, 'TW', 'Taiwan', NULL, NULL),
	(211, 'TJ', 'Tajikistan', NULL, NULL),
	(212, 'TZ', 'Tanzania, United Republic of', NULL, NULL),
	(213, 'TH', 'Thailand', NULL, NULL),
	(214, 'TG', 'Togo', NULL, NULL),
	(215, 'TK', 'Tokelau', NULL, NULL),
	(216, 'TO', 'Tonga', NULL, NULL),
	(217, 'TT', 'Trinidad and Tobago', NULL, NULL),
	(218, 'TN', 'Tunisia', NULL, NULL),
	(219, 'TR', 'Turkey', NULL, NULL),
	(220, 'TM', 'Turkmenistan', NULL, NULL),
	(221, 'TC', 'Turks and Caicos Islands', NULL, NULL),
	(222, 'TV', 'Tuvalu', NULL, NULL),
	(223, 'UG', 'Uganda', NULL, NULL),
	(224, 'UA', 'Ukraine', NULL, NULL),
	(225, 'AE', 'United Arab Emirates', NULL, NULL),
	(226, 'GB', 'United Kingdom', NULL, NULL),
	(227, 'UM', 'United States minor outlying islands', NULL, NULL),
	(228, 'UY', 'Uruguay', NULL, NULL),
	(229, 'UZ', 'Uzbekistan', NULL, NULL),
	(230, 'VU', 'Vanuatu', NULL, NULL),
	(231, 'VA', 'Vatican City State', NULL, NULL),
	(232, 'VE', 'Venezuela', NULL, NULL),
	(233, 'VN', 'Vietnam', NULL, NULL),
	(234, 'VG', 'Virgin Islands (British)', NULL, NULL),
	(235, 'VI', 'Virgin Islands (U.S.)', NULL, NULL),
	(236, 'WF', 'Wallis and Futuna Islands', NULL, NULL),
	(237, 'EH', 'Western Sahara', NULL, NULL),
	(238, 'YE', 'Yemen', NULL, NULL),
	(239, 'YU', 'Yugoslavia', NULL, NULL),
	(240, 'ZR', 'Zaire', NULL, NULL),
	(241, 'ZM', 'Zambia', NULL, NULL),
	(242, 'ZW', 'Zimbabwe', NULL, NULL);

-- Dumping structure for table reservation.daily_lives
CREATE TABLE IF NOT EXISTS `daily_lives` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `date` date DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `extension` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `size` decimal(8,2) DEFAULT NULL,
  `filename` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reservation_id` int(10) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.daily_lives: ~4 rows (approximately)
INSERT INTO `daily_lives` (`id`, `date`, `path`, `extension`, `size`, `filename`, `reservation_id`, `deleted_at`, `created_at`, `updated_at`, `email`) VALUES
	(1, '2021-10-12', 'images/6IReyKWBs2mLXPxBkFNIjhckebUWVWQIrjco0Bxh.jpg', 'jpg', 46234.00, '830x532_hotel-felins-georges-cat-vertou-pres-nantes.jpg', 3, NULL, '2021-10-12 11:49:49', '2021-10-12 11:49:49', 'workbelouali@gmail.com'),
	(2, '2021-10-12', 'images/yQCXaLUfGXRoo13ZBuJ09OskHk1ON0tzWicqZp0k.jpg', 'jpg', 30005.00, 'hotel pour chat aristide paris 1.jpg', 3, NULL, '2021-10-12 11:49:49', '2021-10-12 11:49:49', 'workbelouali@gmail.com'),
	(3, '2021-10-12', 'images/jk4MdxWhEbDgsx5PWpIJ3D82zXjKYNfpQVVLTCuH.jpg', 'jpg', 74445.00, 'jardin_des_chats_1.jpg', 3, NULL, '2021-10-12 11:49:49', '2021-10-12 11:49:49', 'workbelouali@gmail.com'),
	(4, '2021-10-12', 'images/eTmXQJVme4321RnUPMNWQon956eANpoXRCk6PkU8.jpg', 'jpg', 86332.00, 'maxresdefault.jpg', 3, NULL, '2021-10-12 11:49:49', '2021-10-12 11:49:49', 'workbelouali@gmail.com');

-- Dumping structure for table reservation.detail_reservations
CREATE TABLE IF NOT EXISTS `detail_reservations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `reservation_id` int(10) unsigned DEFAULT NULL,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `date_debut` date DEFAULT NULL,
  `date_fin` date DEFAULT NULL,
  `nb_jour` int(10) unsigned DEFAULT NULL,
  `code_tarif` int(10) unsigned DEFAULT NULL,
  `mt_jour` decimal(10,2) DEFAULT NULL,
  `remise` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.detail_reservations: ~7 rows (approximately)
INSERT INTO `detail_reservations` (`id`, `reservation_id`, `pet_id`, `date_debut`, `date_fin`, `nb_jour`, `code_tarif`, `mt_jour`, `remise`, `total`, `deleted_at`, `created_at`, `updated_at`) VALUES
	(1, 1, 1, '2021-10-08', '2021-10-15', 7, 1, 120.00, 0.00, 840.00, NULL, '2021-10-11 13:02:55', '2021-10-11 19:00:17'),
	(2, 2, 2, '2021-10-04', '2021-10-09', 5, 5, 200.00, 0.00, 1000.00, NULL, '2021-10-12 11:36:45', '2021-10-12 11:38:02'),
	(3, 2, 3, '2021-10-05', '2021-10-09', 4, 6, 125.00, 0.00, 500.00, NULL, '2021-10-12 11:37:26', '2021-10-12 11:37:26'),
	(4, 2, 2, '2021-10-09', '2021-10-15', 6, 5, 200.00, 0.00, 1200.00, NULL, '2021-10-12 11:38:26', '2021-10-12 14:55:35'),
	(5, 3, 2, '2021-10-17', '2021-10-28', 11, 1, 150.00, 0.00, 1650.00, NULL, '2021-10-12 11:46:47', '2021-10-12 11:46:47'),
	(6, 4, 1, '2021-10-19', '2021-10-23', 4, 1, 150.00, 0.00, 600.00, NULL, '2021-10-12 20:16:28', '2021-10-12 20:16:28'),
	(7, 5, 4, '2022-02-21', '2022-02-27', 6, 1, 150.00, 0.00, 900.00, NULL, '2022-02-07 22:46:45', '2022-02-07 22:46:45');

-- Dumping structure for table reservation.emails
CREATE TABLE IF NOT EXISTS `emails` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `reservation_id` int(10) unsigned DEFAULT NULL,
  `subject` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cc` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `etat` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` smallint(6) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.emails: ~0 rows (approximately)
INSERT INTO `emails` (`id`, `reservation_id`, `subject`, `email`, `cc`, `content`, `etat`, `type`, `deleted_at`, `created_at`, `updated_at`) VALUES
	(1, 3, 'hello kitty', 'workbelouali@mail.com', 'workbelouali@mail.com', '<p>hello<img src="data:image/jpeg;base64,[encoded data, 61648 characters]" style="width: 611.328px;" data-filename="830x532_hotel-felins-georges-cat-vertou-pres-nantes.jpg"></p>', 'sent', NULL, NULL, '2021-10-12 11:50:52', '2021-10-12 11:50:54');

-- Dumping structure for table reservation.ltm_translations
CREATE TABLE IF NOT EXISTS `ltm_translations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `status` int(11) NOT NULL DEFAULT 0,
  `locale` varchar(191) COLLATE utf8mb4_bin NOT NULL,
  `group` varchar(191) COLLATE utf8mb4_bin NOT NULL,
  `key` text COLLATE utf8mb4_bin NOT NULL,
  `value` text COLLATE utf8mb4_bin DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- Dumping data for table reservation.ltm_translations: ~0 rows (approximately)

-- Dumping structure for table reservation.marques
CREATE TABLE IF NOT EXISTS `marques` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `libelle` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.marques: ~4 rows (approximately)
INSERT INTO `marques` (`id`, `libelle`, `deleted_at`, `created_at`, `updated_at`) VALUES
	(1, 'Royal Canin', NULL, '2021-10-12 10:59:17', '2021-10-12 10:59:17'),
	(2, 'Lindocat', NULL, '2021-10-12 10:59:24', '2021-10-12 10:59:24'),
	(3, 'Purina', NULL, '2021-10-12 10:59:31', '2021-10-12 10:59:31'),
	(4, 'Sanicat', NULL, '2021-10-12 10:59:39', '2021-10-12 10:59:39'),
	(5, 'Divers', NULL, '2021-10-12 10:59:49', '2021-10-12 10:59:49');

-- Dumping structure for table reservation.migrations
CREATE TABLE IF NOT EXISTS `migrations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.migrations: ~43 rows (approximately)
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
	(1, '2014_04_02_193005_create_translations_table', 1),
	(2, '2014_10_12_000000_create_users_table', 1),
	(3, '2014_10_12_100000_create_password_resets_table', 1),
	(4, '2016_06_01_000001_create_oauth_auth_codes_table', 1),
	(5, '2016_06_01_000002_create_oauth_access_tokens_table', 1),
	(6, '2016_06_01_000003_create_oauth_refresh_tokens_table', 1),
	(7, '2016_06_01_000004_create_oauth_clients_table', 1),
	(8, '2016_06_01_000005_create_oauth_personal_access_clients_table', 1),
	(9, '2019_04_19_090932_create_permission_tables', 1),
	(10, '2019_04_21_135234_add_group_fields_to_permissions_table', 1),
	(11, '2019_04_21_150535_add_display_name_field_to_permissions_table', 1),
	(12, '2019_04_29_145346_create_countries_table', 1),
	(13, '2019_04_29_154703_create_audits_table', 1),
	(14, '2019_06_16_130433_add_social_fields_to_users_table', 1),
	(15, '2019_06_16_133001_add_nullable_to_password_name_at_users_table', 1),
	(16, '2019_06_18_110543_add_authy_fields_to_users_table', 1),
	(17, '2021_05_31_113714_add_provider_field_to_oauth_clients_table', 1),
	(18, '2021_05_31_122639_alter_oauth_clients_table', 1),
	(19, '2021_10_06_114259_create_articles_table', 1),
	(20, '2021_10_06_121646_create_marques_table', 1),
	(21, '2021_10_06_124547_create_races_table', 1),
	(22, '2021_10_06_130120_create_boxes_table', 1),
	(23, '2021_10_06_133311_create_pets_table', 1),
	(24, '2021_10_06_145314_create_veterinaires_table', 1),
	(25, '2021_10_06_154233_create_tarifs_table', 1),
	(26, '2021_10_06_163117_create_reservations_table', 1),
	(27, '2021_10_06_170746_create_detail_reservations_table', 1),
	(28, '2021_10_06_175916_create_accessoire_services_table', 1),
	(29, '2021_10_07_162633_rename_code_to_reference_articles_table', 1),
	(30, '2021_10_07_185244_create_clients_table', 1),
	(31, '2021_10_07_193817_rename_client_to_client_id_reservations_table', 1),
	(32, '2021_10_08_135136_change_type_of_status_acompte1_acompte2_table_reservations', 2),
	(33, '2021_10_08_171922_create_daily_lives_table', 3),
	(34, '2021_10_08_190944_create_emails_table', 3),
	(35, '2021_10_11_164613_change_type_hebergement_and_services_reservation_table', 4),
	(36, '2021_10_11_175912_add_email_to_clients_table', 4),
	(37, '2021_10_11_182137_add_email_to_daily_lives_table', 5),
	(38, '2021_10_12_103633_add_nbr_j_remplissage_to_reservations', 6),
	(39, '2021_10_12_131206_add_reference_to_reservations_table', 6),
	(40, '2021_10_12_140902_add_tele_2_clients_table', 6),
	(41, '2021_10_12_154154_add_photo_and_date_dernier_vaccin_pets', 6),
	(42, '2021_10_12_184041_add_date_remplissage_to_reservations', 7),
	(43, '2021_10_13_125146_add_refrence_to_clients', 8),
	(44, '2021_10_15_172736_add_type_emails_table', 9),
	(45, '2021_10_15_192351_add_refrence_facture_reservations', 9);

-- Dumping structure for table reservation.model_has_permissions
CREATE TABLE IF NOT EXISTS `model_has_permissions` (
  `permission_id` int(10) unsigned NOT NULL,
  `model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`),
  CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.model_has_permissions: ~0 rows (approximately)

-- Dumping structure for table reservation.model_has_roles
CREATE TABLE IF NOT EXISTS `model_has_roles` (
  `role_id` int(10) unsigned NOT NULL,
  `model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`),
  CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.model_has_roles: ~2 rows (approximately)
INSERT INTO `model_has_roles` (`role_id`, `model_type`, `model_id`) VALUES
	(1, 'App\\Models\\User', 1),
	(2, 'App\\Models\\User', 2);

-- Dumping structure for table reservation.oauth_access_tokens
CREATE TABLE IF NOT EXISTS `oauth_access_tokens` (
  `id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `client_id` int(10) unsigned NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `scopes` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `revoked` tinyint(1) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `expires_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `oauth_access_tokens_user_id_index` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.oauth_access_tokens: ~0 rows (approximately)

-- Dumping structure for table reservation.oauth_auth_codes
CREATE TABLE IF NOT EXISTS `oauth_auth_codes` (
  `id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` int(11) NOT NULL,
  `client_id` int(10) unsigned NOT NULL,
  `scopes` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `revoked` tinyint(1) NOT NULL,
  `expires_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.oauth_auth_codes: ~0 rows (approximately)

-- Dumping structure for table reservation.oauth_clients
CREATE TABLE IF NOT EXISTS `oauth_clients` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `secret` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `provider` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `redirect` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `personal_access_client` tinyint(1) NOT NULL,
  `password_client` tinyint(1) NOT NULL,
  `revoked` tinyint(1) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `oauth_clients_user_id_index` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.oauth_clients: ~0 rows (approximately)

-- Dumping structure for table reservation.oauth_personal_access_clients
CREATE TABLE IF NOT EXISTS `oauth_personal_access_clients` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `client_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `oauth_personal_access_clients_client_id_index` (`client_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.oauth_personal_access_clients: ~0 rows (approximately)

-- Dumping structure for table reservation.oauth_refresh_tokens
CREATE TABLE IF NOT EXISTS `oauth_refresh_tokens` (
  `id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `access_token_id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `revoked` tinyint(1) NOT NULL,
  `expires_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `oauth_refresh_tokens_access_token_id_index` (`access_token_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.oauth_refresh_tokens: ~0 rows (approximately)

-- Dumping structure for table reservation.password_resets
CREATE TABLE IF NOT EXISTS `password_resets` (
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  KEY `password_resets_email_index` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.password_resets: ~0 rows (approximately)

-- Dumping structure for table reservation.permissions
CREATE TABLE IF NOT EXISTS `permissions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `display_name` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `group_name` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `group_slug` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=86 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.permissions: ~85 rows (approximately)
INSERT INTO `permissions` (`id`, `name`, `display_name`, `group_name`, `group_slug`, `guard_name`, `created_at`, `updated_at`) VALUES
	(1, 'articles_access', 'Access', 'articles', 'articles', 'web', NULL, NULL),
	(2, 'articles_create', 'Create', 'articles', 'articles', 'web', NULL, NULL),
	(3, 'articles_show', 'Show', 'articles', 'articles', 'web', NULL, NULL),
	(4, 'articles_edit', 'Edit', 'articles', 'articles', 'web', NULL, NULL),
	(5, 'articles_delete', 'Delete', 'articles', 'articles', 'web', NULL, NULL),
	(6, 'marques_access', 'Access', 'marques', 'marques', 'web', NULL, NULL),
	(7, 'marques_create', 'Create', 'marques', 'marques', 'web', NULL, NULL),
	(8, 'marques_show', 'Show', 'marques', 'marques', 'web', NULL, NULL),
	(9, 'marques_edit', 'Edit', 'marques', 'marques', 'web', NULL, NULL),
	(10, 'marques_delete', 'Delete', 'marques', 'marques', 'web', NULL, NULL),
	(11, 'races_access', 'Access', 'races', 'races', 'web', NULL, NULL),
	(12, 'races_create', 'Create', 'races', 'races', 'web', NULL, NULL),
	(13, 'races_show', 'Show', 'races', 'races', 'web', NULL, NULL),
	(14, 'races_edit', 'Edit', 'races', 'races', 'web', NULL, NULL),
	(15, 'races_delete', 'Delete', 'races', 'races', 'web', NULL, NULL),
	(16, 'boxs_access', 'Access', 'boxs', 'boxs', 'web', NULL, NULL),
	(17, 'boxs_create', 'Create', 'boxs', 'boxs', 'web', NULL, NULL),
	(18, 'boxs_show', 'Show', 'boxs', 'boxs', 'web', NULL, NULL),
	(19, 'boxs_edit', 'Edit', 'boxs', 'boxs', 'web', NULL, NULL),
	(20, 'boxs_delete', 'Delete', 'boxs', 'boxs', 'web', NULL, NULL),
	(21, 'pets_access', 'Access', 'pets', 'pets', 'web', NULL, NULL),
	(22, 'pets_create', 'Create', 'pets', 'pets', 'web', NULL, NULL),
	(23, 'pets_show', 'Show', 'pets', 'pets', 'web', NULL, NULL),
	(24, 'pets_edit', 'Edit', 'pets', 'pets', 'web', NULL, NULL),
	(25, 'pets_delete', 'Delete', 'pets', 'pets', 'web', NULL, NULL),
	(26, 'veterinaires_access', 'Access', 'veterinaires', 'veterinaires', 'web', NULL, NULL),
	(27, 'veterinaires_create', 'Create', 'veterinaires', 'veterinaires', 'web', NULL, NULL),
	(28, 'veterinaires_show', 'Show', 'veterinaires', 'veterinaires', 'web', NULL, NULL),
	(29, 'veterinaires_edit', 'Edit', 'veterinaires', 'veterinaires', 'web', NULL, NULL),
	(30, 'veterinaires_delete', 'Delete', 'veterinaires', 'veterinaires', 'web', NULL, NULL),
	(31, 'tarifs_access', 'Access', 'tarifs', 'tarifs', 'web', NULL, NULL),
	(32, 'tarifs_create', 'Create', 'tarifs', 'tarifs', 'web', NULL, NULL),
	(33, 'tarifs_show', 'Show', 'tarifs', 'tarifs', 'web', NULL, NULL),
	(34, 'tarifs_edit', 'Edit', 'tarifs', 'tarifs', 'web', NULL, NULL),
	(35, 'tarifs_delete', 'Delete', 'tarifs', 'tarifs', 'web', NULL, NULL),
	(36, 'reservations_access', 'Access', 'reservations', 'reservations', 'web', NULL, NULL),
	(37, 'reservations_create', 'Create', 'reservations', 'reservations', 'web', NULL, NULL),
	(38, 'reservations_show', 'Show', 'reservations', 'reservations', 'web', NULL, NULL),
	(39, 'reservations_edit', 'Edit', 'reservations', 'reservations', 'web', NULL, NULL),
	(40, 'reservations_delete', 'Delete', 'reservations', 'reservations', 'web', NULL, NULL),
	(41, 'reservations_detail_access', 'Access', 'reservations_detail', 'reservations_detail', 'web', NULL, NULL),
	(42, 'reservations_detail_create', 'Create', 'reservations_detail', 'reservations_detail', 'web', NULL, NULL),
	(43, 'reservations_detail_show', 'Show', 'reservations_detail', 'reservations_detail', 'web', NULL, NULL),
	(44, 'reservations_detail_edit', 'Edit', 'reservations_detail', 'reservations_detail', 'web', NULL, NULL),
	(45, 'reservations_detail_delete', 'Delete', 'reservations_detail', 'reservations_detail', 'web', NULL, NULL),
	(46, 'accessoire_services_access', 'Access', 'accessoire_services', 'accessoire_services', 'web', NULL, NULL),
	(47, 'accessoire_services_create', 'Create', 'accessoire_services', 'accessoire_services', 'web', NULL, NULL),
	(48, 'accessoire_services_show', 'Show', 'accessoire_services', 'accessoire_services', 'web', NULL, NULL),
	(49, 'accessoire_services_edit', 'Edit', 'accessoire_services', 'accessoire_services', 'web', NULL, NULL),
	(50, 'accessoire_services_delete', 'Delete', 'accessoire_services', 'accessoire_services', 'web', NULL, NULL),
	(51, 'clients_access', 'Access', 'clients', 'clients', 'web', NULL, NULL),
	(52, 'clients_create', 'Create', 'clients', 'clients', 'web', NULL, NULL),
	(53, 'clients_show', 'Show', 'clients', 'clients', 'web', NULL, NULL),
	(54, 'clients_edit', 'Edit', 'clients', 'clients', 'web', NULL, NULL),
	(55, 'clients_delete', 'Delete', 'clients', 'clients', 'web', NULL, NULL),
	(56, 'users_access', 'Access', 'Users', 'users', 'web', NULL, NULL),
	(57, 'users_create', 'Create', 'Users', 'users', 'web', NULL, NULL),
	(58, 'users_show', 'Show', 'Users', 'users', 'web', NULL, NULL),
	(59, 'users_edit', 'Edit', 'Users', 'users', 'web', NULL, NULL),
	(60, 'users_delete', 'Delete', 'Users', 'users', 'web', NULL, NULL),
	(61, 'users_ban', 'Ban/Activate User', 'Users', 'users', 'web', NULL, NULL),
	(62, 'users_activity', 'Activity Log', 'Users', 'users', 'web', NULL, NULL),
	(63, 'roles_access', 'Access', 'Roles', 'roles', 'web', NULL, NULL),
	(64, 'roles_create', 'Create', 'Roles', 'roles', 'web', NULL, NULL),
	(65, 'roles_show', 'Show', 'Roles', 'roles', 'web', NULL, NULL),
	(66, 'roles_edit', 'Edit', 'Roles', 'roles', 'web', NULL, NULL),
	(67, 'roles_delete', 'Delete', 'Roles', 'roles', 'web', NULL, NULL),
	(68, 'permissions_access', 'Access', 'Permissions', 'permissions', 'web', NULL, NULL),
	(69, 'permissions_create', 'Create', 'Permissions', 'permissions', 'web', NULL, NULL),
	(70, 'permissions_show', 'Show', 'Permissions', 'permissions', 'web', NULL, NULL),
	(71, 'permissions_edit', 'Edit', 'Permissions', 'permissions', 'web', NULL, NULL),
	(72, 'permissions_delete', 'Delete', 'Permissions', 'permissions', 'web', NULL, NULL),
	(73, 'activitylog_access', 'Access', 'Activity Log', 'activitylog', 'web', NULL, NULL),
	(74, 'activitylog_show', 'Show', 'Activity Log', 'activitylog', 'web', NULL, NULL),
	(75, 'activitylog_delete', 'Delete', 'Activity Log', 'activitylog', 'web', NULL, NULL),
	(76, 'daily_live_access', 'Access', 'daily_live', 'daily_live', 'web', NULL, NULL),
	(77, 'daily_live_create', 'Create', 'daily_live', 'daily_live', 'web', NULL, NULL),
	(78, 'daily_live_show', 'Show', 'daily_live', 'daily_live', 'web', NULL, NULL),
	(79, 'daily_live_edit', 'Edit', 'daily_live', 'daily_live', 'web', NULL, NULL),
	(80, 'daily_live_delete', 'Delete', 'daily_live', 'daily_live', 'web', NULL, NULL),
	(81, 'email_access', 'Access', 'email', 'email', 'web', NULL, NULL),
	(82, 'email_create', 'Create', 'email', 'email', 'web', NULL, NULL),
	(83, 'email_show', 'Show', 'email', 'email', 'web', NULL, NULL),
	(84, 'email_edit', 'Edit', 'email', 'email', 'web', NULL, NULL),
	(85, 'email_delete', 'Delete', 'email', 'email', 'web', NULL, NULL);

-- Dumping structure for table reservation.pets
CREATE TABLE IF NOT EXISTS `pets` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `reference` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `nom` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sexe` smallint(6) DEFAULT NULL,
  `date_de_naissance` date DEFAULT NULL,
  `type` smallint(6) DEFAULT NULL,
  `race_id` int(10) unsigned DEFAULT NULL,
  `couleur` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vaccine` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `castre` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_dernier_antiparasite` date DEFAULT NULL,
  `alimentation` int(10) unsigned DEFAULT NULL,
  `habitude_alimentaire` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `temperament_du_chat` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `proprietaire` int(10) unsigned DEFAULT NULL,
  `probleme_de_sante` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `remarque` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `veterinaire` int(10) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `photo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_dernier_vaccin` date DEFAULT NULL,
  `date_dernier_vermifuge` date DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.pets: ~3 rows (approximately)
INSERT INTO `pets` (`id`, `reference`, `nom`, `sexe`, `date_de_naissance`, `type`, `race_id`, `couleur`, `vaccine`, `castre`, `date_dernier_antiparasite`, `alimentation`, `habitude_alimentaire`, `temperament_du_chat`, `proprietaire`, `probleme_de_sante`, `remarque`, `veterinaire`, `deleted_at`, `created_at`, `updated_at`, `photo`, `date_dernier_vaccin`, `date_dernier_vermifuge`) VALUES
	(1, 'PET-00001', 'Elsa', 10, '2021-01-14', 20, 5, NULL, 'oui', NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, '2021-10-08 19:17:11', '2021-10-12 20:10:29', NULL, NULL, NULL),
	(2, 'PET-00002', 'Cindy', 10, '2020-12-29', 10, 54, 'Blanc', 'oui', 'oui', '2021-09-30', 5, '2 fois midi et 18H', 'Calme et peureux', 2, 'Aucun', NULL, 1, NULL, '2021-10-12 11:33:14', '2021-10-12 11:33:14', NULL, NULL, NULL),
	(3, 'PET-00003', 'Kali', 20, '2020-05-07', 20, 2, 'Beige', 'oui', 'non', '2021-01-07', 5, '2 fois', 'Joueur', 2, NULL, NULL, 2, NULL, '2021-10-12 11:34:46', '2021-10-12 20:08:19', 'images/hnwfY4MyshS4NjXAi9KWKOtn3UIbC9ZZ3ObQuHH0.jpg', NULL, NULL),
	(4, 'PET-00004', 'Lady', 20, '2019-01-20', 20, 56, 'blanc', 'oui', 'oui', '2022-12-15', NULL, NULL, NULL, 2, NULL, NULL, 1, NULL, '2022-02-07 22:44:50', '2022-02-07 22:44:50', NULL, '2021-12-15', '2021-12-15');

-- Dumping structure for table reservation.races
CREATE TABLE IF NOT EXISTS `races` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `libelle` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` smallint(6) NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=61 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.races: ~60 rows (approximately)
INSERT INTO `races` (`id`, `libelle`, `type`, `deleted_at`, `created_at`, `updated_at`) VALUES
	(1, 'Angora turc', 20, NULL, '2021-10-12 11:04:24', '2021-10-12 11:04:24'),
	(2, 'Bengal', 20, NULL, '2021-10-12 11:04:38', '2021-10-12 11:04:38'),
	(3, 'Bleu russe', 20, NULL, '2021-10-12 11:04:48', '2021-10-12 11:04:48'),
	(4, 'British longhair', 20, NULL, '2021-10-12 11:05:02', '2021-10-12 11:05:02'),
	(5, 'British shorthair', 20, NULL, '2021-10-12 11:05:10', '2021-10-12 11:05:10'),
	(6, 'Chartreux', 20, NULL, '2021-10-12 11:05:20', '2021-10-12 11:05:20'),
	(7, 'Exotic shorthair', 20, NULL, '2021-10-12 11:05:39', '2021-10-12 11:05:39'),
	(8, 'Himalayen', 20, NULL, '2021-10-12 11:05:49', '2021-10-12 11:05:49'),
	(9, 'Maine coon', 20, NULL, '2021-10-12 11:05:59', '2021-10-12 11:05:59'),
	(10, 'Munchkin', 20, NULL, '2021-10-12 11:06:11', '2021-10-12 11:06:11'),
	(11, 'Norvégien', 20, NULL, '2021-10-12 11:06:22', '2021-10-12 11:06:22'),
	(12, 'Persan', 20, NULL, '2021-10-12 11:06:32', '2021-10-12 11:06:32'),
	(13, 'Ragdoll', 20, NULL, '2021-10-12 11:06:42', '2021-10-12 11:06:42'),
	(14, 'Sacré de Birmanie', 20, NULL, '2021-10-12 11:06:49', '2021-10-12 11:06:49'),
	(15, 'Savannah', 20, NULL, '2021-10-12 11:06:57', '2021-10-12 11:06:57'),
	(16, 'Scottish fold', 20, NULL, '2021-10-12 11:07:03', '2021-10-12 11:07:03'),
	(17, 'Siamois', 20, NULL, '2021-10-12 11:07:12', '2021-10-12 11:07:12'),
	(18, 'Snowshoe', 20, NULL, '2021-10-12 11:07:21', '2021-10-12 11:07:21'),
	(19, 'Sphynx', 20, NULL, '2021-10-12 11:07:47', '2021-10-12 11:07:47'),
	(20, 'Chat courant', 20, NULL, '2021-10-12 11:08:58', '2021-10-12 11:13:06'),
	(21, 'Akita', 10, NULL, '2021-10-12 11:09:07', '2021-10-12 11:09:07'),
	(22, 'Beagle', 10, NULL, '2021-10-12 11:09:25', '2021-10-12 11:09:25'),
	(23, 'Border Collie', 10, NULL, '2021-10-12 11:09:34', '2021-10-12 11:11:05'),
	(24, 'Berger Allemand', 10, NULL, '2021-10-12 11:09:42', '2021-10-12 11:09:42'),
	(25, 'Bichon', 10, NULL, '2021-10-12 11:10:22', '2021-10-12 11:10:22'),
	(26, 'Yorkshire', 10, NULL, '2021-10-12 11:10:37', '2021-10-12 11:10:37'),
	(27, 'Bouledogue', 10, NULL, '2021-10-12 11:11:24', '2021-10-12 11:11:24'),
	(28, 'Border Terrier', 10, NULL, '2021-10-12 11:11:35', '2021-10-12 11:11:35'),
	(29, 'Boxer', 10, NULL, '2021-10-12 11:11:51', '2021-10-12 11:11:51'),
	(30, 'Cane Corso', 10, NULL, '2021-10-12 11:12:13', '2021-10-12 11:12:13'),
	(31, 'Caniche', 10, NULL, '2021-10-12 11:12:24', '2021-10-12 11:12:24'),
	(32, 'Cavalier King', 10, NULL, '2021-10-12 11:12:36', '2021-10-12 11:12:36'),
	(33, 'Chien courant', 10, NULL, '2021-10-12 11:13:11', '2021-10-12 11:13:11'),
	(34, 'Chihuahua', 10, NULL, '2021-10-12 11:13:49', '2021-10-12 11:13:49'),
	(35, 'Cocker', 10, NULL, '2021-10-12 11:13:57', '2021-10-12 11:13:57'),
	(36, 'Colley', 10, NULL, '2021-10-12 11:14:07', '2021-10-12 11:14:07'),
	(37, 'Dalmatien', 10, NULL, '2021-10-12 11:14:25', '2021-10-12 11:14:25'),
	(38, 'Dogue Argentin', 10, NULL, '2021-10-12 11:14:34', '2021-10-12 11:14:34'),
	(39, 'Epagneul', 10, NULL, '2021-10-12 11:14:48', '2021-10-12 11:14:48'),
	(40, 'Fox Terrier', 10, NULL, '2021-10-12 11:15:01', '2021-10-12 11:15:01'),
	(41, 'Golden Retriever', 10, NULL, '2021-10-12 11:15:10', '2021-10-12 11:15:10'),
	(42, 'Husky', 10, NULL, '2021-10-12 11:15:26', '2021-10-12 11:15:26'),
	(43, 'Jack Russell', 10, NULL, '2021-10-12 11:15:36', '2021-10-12 11:15:36'),
	(44, 'Labrador', 10, NULL, '2021-10-12 11:16:24', '2021-10-12 11:16:24'),
	(45, 'Malamute', 10, NULL, '2021-10-12 11:16:41', '2021-10-12 11:16:41'),
	(46, 'Pékinois', 10, NULL, '2021-10-12 11:16:53', '2021-10-12 11:16:53'),
	(47, 'Pinscher', 10, NULL, '2021-10-12 11:17:05', '2021-10-12 11:17:05'),
	(48, 'Pitbull', 10, NULL, '2021-10-12 11:17:14', '2021-10-12 11:17:14'),
	(49, 'Rottweiler', 10, NULL, '2021-10-12 11:17:28', '2021-10-12 11:17:28'),
	(50, 'Shih Tzu', 10, NULL, '2021-10-12 11:17:43', '2021-10-12 11:17:43'),
	(51, 'Shiba Inu', 10, NULL, '2021-10-12 11:17:49', '2021-10-12 11:17:49'),
	(52, 'Sloughi', 10, NULL, '2021-10-12 11:18:05', '2021-10-12 11:18:05'),
	(53, 'Spitz', 10, NULL, '2021-10-12 11:18:13', '2021-10-12 11:18:13'),
	(54, 'Teckel', 10, NULL, '2021-10-12 11:18:40', '2021-10-12 11:18:40'),
	(55, 'Terrier', 10, NULL, '2021-10-12 11:18:51', '2021-10-12 11:18:51'),
	(56, 'Highland fold', 20, NULL, '2021-10-12 11:19:53', '2021-10-12 11:19:53'),
	(57, 'Malinois', 10, NULL, '2021-10-12 11:25:59', '2021-10-12 11:25:59'),
	(58, 'Dobermann', 10, NULL, '2021-10-12 11:31:13', '2021-10-12 11:31:13'),
	(59, 'Autres chats', 20, NULL, '2022-02-07 22:39:52', '2022-02-07 22:39:52'),
	(60, 'Autres chiens', 10, NULL, '2022-02-07 22:40:01', '2022-02-07 22:40:01');

-- Dumping structure for table reservation.reservations
CREATE TABLE IF NOT EXISTS `reservations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `date_creation` date DEFAULT NULL,
  `client_id` int(10) unsigned DEFAULT NULL,
  `box_id` int(10) unsigned DEFAULT NULL,
  `status` smallint(6) DEFAULT 10,
  `hebergement` decimal(10,2) DEFAULT NULL,
  `services` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `acompte_1` decimal(8,2) DEFAULT NULL,
  `acompte_2` decimal(8,2) DEFAULT NULL,
  `reglement` decimal(8,2) DEFAULT NULL,
  `reliquat` decimal(10,2) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `nbr_j_remplissage` int(10) unsigned NOT NULL DEFAULT 0,
  `reference` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_debut_remplissage` date DEFAULT NULL,
  `refrence_facture` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.reservations: ~6 rows (approximately)
INSERT INTO `reservations` (`id`, `date_creation`, `client_id`, `box_id`, `status`, `hebergement`, `services`, `total`, `acompte_1`, `acompte_2`, `reglement`, `reliquat`, `deleted_at`, `created_at`, `updated_at`, `nbr_j_remplissage`, `reference`, `date_debut_remplissage`, `refrence_facture`) VALUES
	(1, '2021-10-08', 1, 1, 20, 840.00, NULL, 840.00, NULL, NULL, 0.00, 840.00, NULL, '2021-10-08 19:17:27', '2021-10-12 19:49:14', 0, NULL, '2021-10-08', NULL),
	(2, '2021-10-12', 2, 21, 30, 2700.00, 30100.00, 32800.00, 1000.00, 0.00, 1000.00, 31800.00, NULL, '2021-10-12 11:35:17', '2021-10-14 19:08:11', 0, NULL, '2021-10-04', NULL),
	(3, '2021-10-12', 2, 4, 30, 1650.00, 120.00, 1770.00, 200.00, NULL, 200.00, 1570.00, NULL, '2021-10-12 11:43:37', '2021-10-12 19:48:57', 0, NULL, '2021-10-17', NULL),
	(4, '2021-10-12', 1, 5, 30, 600.00, 1000.00, 1600.00, 200.00, NULL, 200.00, 1400.00, NULL, '2021-10-12 20:14:03', '2021-10-12 20:17:04', 0, 'RES-00004', '2021-10-19', NULL),
	(5, '2022-02-07', 2, 2, 20, 900.00, NULL, 900.00, 0.00, 0.00, 0.00, 900.00, NULL, '2022-02-07 22:45:22', '2022-02-07 22:48:48', 0, 'RES-00005', '2022-02-21', ''),
	(6, '2022-02-07', 2, 2, 30, 900.00, NULL, 900.00, 600.00, 0.00, 600.00, 300.00, NULL, '2022-02-07 22:49:03', '2022-02-07 22:49:03', 0, 'RES-00005', '2022-02-21', '');

-- Dumping structure for table reservation.roles
CREATE TABLE IF NOT EXISTS `roles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.roles: ~2 rows (approximately)
INSERT INTO `roles` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
	(1, 'admin', 'web', '2021-10-08 16:48:51', '2021-10-08 16:48:51'),
	(2, 'user', 'web', '2021-10-08 16:48:54', '2021-10-08 16:48:54');

-- Dumping structure for table reservation.role_has_permissions
CREATE TABLE IF NOT EXISTS `role_has_permissions` (
  `permission_id` int(10) unsigned NOT NULL,
  `role_id` int(10) unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`role_id`),
  KEY `role_has_permissions_role_id_foreign` (`role_id`),
  CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.role_has_permissions: ~109 rows (approximately)
INSERT INTO `role_has_permissions` (`permission_id`, `role_id`) VALUES
	(1, 1),
	(2, 1),
	(3, 1),
	(4, 1),
	(5, 1),
	(6, 1),
	(7, 1),
	(8, 1),
	(9, 1),
	(10, 1),
	(11, 1),
	(11, 2),
	(12, 1),
	(12, 2),
	(13, 1),
	(13, 2),
	(14, 1),
	(14, 2),
	(15, 1),
	(16, 1),
	(17, 1),
	(18, 1),
	(19, 1),
	(20, 1),
	(21, 1),
	(21, 2),
	(22, 1),
	(22, 2),
	(23, 1),
	(23, 2),
	(24, 1),
	(24, 2),
	(25, 1),
	(26, 1),
	(27, 1),
	(28, 1),
	(29, 1),
	(30, 1),
	(31, 1),
	(32, 1),
	(33, 1),
	(34, 1),
	(35, 1),
	(36, 1),
	(36, 2),
	(37, 1),
	(37, 2),
	(38, 1),
	(38, 2),
	(39, 1),
	(39, 2),
	(40, 1),
	(41, 1),
	(41, 2),
	(42, 1),
	(42, 2),
	(43, 1),
	(43, 2),
	(44, 1),
	(44, 2),
	(45, 1),
	(46, 1),
	(46, 2),
	(47, 1),
	(47, 2),
	(48, 1),
	(48, 2),
	(49, 1),
	(49, 2),
	(50, 1),
	(51, 1),
	(51, 2),
	(52, 1),
	(52, 2),
	(53, 1),
	(53, 2),
	(54, 1),
	(54, 2),
	(55, 1),
	(56, 1),
	(57, 1),
	(58, 1),
	(59, 1),
	(60, 1),
	(61, 1),
	(62, 1),
	(63, 1),
	(64, 1),
	(65, 1),
	(66, 1),
	(67, 1),
	(68, 1),
	(69, 1),
	(70, 1),
	(71, 1),
	(72, 1),
	(73, 1),
	(74, 1),
	(75, 1),
	(76, 1),
	(77, 1),
	(78, 1),
	(79, 1),
	(80, 1),
	(81, 1),
	(82, 1),
	(83, 1),
	(84, 1),
	(85, 1);

-- Dumping structure for table reservation.tarifs
CREATE TABLE IF NOT EXISTS `tarifs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `code_tarif` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` smallint(6) DEFAULT NULL,
  `nbr` int(10) unsigned DEFAULT NULL,
  `remise` decimal(10,2) DEFAULT NULL,
  `prix_brut` decimal(10,2) DEFAULT NULL,
  `prix_net` decimal(10,2) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.tarifs: ~6 rows (approximately)
INSERT INTO `tarifs` (`id`, `code_tarif`, `type`, `nbr`, `remise`, `prix_brut`, `prix_net`, `deleted_at`, `created_at`, `updated_at`) VALUES
	(1, 'Chat-1', 20, 1, 25.00, 200.00, 150.00, NULL, '2021-10-08 19:18:37', '2021-10-12 11:22:17'),
	(2, 'Chat-2', 20, 2, 50.00, 200.00, 100.00, NULL, '2021-10-12 11:22:46', '2021-10-12 11:25:22'),
	(3, 'Chat-3', 20, 3, 65.00, 200.00, 70.00, NULL, '2021-10-12 11:23:30', '2021-10-12 11:25:15'),
	(4, 'Chat-F', 20, 1, 0.00, 250.00, 250.00, NULL, '2021-10-12 11:23:46', '2021-10-12 11:25:09'),
	(5, 'Chien-1', 10, 1, 20.00, 250.00, 200.00, NULL, '2021-10-12 11:24:16', '2021-10-12 11:24:16'),
	(6, 'Chien-2', 10, 2, 25.00, 250.00, 125.00, NULL, '2021-10-12 11:24:36', '2021-10-12 11:24:36'),
	(7, 'Chien-F', 10, 1, 0.00, 300.00, 300.00, NULL, '2021-10-12 11:24:58', '2021-10-12 11:25:28');

-- Dumping structure for table reservation.veterinaires
CREATE TABLE IF NOT EXISTS `veterinaires` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `reference` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `veterinaire` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `adresse` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tel_1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tel_2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ville` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `veto_1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `veto_2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tel_veto_1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tel_veto_2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table reservation.veterinaires: ~2 rows (approximately)
INSERT INTO `veterinaires` (`id`, `reference`, `veterinaire`, `adresse`, `email`, `tel_1`, `tel_2`, `ville`, `veto_1`, `veto_2`, `tel_veto_1`, `tel_veto_2`, `deleted_at`, `created_at`, `updated_at`) VALUES
	(1, 'VET-00001', 'Clinique Ghandi', 'Boulevard handi', 'veto1@gmail.com', '0522121212', '0532565623', 'Casablanca', 'Abdelghani', 'Leila massoud', '0654124512', '0654785689', NULL, '2021-10-12 11:21:26', '2021-10-12 11:21:26'),
	(2, 'VET-00002', 'Divers', 'Divers', 'Divers', '0654545454', '0654545454', 'Divers', 'Divers', 'Divers', '0654545454', '0654545454', NULL, '2021-10-12 11:27:02', '2021-10-12 11:27:02');

