-- Table structure for table `branch_inventories`
--

CREATE TABLE `branch_inventories` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `quantity_available` bigint(20) NOT NULL,
  `branch_id` bigint(20) unsigned NOT NULL,
  `store_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10386 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `branch_inventories`
--

INSERT INTO `branch_inventories` VALUES (10083,'2022-04-14 03:32:15','2022-05-08 13:04:51',561,-10,93,31),(10084,'2022-04-14 05:19:09','2022-05-08 13:04:51',562,-24,93,31),(10085,'2022-04-14 05:19:09','2022-04-17 10:31:13',563,0,93,31),(10086,'2022-04-14 06:23:04','2022-04-19 23:26:35',564,986,94,32),(10087,'2022-04-14 06:32:59','2022-04-19 23:26:35',565,993,94,32),(10088,'2022-04-14 10:40:39','2022-05-08 13:04:51',566,-2,93,31),(10089,'2022-04-15 04:47:35','2022-04-16 10:48:42',567,0,93,31),(10090,'2022-04-15 10:53:51','2022-04-19 23:13:29',568,-4,93,31),(10091,'2022-04-15 10:54:19','2022-04-20 10:20:34',569,-4,93,31),(10092,'2022-04-15 11:36:39','2022-04-16 11:56:02',570,0,93,31),(10093,'2022-04-16 03:11:28','2022-04-16 10:17:54',571,0,93,31),(10094,'2022-04-16 07:14:26','2022-04-17 17:18:59',572,0,93,31),(10095,'2022-04-16 14:33:12','2022-04-16 14:33:12',573,0,93,31),(10096,'2022-04-18 05:12:42','2022-04-18 05:12:42',574,0,93,31),(10097,'2022-04-18 05:12:42','2022-04-18 05:12:42',575,0,93,31),(10098,'2022-04-18 05:12:42','2022-04-18 05:12:42',576,0,93,31),(10099,'2022-04-18 05:12:46','2022-04-18 05:12:46',577,0,93,31),(10100,'2022-04-18 05:12:46','2022-04-18 05:12:46',578,0,93,31),(10101,'2022-04-18 05:12:46','2022-04-22 23:15:22',579,-3,93,31),(10102,'2022-04-18 05:13:37','2022-04-18 05:13:37',580,0,93,31),(10103,'2022-04-18 05:13:37','2022-04-18 05:13:37',581,0,93,31),(10104,'2022-04-18 05:13:37','2022-04-18 05:13:37',582,0,93,31),(10105,'2022-04-19 14:52:21','2022-04-19 14:52:21',583,0,93,31),(10106,'2022-04-19 14:55:00','2022-04-19 14:55:00',584,0,93,31),(10107,'2022-04-19 14:55:55','2022-04-19 16:23:39',585,-2,93,31),(10108,'2022-04-19 23:19:54','2022-04-19 23:19:54',586,0,93,31),(10109,'2022-04-19 23:25:44','2022-04-20 00:47:26',587,9,93,31),(10110,'2022-04-20 01:16:53','2022-04-20 02:58:49',588,989,94,32),(10111,'2022-04-20 01:32:14','2022-04-20 02:58:49',589,6,94,32),(10112,'2022-04-20 01:38:49','2022-04-20 02:58:49',590,-3,94,32),(10113,'2022-04-20 02:24:42','2022-04-20 02:25:28',591,-2,94,32),(10114,'2022-04-21 06:40:34','2022-04-21 06:40:34',561,0,96,31),(10115,'2022-04-21 06:40:34','2022-04-21 06:40:34',562,0,96,31),(10116,'2022-04-21 06:40:34','2022-04-21 06:40:34',563,0,96,31),(10117,'2022-04-21 06:40:34','2022-04-21 06:40:34',566,0,96,31),(10118,'2022-04-21 06:40:34','2022-04-21 06:40:34',567,0,96,31),(10119,'2022-04-21 06:40:34','2022-04-21 06:40:34',568,0,96,31),(10120,'2022-04-21 06:40:34','2022-04-21 06:40:34',569,0,96,31),(10121,'2022-04-21 06:40:34','2022-04-21 06:40:34',570,0,96,31),(10122,'2022-04-21 06:40:34','2022-04-21 06:40:34',571,0,96,31),(10123,'2022-04-21 06:40:34','2022-04-21 06:40:34',572,0,96,31),(10124,'2022-04-21 06:40:34','2022-04-21 06:40:34',573,0,96,31),(10125,'2022-04-21 06:40:34','2022-04-21 06:40:34',574,0,96,31),(10126,'2022-04-21 06:40:34','2022-04-21 06:40:34',575,0,96,31),(10127,'2022-04-21 06:40:34','2022-04-21 06:40:34',576,0,96,31),(10128,'2022-04-21 06:40:34','2022-04-21 06:40:34',577,0,96,31),(10129,'2022-04-21 06:40:34','2022-04-21 06:40:34',578,0,96,31),(10130,'2022-04-21 06:40:34','2022-04-21 06:40:34',579,0,96,31),(10131,'2022-04-21 06:40:34','2022-04-21 06:40:34',580,0,96,31),(10132,'2022-04-21 06:40:34','2022-04-21 06:40:34',581,0,96,31),(10133,'2022-04-21 06:40:34','2022-04-21 06:40:34',582,0,96,31),(10134,'2022-04-21 06:40:34','2022-04-21 06:40:34',583,0,96,31),(10135,'2022-04-21 06:40:34','2022-04-21 06:40:34',584,0,96,31),(10136,'2022-04-21 06:40:34','2022-04-21 06:40:34',585,0,96,31),(10137,'2022-04-21 06:40:34','2022-04-21 06:40:34',586,0,96,31),(10138,'2022-04-21 06:40:34','2022-04-21 06:40:34',587,0,96,31),(10139,'2022-04-21 06:42:19','2022-04-21 06:42:19',561,0,97,31),(10140,'2022-04-21 06:42:19','2022-04-21 06:42:19',562,0,97,31),(10141,'2022-04-21 06:42:19','2022-04-21 06:42:19',563,0,97,31),(10142,'2022-04-21 06:42:19','2022-04-21 06:42:19',566,0,97,31),(10143,'2022-04-21 06:42:19','2022-04-21 06:42:19',567,0,97,31),(10144,'2022-04-21 06:42:19','2022-04-21 06:42:19',568,0,97,31),(10145,'2022-04-21 06:42:19','2022-04-21 06:42:19',569,0,97,31),(10146,'2022-04-21 06:42:19','2022-04-21 06:42:19',570,0,97,31),(10147,'2022-04-21 06:42:19','2022-04-21 06:42:19',571,0,97,31),(10148,'2022-04-21 06:42:19','2022-04-21 06:42:19',572,0,97,31),(10149,'2022-04-21 06:42:19','2022-04-21 06:42:19',573,0,97,31),(10150,'2022-04-21 06:42:19','2022-04-21 06:42:19',574,0,97,31),(10151,'2022-04-21 06:42:19','2022-04-21 06:42:19',575,0,97,31),(10152,'2022-04-21 06:42:19','2022-04-21 06:42:19',576,0,97,31),(10153,'2022-04-21 06:42:19','2022-04-21 06:42:19',577,0,97,31),(10154,'2022-04-21 06:42:19','2022-04-21 06:42:19',578,0,97,31),(10155,'2022-04-21 06:42:19','2022-04-21 06:42:19',579,0,97,31),(10156,'2022-04-21 06:42:19','2022-04-21 06:42:19',580,0,97,31),(10157,'2022-04-21 06:42:19','2022-04-21 06:42:19',581,0,97,31),(10158,'2022-04-21 06:42:19','2022-04-21 06:42:19',582,0,97,31),(10159,'2022-04-21 06:42:19','2022-04-21 06:42:19',583,0,97,31),(10160,'2022-04-21 06:42:19','2022-04-21 06:42:19',584,0,97,31),(10161,'2022-04-21 06:42:19','2022-04-21 06:42:19',585,0,97,31),(10162,'2022-04-21 06:42:19','2022-04-21 06:42:19',586,0,97,31),(10163,'2022-04-21 06:42:19','2022-04-21 06:42:19',587,0,97,31),(10164,'2022-04-21 06:52:16','2022-04-21 06:52:16',561,0,98,31),(10165,'2022-04-21 06:52:16','2022-04-21 06:52:16',562,0,98,31),(10166,'2022-04-21 06:52:16','2022-04-21 06:52:16',563,0,98,31),(10167,'2022-04-21 06:52:16','2022-04-21 06:52:16',566,0,98,31),(10168,'2022-04-21 06:52:16','2022-04-21 06:52:16',567,0,98,31),(10169,'2022-04-21 06:52:16','2022-04-21 06:52:16',568,0,98,31),(10170,'2022-04-21 06:52:16','2022-04-21 06:52:16',569,0,98,31),(10171,'2022-04-21 06:52:16','2022-04-21 06:52:16',570,0,98,31),(10172,'2022-04-21 06:52:16','2022-04-21 06:52:16',571,0,98,31),(10173,'2022-04-21 06:52:16','2022-04-21 06:52:16',572,0,98,31),(10174,'2022-04-21 06:52:16','2022-04-21 06:52:16',573,0,98,31),(10175,'2022-04-21 06:52:16','2022-04-21 06:52:16',574,0,98,31),(10176,'2022-04-21 06:52:16','2022-04-21 06:52:16',575,0,98,31),(10177,'2022-04-21 06:52:16','2022-04-21 06:52:16',576,0,98,31),(10178,'2022-04-21 06:52:17','2022-04-21 06:52:17',577,0,98,31),(10179,'2022-04-21 06:52:17','2022-04-21 06:52:17',578,0,98,31),(10180,'2022-04-21 06:52:17','2022-04-21 06:52:17',579,0,98,31),(10181,'2022-04-21 06:52:17','2022-04-21 06:52:17',580,0,98,31),(10182,'2022-04-21 06:52:17','2022-04-21 06:52:17',581,0,98,31),(10183,'2022-04-21 06:52:17','2022-04-21 06:52:17',582,0,98,31),(10184,'2022-04-21 06:52:17','2022-04-21 06:52:17',583,0,98,31),(10185,'2022-04-21 06:52:17','2022-04-21 06:52:17',584,0,98,31),(10186,'2022-04-21 06:52:17','2022-04-21 06:52:17',585,0,98,31),(10187,'2022-04-21 06:52:17','2022-04-21 06:52:17',586,0,98,31),(10188,'2022-04-21 06:52:17','2022-04-21 06:52:17',587,0,98,31),(10189,'2022-04-21 06:53:05','2022-04-21 06:53:05',561,0,99,31),(10190,'2022-04-21 06:53:05','2022-04-21 06:53:05',562,0,99,31),(10191,'2022-04-21 06:53:05','2022-04-21 06:53:05',563,0,99,31),(10192,'2022-04-21 06:53:05','2022-04-21 06:53:05',566,0,99,31),(10193,'2022-04-21 06:53:05','2022-04-21 06:53:05',567,0,99,31),(10194,'2022-04-21 06:53:05','2022-04-21 06:53:05',568,0,99,31),(10195,'2022-04-21 06:53:05','2022-04-21 06:53:05',569,0,99,31),(10196,'2022-04-21 06:53:05','2022-04-21 06:53:05',570,0,99,31),(10197,'2022-04-21 06:53:05','2022-04-21 06:53:05',571,0,99,31),(10198,'2022-04-21 06:53:05','2022-04-21 06:53:05',572,0,99,31),(10199,'2022-04-21 06:53:05','2022-04-21 06:53:05',573,0,99,31),(10200,'2022-04-21 06:53:05','2022-04-21 06:53:05',574,0,99,31),(10201,'2022-04-21 06:53:05','2022-04-21 06:53:05',575,0,99,31),(10202,'2022-04-21 06:53:05','2022-04-21 06:53:05',576,0,99,31),(10203,'2022-04-21 06:53:05','2022-04-21 06:53:05',577,0,99,31),(10204,'2022-04-21 06:53:05','2022-04-21 06:53:05',578,0,99,31),(10205,'2022-04-21 06:53:05','2022-04-21 06:53:05',579,0,99,31),(10206,'2022-04-21 06:53:05','2022-04-21 06:53:05',580,0,99,31),(10207,'2022-04-21 06:53:05','2022-04-21 06:53:05',581,0,99,31),(10208,'2022-04-21 06:53:05','2022-04-21 06:53:05',582,0,99,31),(10209,'2022-04-21 06:53:05','2022-04-21 06:53:05',583,0,99,31),(10210,'2022-04-21 06:53:05','2022-04-21 06:53:05',584,0,99,31),(10211,'2022-04-21 06:53:05','2022-04-21 06:53:05',585,0,99,31),(10212,'2022-04-21 06:53:05','2022-04-21 06:53:05',586,0,99,31),(10213,'2022-04-21 06:53:05','2022-04-21 06:53:05',587,0,99,31),(10214,'2022-04-21 09:47:31','2022-04-21 09:47:31',561,0,100,31),(10215,'2022-04-21 09:47:31','2022-04-21 09:47:31',562,0,100,31),(10216,'2022-04-21 09:47:31','2022-04-21 09:47:31',563,0,100,31),(10217,'2022-04-21 09:47:31','2022-04-21 09:47:31',566,0,100,31),(10218,'2022-04-21 09:47:31','2022-04-21 09:47:31',567,0,100,31),(10219,'2022-04-21 09:47:31','2022-04-21 09:47:31',568,0,100,31),(10220,'2022-04-21 09:47:31','2022-04-21 09:47:31',569,0,100,31),(10221,'2022-04-21 09:47:31','2022-04-21 09:47:31',570,0,100,31),(10222,'2022-04-21 09:47:31','2022-04-21 09:47:31',571,0,100,31),(10223,'2022-04-21 09:47:31','2022-04-21 09:47:31',572,0,100,31),(10224,'2022-04-21 09:47:31','2022-04-21 09:47:31',573,0,100,31),(10225,'2022-04-21 09:47:31','2022-04-21 09:47:31',574,0,100,31),(10226,'2022-04-21 09:47:31','2022-04-21 09:47:31',575,0,100,31),(10227,'2022-04-21 09:47:31','2022-04-21 09:47:31',576,0,100,31),(10228,'2022-04-21 09:47:31','2022-04-21 09:47:31',577,0,100,31),(10229,'2022-04-21 09:47:31','2022-04-21 09:47:31',578,0,100,31),(10230,'2022-04-21 09:47:31','2022-04-21 09:47:31',579,0,100,31),(10231,'2022-04-21 09:47:31','2022-04-21 09:47:31',580,0,100,31),(10232,'2022-04-21 09:47:31','2022-04-21 09:47:31',581,0,100,31),(10233,'2022-04-21 09:47:31','2022-04-21 09:47:31',582,0,100,31),(10234,'2022-04-21 09:47:31','2022-04-21 09:47:31',583,0,100,31),(10235,'2022-04-21 09:47:31','2022-04-21 09:47:31',584,0,100,31),(10236,'2022-04-21 09:47:31','2022-04-21 09:47:31',585,0,100,31),(10237,'2022-04-21 09:47:31','2022-04-21 09:47:31',586,0,100,31),(10238,'2022-04-21 09:47:31','2022-04-21 09:47:31',587,0,100,31),(10239,'2022-04-22 15:11:12','2022-04-22 15:11:12',592,0,93,31),(10240,'2022-04-22 15:11:12','2022-04-22 15:11:12',592,0,93,31),(10241,'2022-04-22 15:11:12','2022-04-22 15:11:12',592,0,93,31),(10242,'2022-04-22 15:11:12','2022-04-22 15:11:12',592,0,93,31),(10243,'2022-04-22 15:11:12','2022-04-22 15:11:12',592,0,93,31),(10244,'2022-04-22 15:12:49','2022-04-22 15:12:49',593,0,93,31),(10245,'2022-04-22 15:12:49','2022-04-22 15:12:49',593,0,93,31),(10246,'2022-04-22 15:12:49','2022-04-22 15:12:49',593,0,93,31),(10247,'2022-04-22 15:12:49','2022-04-22 15:12:49',593,0,93,31),(10248,'2022-04-22 15:12:49','2022-04-22 15:12:49',593,0,93,31),(10249,'2022-04-23 02:50:04','2022-04-23 02:50:04',594,0,101,34),(10250,'2022-04-23 02:50:05','2022-05-08 13:04:53',595,-6,101,34),(10251,'2022-04-23 02:50:06','2022-05-09 00:37:03',596,-10,101,34),(10252,'2022-04-23 02:50:06','2022-05-02 13:58:02',597,-1,101,34),(10253,'2022-04-23 02:50:07','2022-05-03 03:41:15',598,-4,101,34),(10254,'2022-04-23 02:50:07','2022-05-02 08:27:15',599,1,101,34),(10255,'2022-04-23 02:50:08','2022-04-23 02:50:08',600,0,101,34),(10256,'2022-04-23 02:50:10','2022-04-23 02:50:10',601,0,101,34),(10257,'2022-04-23 02:50:10','2022-04-23 02:50:10',602,0,101,34),(10258,'2022-04-23 02:50:11','2022-04-23 02:50:11',603,0,101,34),(10259,'2022-04-23 02:50:12','2022-04-23 02:50:12',604,0,101,34),(10260,'2022-04-23 02:50:12','2022-04-23 02:50:12',605,0,101,34),(10261,'2022-04-23 02:50:13','2022-04-23 02:50:13',606,0,101,34),(10262,'2022-04-23 02:50:14','2022-04-23 02:50:14',607,0,101,34),(10263,'2022-04-23 02:53:40','2022-04-23 02:53:40',608,0,101,34),(10264,'2022-04-23 02:59:51','2022-05-03 05:54:03',609,10,101,34),(10265,'2022-04-23 03:02:19','2022-05-03 05:54:03',610,10,101,34),(10266,'2022-04-23 03:03:50','2022-04-23 03:03:50',611,0,101,34),(10267,'2022-04-23 03:03:50','2022-05-02 08:27:27',612,1,101,34),(10268,'2022-04-23 03:03:51','2022-05-02 09:26:29',613,0,101,34),(10269,'2022-04-23 03:03:51','2022-04-23 03:03:51',614,0,101,34),(10270,'2022-04-23 03:04:41','2022-05-08 13:04:53',615,2,101,34),(10271,'2022-04-23 03:05:24','2022-05-05 10:52:28',616,-10,101,34),(10272,'2022-04-23 03:06:23','2022-05-02 08:52:43',617,0,101,34),(10273,'2022-04-23 03:11:57','2022-05-05 10:42:00',618,1,101,34),(10274,'2022-04-23 03:12:54','2022-04-23 03:12:54',619,0,101,34),(10275,'2022-04-23 03:28:58','2022-05-02 14:35:37',620,4,101,34),(10276,'2022-04-23 04:14:26','2022-04-23 04:14:26',594,0,102,34),(10277,'2022-04-23 04:14:26','2022-04-23 04:14:26',595,0,102,34),(10278,'2022-04-23 04:14:26','2022-04-23 04:14:26',596,0,102,34),(10279,'2022-04-23 04:14:26','2022-04-23 04:14:26',597,0,102,34),(10280,'2022-04-23 04:14:26','2022-04-23 04:14:26',598,0,102,34),(10281,'2022-04-23 04:14:26','2022-04-23 04:14:26',599,0,102,34),(10282,'2022-04-23 04:14:26','2022-04-23 04:14:26',600,0,102,34),(10283,'2022-04-23 04:14:26','2022-04-23 04:14:26',609,0,102,34),(10284,'2022-04-23 04:14:26','2022-04-23 04:14:26',610,0,102,34),(10285,'2022-04-23 04:14:26','2022-04-23 04:14:26',611,0,102,34),(10286,'2022-04-23 04:14:26','2022-04-23 04:14:26',612,0,102,34),(10287,'2022-04-23 04:14:26','2022-04-23 04:14:26',613,0,102,34),(10288,'2022-04-23 04:14:26','2022-04-23 04:14:26',614,0,102,34),(10289,'2022-04-23 04:14:26','2022-04-24 05:48:40',615,0,102,34),(10290,'2022-04-23 04:14:26','2022-04-23 04:14:26',616,0,102,34),(10291,'2022-04-23 04:14:26','2022-04-23 04:14:26',617,0,102,34),(10292,'2022-04-23 04:14:26','2022-05-02 15:20:07',618,1,102,34),(10293,'2022-04-23 04:14:26','2022-04-23 04:14:26',619,0,102,34),(10294,'2022-04-23 04:14:26','2022-05-02 14:35:37',620,6,102,34),(10295,'2022-04-24 05:41:26','2022-04-24 05:41:26',594,0,103,34),(10296,'2022-04-24 05:41:26','2022-04-24 05:41:26',595,0,103,34),(10297,'2022-04-24 05:41:26','2022-04-24 05:41:26',596,0,103,34),(10298,'2022-04-24 05:41:26','2022-04-24 05:41:26',597,0,103,34),(10299,'2022-04-24 05:41:26','2022-04-24 05:41:26',598,0,103,34),(10300,'2022-04-24 05:41:26','2022-04-24 05:41:26',599,0,103,34),(10301,'2022-04-24 05:41:26','2022-04-24 05:41:26',600,0,103,34),(10302,'2022-04-24 05:41:26','2022-04-24 05:41:26',609,0,103,34),(10303,'2022-04-24 05:41:26','2022-04-24 05:41:26',610,0,103,34),(10304,'2022-04-24 05:41:26','2022-04-24 05:41:26',611,0,103,34),(10305,'2022-04-24 05:41:26','2022-04-24 05:41:26',612,0,103,34),(10306,'2022-04-24 05:41:26','2022-04-24 05:41:26',613,0,103,34),(10307,'2022-04-24 05:41:26','2022-04-24 05:41:26',614,0,103,34),(10308,'2022-04-24 05:41:26','2022-04-24 05:41:26',615,0,103,34),(10309,'2022-04-24 05:41:26','2022-04-24 05:41:26',616,0,103,34),(10310,'2022-04-24 05:41:26','2022-04-24 05:41:26',617,0,103,34),(10311,'2022-04-24 05:41:26','2022-04-24 05:41:26',618,0,103,34),(10312,'2022-04-24 05:41:26','2022-04-24 05:41:26',619,0,103,34),(10313,'2022-04-24 05:41:26','2022-04-24 05:41:26',620,0,103,34),(10314,'2022-04-24 07:46:25','2022-05-02 13:58:02',621,-1,101,34),(10315,'2022-04-24 07:46:25','2022-05-02 13:58:02',621,-1,101,34),(10316,'2022-04-24 07:46:25','2022-05-02 13:58:02',621,-1,101,34),(10317,'2022-04-24 11:31:28','2022-04-24 11:31:28',622,0,101,34),(10318,'2022-04-24 11:31:28','2022-04-24 11:31:28',622,0,101,34),(10319,'2022-04-24 11:31:28','2022-04-24 11:31:28',622,0,101,34),(10320,'2022-04-24 11:32:10','2022-04-24 11:32:10',623,0,101,34),(10321,'2022-04-24 11:32:10','2022-04-24 11:32:10',623,0,101,34),(10322,'2022-04-24 11:32:10','2022-04-24 11:32:10',623,0,101,34),(10323,'2022-04-24 11:32:10','2022-04-24 11:32:10',624,0,101,34),(10324,'2022-04-24 11:32:10','2022-04-24 11:32:10',624,0,101,34),(10325,'2022-04-24 11:32:10','2022-04-24 11:32:10',624,0,101,34),(10326,'2022-04-24 11:32:10','2022-04-24 11:32:10',625,0,101,34),(10327,'2022-04-24 11:32:10','2022-04-24 11:32:10',625,0,101,34),(10328,'2022-04-24 11:32:10','2022-04-24 11:32:10',625,0,101,34),(10329,'2022-04-24 14:32:24','2022-04-24 14:32:24',626,0,101,34),(10330,'2022-04-24 14:32:24','2022-04-24 14:32:24',626,0,101,34),(10331,'2022-04-24 14:32:24','2022-04-24 14:32:24',626,0,101,34),(10332,'2022-04-24 14:32:51','2022-04-24 14:32:51',627,0,101,34),(10333,'2022-04-24 14:32:51','2022-04-24 14:32:51',627,0,101,34),(10334,'2022-04-24 14:32:51','2022-04-24 14:32:51',627,0,101,34),(10335,'2022-04-28 06:24:25','2022-04-28 06:24:25',628,0,93,31),(10336,'2022-04-28 06:24:25','2022-04-28 06:24:25',628,0,93,31),(10337,'2022-04-28 06:24:25','2022-04-28 06:24:25',628,0,93,31),(10338,'2022-04-28 06:24:25','2022-04-28 06:24:25',628,0,93,31),(10339,'2022-04-28 06:24:25','2022-04-28 06:24:25',628,0,93,31),(10340,'2022-05-02 08:43:41','2022-05-02 08:44:11',629,1,93,31),(10341,'2022-05-02 08:43:41','2022-05-02 08:44:11',629,1,93,31),(10342,'2022-05-02 08:43:41','2022-05-02 08:44:11',629,1,93,31),(10343,'2022-05-02 08:43:41','2022-05-02 08:44:11',629,1,93,31),(10344,'2022-05-02 08:43:41','2022-05-02 08:44:11',629,1,93,31),(10345,'2022-05-05 12:27:08','2022-05-05 12:27:08',594,0,104,34),(10346,'2022-05-05 12:27:08','2022-05-05 12:27:08',595,0,104,34),(10347,'2022-05-05 12:27:08','2022-05-05 12:27:08',596,0,104,34),(10348,'2022-05-05 12:27:08','2022-05-05 12:27:08',597,0,104,34),(10349,'2022-05-05 12:27:08','2022-05-05 12:27:08',598,0,104,34),(10350,'2022-05-05 12:27:08','2022-05-05 12:27:08',599,0,104,34),(10351,'2022-05-05 12:27:08','2022-05-05 12:27:08',600,0,104,34),(10352,'2022-05-05 12:27:08','2022-05-05 12:27:08',609,0,104,34),(10353,'2022-05-05 12:27:08','2022-05-05 12:27:08',610,0,104,34),(10354,'2022-05-05 12:27:08','2022-05-05 12:27:08',611,0,104,34),(10355,'2022-05-05 12:27:08','2022-05-05 12:27:08',612,0,104,34),(10356,'2022-05-05 12:27:08','2022-05-05 12:27:08',613,0,104,34),(10357,'2022-05-05 12:27:08','2022-05-05 12:27:08',614,0,104,34),(10358,'2022-05-05 12:27:08','2022-05-05 12:27:08',615,0,104,34),(10359,'2022-05-05 12:27:08','2022-05-05 12:27:08',616,0,104,34),(10360,'2022-05-05 12:27:08','2022-05-05 12:27:08',617,0,104,34),(10361,'2022-05-05 12:27:08','2022-05-05 12:27:08',618,0,104,34),(10362,'2022-05-05 12:27:08','2022-05-05 12:27:08',619,0,104,34),(10363,'2022-05-05 12:27:08','2022-05-05 12:27:08',620,0,104,34),(10364,'2022-05-05 12:27:08','2022-05-05 12:27:08',621,0,104,34),(10365,'2022-05-05 12:27:08','2022-05-05 12:27:08',622,0,104,34),(10366,'2022-05-05 12:27:08','2022-05-05 12:27:08',623,0,104,34),(10367,'2022-05-05 12:27:08','2022-05-05 12:27:08',626,0,104,34),(10368,'2022-05-05 12:27:08','2022-05-05 12:27:08',627,0,104,34),(10369,'2022-05-07 16:26:08','2022-05-07 16:26:08',630,0,101,34),(10370,'2022-05-07 16:26:08','2022-05-07 16:26:08',630,0,101,34),(10371,'2022-05-07 16:26:08','2022-05-07 16:26:08',630,0,101,34),(10372,'2022-05-07 16:26:08','2022-05-07 16:26:08',630,0,101,34),(10373,'2022-05-08 12:22:27','2022-05-08 12:22:27',631,0,112,44),(10374,'2022-05-08 13:07:51','2022-05-08 13:07:51',632,0,101,34),(10375,'2022-05-08 13:07:51','2022-05-08 13:07:51',632,0,101,34),(10376,'2022-05-08 13:07:51','2022-05-08 13:07:51',632,0,101,34),(10377,'2022-05-08 13:07:51','2022-05-08 13:07:51',632,0,101,34),(10378,'2022-05-09 00:57:32','2022-05-09 00:57:32',633,20,101,34),(10379,'2022-05-09 00:57:32','2022-05-09 00:57:32',633,0,101,34),(10380,'2022-05-09 00:57:32','2022-05-09 00:57:32',633,0,101,34),(10381,'2022-05-09 00:57:32','2022-05-09 00:57:32',633,0,101,34),(10382,'2022-05-09 00:57:32','2022-05-09 00:57:32',634,1,101,34),(10383,'2022-05-09 00:57:32','2022-05-09 00:57:32',634,0,101,34),(10384,'2022-05-09 00:57:32','2022-05-09 00:57:32',634,0,101,34),(10385,'2022-05-09 00:57:32','2022-05-09 00:57:32',634,0,101,34);

--
-- Table structure for table `branches`
--

CREATE TABLE `branches` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `store_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `address` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ward` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `province` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `district` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lat` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '0',
  `lng` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '0',
  `img_url` longtext COLLATE utf8mb4_unicode_ci DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=114 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `branches`
--

INSERT INTO `branches` VALUES (93,'238435d7-6c49-4e32-82ef-0259d0afe2bd',31,'Cua hang test','268 Ly Thuong Kiet','Phường Dĩ An','Tỉnh Bình Dương','0847377379','active','2022-04-14 02:44:58','2022-04-14 02:44:58','Thị xã Dĩ An',NULL,NULL,''),(94,'4512f8c0-c1be-46e9-85ce-a7ea9ad4214e',32,'PH VN','377 Tân Hương','Phường Tân Quý','Thành phố Hồ Chí Minh','0972475599','active','2022-04-14 06:13:19','2022-04-14 06:13:19','Quận Tân Phú',NULL,NULL,''),(95,'d6454d39-8b94-4f28-8d45-9cf5c9ad70b4',33,'Trung tâm','271/34 Trịnh Đình Trọng','Phường Hòa Thạnh','Thành phố Hồ Chí Minh','0938919001','active','2022-04-19 22:49:59','2022-04-19 22:49:59','Quận Tân Phú',NULL,NULL,''),(96,'d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8',31,'khang','268 Lý Thường Kiệt','Phường 14','Thành phố Hồ Chí Minh','0966857525','active','2022-04-21 06:40:34','2022-04-21 06:40:34','Quận 10',NULL,NULL,''),(97,'15a26d76-3180-4f62-b4b2-5e62c39333bc',31,'khang','268 Lý Thường Kiệt','Phường 14','Thành phố Hồ Chí Minh','0966857525','active','2022-04-21 06:42:19','2022-04-21 06:42:19','Quận 10',NULL,NULL,''),(98,'3326454c-c6b9-4d34-a2af-5e79f30ba5ff',31,'Chi nhanh Tan Binh 1','268 Lý Thường Kiệt','Phường 14','Thành phố Hồ Chí Minh','0966857525','active','2022-04-21 06:52:15','2022-04-21 06:52:15','Quận 10',NULL,NULL,''),(99,'3c4418da-14fc-45ec-86e1-56e65ba4a406',31,'khang','268 Lý Thường Kiệt','Phường Cầu Kho','Thành phố Hồ Chí Minh','0966857525','active','2022-04-21 06:53:05','2022-04-21 06:53:05','Quận 1','10.772603','106.657698',''),(100,'31584928-2224-4555-9cef-d08eaf500322',31,'Chi nhanh Tan Binh 1','21/29 Nguyen Canh Chan','Phường Cầu Kho','Thành phố Hồ Chí Minh','0966857525','deleted','2022-04-21 09:47:31','2022-04-21 09:57:38','Quận 1','10.7583325','106.6885993',''),(101,'d4a5674b-0d53-496a-86bb-6ffa2155cf01',34,'Cửa hàng văn phòng phẩm','266 Lý Thường Kiệt','Phường 14','Thành phố Hồ Chí Minh','0847377379','active','2022-04-23 02:19:35','2022-05-05 13:32:39','Quận 10','10.7697759','106.6585016',''),(102,'eff5f5a6-e29a-4369-a48f-23c35e436624',34,'Chi nhanh Dĩ An','12 Nguyễn An Ninh','Phường Dĩ An','Tỉnh Bình Dương','0919070930','active','2022-04-23 04:14:26','2022-04-23 04:14:26','Thị xã Dĩ An',NULL,NULL,''),(103,'e35ffffc-6ea7-48af-a780-99c631e01db9',34,'Chi nhánh Quận 1','271/34 Trịnh Đình Trọng','Phường Hòa Thạnh','Thành phố Hồ Chí Minh','0938919001','active','2022-04-24 05:41:26','2022-04-24 05:41:26','Quận Tân Phú','10.776857','106.635231',''),(104,'6c92d86e-1694-478e-b398-17d66a13a544',34,'Chi nhánh Đầm Sen','278 Hoà Bình','Phường Hiệp Tân','Thành phố Hồ Chí Minh','0938919001','active','2022-05-05 12:27:08','2022-05-05 12:27:08','Quận Tân Phú','10.7720216','106.6271774',''),(105,'90f7f796-301e-4c2e-b7f5-6e071b119244',35,'Đầm sen','271 Trịnh Đình Trọng','Phường Hòa Thạnh','Thành phố Hồ Chí Minh','0938919001','active','2022-05-08 09:45:59','2022-05-08 09:45:59','Quận Tân Phú',NULL,NULL,''),(106,'8145bff0-d8de-4cc5-8bbd-1d58a1ef424a',36,'khang','268 Lý Thường Kiệt','Xã Tiền Phong','Thành phố Hà Nội','0966857525','active','2022-05-08 10:20:39','2022-05-08 10:20:39','Huyện Mê Linh','21.1711325','105.7798959',''),(107,'035e6e3c-c9be-4f7a-ac6f-c7d89652f2c0',39,'khang','268 Lý Thường Kiệt','Phường Vĩnh Phúc','Thành phố Hà Nội','0966857525','active','2022-05-08 10:33:06','2022-05-08 10:33:06','Quận Ba Đình','21.0237345','105.8492025',''),(108,'9043332b-07bc-4c94-98f3-af3634beb9f3',40,'Cua hang thu y','ABC 212313','Phường Hiệp Thành','Tỉnh Bình Dương',NULL,'active','2022-05-08 10:33:50','2022-05-08 10:33:50','Thành phố Thủ Dầu Một',NULL,NULL,''),(109,'296d94eb-c82f-41b4-a642-7c0a8f434a9a',41,'khang','268 Lý Thường Kiệt','Phường Dương Nội','Thành phố Hà Nội','0966857525','active','2022-05-08 10:51:13','2022-05-08 10:51:13','Quận Hà Đông','20.96532','105.7695044',''),(110,'cef42b4e-e563-4579-bd69-607206b90d8d',42,'Cua hang thu y','65852 th','Xã Trừ Văn Thố','Tỉnh Bình Dương',NULL,'active','2022-05-08 10:52:24','2022-05-08 10:52:24','Huyện Bàu Bàng','11.3569158','106.6114474',''),(111,'dc6c3755-38ec-4555-b838-1a2bd9129dd2',43,'Cua hang thu y','65852aga','Xã Trừ Văn Thố','Tỉnh Bình Dương',NULL,'active','2022-05-08 10:56:58','2022-05-08 10:56:58','Huyện Bàu Bàng','11.3569158','106.6114474',''),(112,'0946bc3c-5605-411a-809b-62954c16e0f7',44,'Hoa Binh','271/34 Trịnh Đình Trọng','Phường Hòa Thạnh','Thành phố Hồ Chí Minh','0938919001','active','2022-05-08 12:21:42','2022-05-08 12:21:42','Quận Tân Phú',NULL,NULL,''),(113,'a5aaba08-3339-4189-874f-aed095ca0030',45,'Cua hang thu y','65852','Xã Trừ Văn Thố','Tỉnh Bình Dương',NULL,'active','2022-05-08 13:34:20','2022-05-08 13:34:20','Huyện Bàu Bàng',NULL,NULL,'');

--
-- Table structure for table `categories`
--

CREATE TABLE `categories` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `parent_category_id` bigint(20) unsigned DEFAULT NULL,
  `store_id` bigint(20) unsigned NOT NULL,
  `name` longtext 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=113 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `categories`
--

INSERT INTO `categories` VALUES (83,'df32497d-6309-438d-b330-4b4fd0fc653b',NULL,31,'Danh mục chung','2022-04-14 02:44:58','2022-04-14 02:44:58'),(84,'ed6fc002-be4a-4df6-b8df-c3e230b6a9e7',NULL,31,'Đồ ăn','2022-04-14 05:19:08','2022-04-14 05:19:08'),(85,'85898f34-a552-49e9-9110-2087cfbd4dda',NULL,31,'Thức uống','2022-04-14 05:19:09','2022-04-14 05:19:09'),(86,'4bff1839-5047-4e26-8602-ecb593625d7e',NULL,32,'Danh mục chung','2022-04-14 06:13:19','2022-04-14 06:13:19'),(87,'8dc0be4f-33ee-41d0-8a49-b72393cfa916',NULL,33,'Danh mục chung','2022-04-19 22:49:59','2022-04-19 22:49:59'),(88,'33d35c4a-e386-4fa8-a2ec-e01d71cb5193',84,31,'BANH','2022-04-22 15:11:10','2022-04-22 15:11:10'),(89,'25dfb250-2a3c-45a5-babe-a84a1ecb0f7a',84,31,'KẸO','2022-04-22 15:12:47','2022-04-22 15:12:47'),(90,'77c52d71-7c37-4e42-aa72-d311adf3ec8c',NULL,34,'Danh mục chung','2022-04-23 02:19:35','2022-04-23 02:19:35'),(91,'a06691c5-5539-4618-b728-b0ab8f2eb03c',NULL,34,'Đồ dùng học tập','2022-04-23 02:38:17','2022-04-23 02:38:17'),(92,'edd72e0a-7e8c-478a-a385-a34e77ccfdb3',91,34,'Bút','2022-04-23 02:38:47','2022-04-23 02:38:47'),(93,'8c366d6e-cf20-4116-a63b-4e4446a56ac9',91,34,'Màu','2022-04-23 02:55:01','2022-04-23 02:55:01'),(94,'6b2df037-6cf1-4b02-b8d8-54d82bf786b1',91,34,'Tập/Sổ','2022-04-23 02:55:15','2022-04-23 02:55:15'),(95,'22cc05fc-6828-4669-bc66-5db93f8df6d5',NULL,34,'Balo','2022-04-23 02:55:33','2022-04-23 02:55:33'),(96,'f4a068d8-f29b-4ce9-a3a2-13dad6c380ea',95,34,'Balo bé gái','2022-04-23 02:55:52','2022-04-23 02:55:52'),(97,'a36226a3-bdab-4290-a103-604ac88edea3',95,34,'Balo bé trai','2022-04-23 02:56:02','2022-04-23 02:56:02'),(98,'e676a8d9-7ac9-42c8-9e53-d0c0bdc6edad',NULL,34,'Phụ kiện','2022-04-23 03:02:52','2022-04-23 03:02:52'),(99,'b1f3116d-707b-444c-bdf5-b8047619e8a5',NULL,34,'Gấu bông','2022-04-23 03:11:35','2022-04-23 03:11:35'),(100,'eb1ee256-a74c-460f-8471-bc248eb09443',NULL,34,'Đồ ăn','2022-04-24 07:46:25','2022-04-24 07:46:25'),(101,'71d465d4-4549-4ff6-8205-f7adf06367cf',NULL,35,'Danh mục chung','2022-05-08 09:45:59','2022-05-08 09:45:59'),(102,'3cec2582-bb6e-4cbe-aa98-3a03139df156',NULL,36,'Danh mục chung','2022-05-08 10:20:39','2022-05-08 10:20:39'),(103,'b6e789f8-bcdd-4210-8287-d43e52a896ee',NULL,39,'Danh mục chung','2022-05-08 10:33:06','2022-05-08 10:33:06'),(104,'8c4a2ba0-1359-4d14-8df0-de6ad221bd72',NULL,40,'Danh mục chung','2022-05-08 10:33:50','2022-05-08 10:33:50'),(105,'15f68d4f-fb2e-45fb-a998-c86b9cf7d094',NULL,41,'Danh mục chung','2022-05-08 10:51:13','2022-05-08 10:51:13'),(106,'c5ff7d0f-2498-432f-9d77-5cb08e85e3b2',NULL,42,'Danh mục chung','2022-05-08 10:52:24','2022-05-08 10:52:24'),(107,'81a346f3-0bd4-4d87-8feb-6e28c4c1526b',NULL,43,'Danh mục chung','2022-05-08 10:56:58','2022-05-08 10:56:58'),(108,'7e106731-e0f4-4767-afe8-b7a600068579',NULL,44,'Danh mục chung','2022-05-08 12:21:42','2022-05-08 12:21:42'),(109,'b3195fb8-a15e-48de-8a12-01f3f715f3a9',NULL,45,'Danh mục chung','2022-05-08 13:34:20','2022-05-08 13:34:20'),(110,'0bebeef8-10ed-405f-b8d1-fba9e36e72ed',NULL,34,'Thức uống','2022-05-09 00:57:32','2022-05-09 00:57:32'),(111,'7f2601f1-ba43-4dbe-bafd-ff624ebbdf2e',93,34,'Màu chì','2022-05-09 03:42:40','2022-05-09 03:42:40'),(112,'531819af-8a35-4255-854a-7fd8eb10a7b3',93,34,'Màu nước','2022-05-09 03:43:03','2022-05-09 03:43:03');

--
-- Table structure for table `customer_orders`
--

CREATE TABLE `customer_orders` (
  `customer_order_code` varchar(255) NOT NULL,
  `branch_id` bigint(20) NOT NULL,
  `store_id` bigint(20) NOT NULL,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(255) CHARACTER SET utf16 COLLATE utf16_unicode_ci NOT NULL,
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `details` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` varchar(255) NOT NULL,
  `total_amount` double NOT NULL,
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` datetime DEFAULT NULL,
  `district` int(11) NOT NULL,
  `ward` int(11) NOT NULL,
  `city` int(11) NOT NULL,
  `order_id` bigint(20) DEFAULT NULL,
  `order_code` varchar(255) DEFAULT NULL,
  `discount` double DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `customer_orders`
--

INSERT INTO `customer_orders` VALUES ('DDH000001',93,31,'khang','0966857525','268 Lý Thường Kiệt','[{\"id\":562,\"uuid\":\"518c82b7-d983-4517-be61-42386666d120\",\"name\":\"Bánh hamburger\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":\"232432\",\"quantity_per_unit\":\"cái\",\"min_reorder_quantity\":20,\"created_at\":\"2022-04-14T06:19:09.000000Z\",\"updated_at\":\"2022-04-20T11:20:46.000000Z\",\"description\":\"tahaig\",\"quantity_available\":\"-2\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":100,\"product_code\":\"SP00002\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":84,\"uuid\":\"ed6fc002-be4a-4df6-b8df-c3e230b6a9e7\",\"parent_category_id\":null,\"name\":\"Đồ ăn\",\"created_at\":\"2022-04-14T06:19:08.000000Z\",\"updated_at\":\"2022-04-14T06:19:08.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":562,\"quantity_available\":-15,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}],\"quantity\":1}]','cancelled',20000,10,NULL,'2022-04-21 09:40:20','2022-04-22 09:19:25',0,0,0,NULL,NULL,0),('DDH000002',99,31,'khang','0966857525','268 Lý Thường Kiệt','[{\"id\":561,\"uuid\":\"d91c3318-838d-48c8-a928-22975bbd0a14\",\"name\":\"bbc\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-14T04:32:15.000000Z\",\"updated_at\":\"2022-04-21T09:32:39.000000Z\",\"description\":null,\"quantity_available\":\"18\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00001\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":561,\"quantity_available\":4,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"},{\"created_at\":\"2022-04-21T10:47:31.000000Z\",\"updated_at\":\"2022-04-21T10:47:31.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":100,\"uuid\":\"31584928-2224-4555-9cef-d08eaf500322\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"21/29 Nguyen Canh Chan\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.7583325\",\"lng\":\"106.6885993\",\"img_url\":\"\"}],\"quantity\":4}]','new',80000,11,NULL,'2022-04-21 09:56:39','2022-04-21 10:56:39',0,0,0,NULL,NULL,0),('DDH000003',99,31,'khang','0966857525','268 Lý Thường Kiệt','[{\"id\":561,\"uuid\":\"d91c3318-838d-48c8-a928-22975bbd0a14\",\"name\":\"bbc\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-14T04:32:15.000000Z\",\"updated_at\":\"2022-04-21T09:32:39.000000Z\",\"description\":null,\"quantity_available\":\"18\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00001\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":561,\"quantity_available\":4,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"},{\"created_at\":\"2022-04-21T10:47:31.000000Z\",\"updated_at\":\"2022-04-21T10:47:31.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":100,\"uuid\":\"31584928-2224-4555-9cef-d08eaf500322\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"21/29 Nguyen Canh Chan\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.7583325\",\"lng\":\"106.6885993\",\"img_url\":\"\"}],\"quantity\":4}]','new',80000,12,NULL,'2022-04-21 09:57:32','2022-04-21 10:57:32',0,0,0,NULL,NULL,0),('DDH000004',99,31,'khang','0966857525','268 Lý Thường Kiệt','[{\"id\":561,\"uuid\":\"d91c3318-838d-48c8-a928-22975bbd0a14\",\"name\":\"bbc\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-14T04:32:15.000000Z\",\"updated_at\":\"2022-04-21T09:32:39.000000Z\",\"description\":null,\"quantity_available\":\"18\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00001\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":561,\"quantity_available\":4,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"},{\"created_at\":\"2022-04-21T10:47:31.000000Z\",\"updated_at\":\"2022-04-21T10:47:31.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":100,\"uuid\":\"31584928-2224-4555-9cef-d08eaf500322\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"21/29 Nguyen Canh Chan\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.7583325\",\"lng\":\"106.6885993\",\"img_url\":\"\"}],\"quantity\":4}]','new',80000,13,NULL,'2022-04-21 09:59:06','2022-04-21 10:59:06',0,0,0,NULL,NULL,0),('DDH000005',93,31,'Le','0938919001','278','[{\"id\":561,\"uuid\":\"d91c3318-838d-48c8-a928-22975bbd0a14\",\"name\":\"bbc\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-14T04:32:15.000000Z\",\"updated_at\":\"2022-04-22T08:48:42.000000Z\",\"description\":null,\"quantity_available\":\"19\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00001\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":561,\"quantity_available\":5,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}],\"quantity\":5}]','paid',100000,14,NULL,'2022-04-22 08:21:21','2022-04-22 09:22:23',0,0,0,389,'DH000008',0),('DDH000006',93,31,'Le222','0938919001','278 Hoa Binhss','[{\"id\":561,\"uuid\":\"d91c3318-838d-48c8-a928-22975bbd0a14\",\"name\":\"bbc\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-14T04:32:15.000000Z\",\"updated_at\":\"2022-04-22T08:48:42.000000Z\",\"description\":null,\"quantity_available\":\"19\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00001\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":561,\"quantity_available\":5,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}],\"quantity\":7}]','new',140000,15,NULL,'2022-04-22 08:48:41','2022-04-22 09:48:41',0,0,0,NULL,NULL,0),('DDH000007',93,31,'sss','0099222222','2','[{\"id\":569,\"uuid\":\"d8d0072b-f1ad-4861-b2f7-30345703c90f\",\"name\":\"L\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-15T11:54:19.000000Z\",\"updated_at\":\"2022-04-20T11:20:34.000000Z\",\"description\":null,\"quantity_available\":\"-4\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00007\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":569,\"quantity_available\":-4,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}],\"quantity\":1}]','new',20000,16,NULL,'2022-04-22 08:50:03','2022-04-22 09:50:03',0,0,0,NULL,NULL,0),('DDH000008',93,31,'ell','0938922233','le','[{\"id\":568,\"uuid\":\"e299d200-5593-426f-a2d2-5d51935fa9f9\",\"name\":\"LE\",\"list_price\":220,\"standard_price\":0,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-15T11:53:51.000000Z\",\"updated_at\":\"2022-04-20T00:13:29.000000Z\",\"description\":null,\"quantity_available\":\"-5\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00006\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":568,\"quantity_available\":-4,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":568,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":568,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":568,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":568,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}],\"quantity\":1}]','new',220,17,NULL,'2022-04-22 09:30:16','2022-04-22 10:30:16',0,0,0,NULL,NULL,0),('DDH000009',93,31,'Le','0938222323','278 Hoa','[{\"id\":569,\"uuid\":\"d8d0072b-f1ad-4861-b2f7-30345703c90f\",\"name\":\"L\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-15T11:54:19.000000Z\",\"updated_at\":\"2022-04-20T11:20:34.000000Z\",\"description\":null,\"quantity_available\":\"-4\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00007\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":569,\"quantity_available\":-4,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}],\"quantity\":1}]','new',20000,18,NULL,'2022-04-22 09:33:13','2022-04-22 10:33:13',0,0,0,NULL,NULL,0),('DDH000010',93,31,'KE','0938929222','s','[{\"id\":569,\"uuid\":\"d8d0072b-f1ad-4861-b2f7-30345703c90f\",\"name\":\"L\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-15T11:54:19.000000Z\",\"updated_at\":\"2022-04-20T11:20:34.000000Z\",\"description\":null,\"quantity_available\":\"-4\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00007\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":569,\"quantity_available\":-4,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}],\"quantity\":2}]','new',40000,19,NULL,'2022-04-22 09:34:56','2022-04-22 10:34:56',0,0,0,NULL,NULL,0),('DDH000011',93,31,'le','0389191002','289nfbdh','[{\"id\":569,\"uuid\":\"d8d0072b-f1ad-4861-b2f7-30345703c90f\",\"name\":\"L\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-15T11:54:19.000000Z\",\"updated_at\":\"2022-04-20T11:20:34.000000Z\",\"description\":null,\"quantity_available\":\"-4\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00007\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":569,\"quantity_available\":-4,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}],\"quantity\":1}]','new',20000,20,NULL,'2022-04-22 09:36:30','2022-04-22 10:36:30',0,0,0,NULL,NULL,0),('DDH000012',93,31,':E','2222222222','dd','[{\"id\":569,\"uuid\":\"d8d0072b-f1ad-4861-b2f7-30345703c90f\",\"name\":\"L\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-15T11:54:19.000000Z\",\"updated_at\":\"2022-04-20T11:20:34.000000Z\",\"description\":null,\"quantity_available\":\"-4\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00007\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":569,\"quantity_available\":-4,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":569,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}],\"quantity\":2}]','new',40000,21,NULL,'2022-04-22 09:38:10','2022-04-22 10:38:10',0,0,0,NULL,NULL,0),('DDH000001',101,34,'Lý Quốc Hải','0847377379','25 Nguyen Van Troi','[{\"id\":620,\"uuid\":\"ac5c0ef3-a256-4f9f-9a92-8cf756d74da9\",\"name\":\"Màu nước thiên long\",\"list_price\":45000,\"standard_price\":35000,\"bar_code\":null,\"quantity_per_unit\":\"hộp\",\"min_reorder_quantity\":5,\"created_at\":\"2022-04-23T04:28:58.000000Z\",\"updated_at\":\"2022-04-25T06:56:26.000000Z\",\"description\":null,\"quantity_available\":\"10\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00010\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":1,\"img_urls\":\"[\\\"https:\\\\/\\\\/www.cuahangcuatoi.net\\\\/bkrm-api\\\\/storage\\\\/app\\\\/public\\\\/product-images\\\\/i5tcMWsIzTjkmzdneG89tNCy8CDgokivLTMENDqx.jpg\\\"]\",\"notification_period\":30,\"category\":{\"id\":90,\"uuid\":\"77c52d71-7c37-4e42-aa72-d311adf3ec8c\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-23T03:19:35.000000Z\",\"updated_at\":\"2022-04-23T03:19:35.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-23T03:19:35.000000Z\",\"updated_at\":\"2022-04-23T03:19:35.000000Z\",\"product_id\":620,\"quantity_available\":70,\"branch_id\":101,\"uuid\":\"d4a5674b-0d53-496a-86bb-6ffa2155cf01\",\"name\":\"Cửa hàng văn phòng phẩm\",\"address\":\"266 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-23T05:14:26.000000Z\",\"updated_at\":\"2022-04-23T05:14:26.000000Z\",\"product_id\":620,\"quantity_available\":0,\"branch_id\":102,\"uuid\":\"eff5f5a6-e29a-4369-a48f-23c35e436624\",\"name\":\"Chi nhanh Dĩ An\",\"address\":\"12 Nguyễn An Ninh\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0919070930\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-24T06:41:26.000000Z\",\"updated_at\":\"2022-04-24T06:41:26.000000Z\",\"product_id\":620,\"quantity_available\":0,\"branch_id\":103,\"uuid\":\"e35ffffc-6ea7-48af-a780-99c631e01db9\",\"name\":\"Chi nhánh Quận 1\",\"address\":\"271/34 Trịnh Đình Trọng\",\"ward\":\"Phường Hòa Thạnh\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0938919001\",\"status\":\"active\",\"district\":\"Quận Tân Phú\",\"lat\":\"10.776857\",\"lng\":\"106.635231\",\"img_url\":\"\"}],\"quantity\":1},{\"id\":616,\"uuid\":\"ab0845ee-6c1e-44c9-8e4a-fe7f7ad1af4c\",\"name\":\"Số học sinh COSTIC\",\"list_price\":10000,\"standard_price\":5000,\"bar_code\":null,\"quantity_per_unit\":\"Cái\",\"min_reorder_quantity\":20,\"created_at\":\"2022-04-23T04:05:24.000000Z\",\"updated_at\":\"2022-04-23T04:07:26.000000Z\",\"description\":null,\"quantity_available\":\"10\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00006\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[\\\"https:\\\\/\\\\/www.cuahangcuatoi.net\\\\/bkrm-api\\\\/storage\\\\/app\\\\/public\\\\/product-images\\\\/WwG3U7Va63K43oGGt0JZ3TpnGa0ztWTund61Wo98.png\\\"]\",\"notification_period\":7,\"category\":{\"id\":94,\"uuid\":\"6b2df037-6cf1-4b02-b8d8-54d82bf786b1\",\"parent_category_id\":91,\"name\":\"Tập/Sổ\",\"created_at\":\"2022-04-23T03:55:15.000000Z\",\"updated_at\":\"2022-04-23T03:55:15.000000Z\"},\"branch_inventories\":[{\"created_at\":\"2022-04-23T03:19:35.000000Z\",\"updated_at\":\"2022-04-23T03:19:35.000000Z\",\"product_id\":616,\"quantity_available\":10,\"branch_id\":101,\"uuid\":\"d4a5674b-0d53-496a-86bb-6ffa2155cf01\",\"name\":\"Cửa hàng văn phòng phẩm\",\"address\":\"266 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-23T05:14:26.000000Z\",\"updated_at\":\"2022-04-23T05:14:26.000000Z\",\"product_id\":616,\"quantity_available\":0,\"branch_id\":102,\"uuid\":\"eff5f5a6-e29a-4369-a48f-23c35e436624\",\"name\":\"Chi nhanh Dĩ An\",\"address\":\"12 Nguyễn An Ninh\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0919070930\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-24T06:41:26.000000Z\",\"updated_at\":\"2022-04-24T06:41:26.000000Z\",\"product_id\":616,\"quantity_available\":0,\"branch_id\":103,\"uuid\":\"e35ffffc-6ea7-48af-a780-99c631e01db9\",\"name\":\"Chi nhánh Quận 1\",\"address\":\"271/34 Trịnh Đình Trọng\",\"ward\":\"Phường Hòa Thạnh\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0938919001\",\"status\":\"active\",\"district\":\"Quận Tân Phú\",\"lat\":\"10.776857\",\"lng\":\"106.635231\",\"img_url\":\"\"}],\"quantity\":1}]','confirmed',55000,22,NULL,'2022-04-25 06:08:19','2022-04-25 07:15:37',0,0,0,406,'DH000008',0);

--
-- Table structure for table `customer_pay_debts`
--

CREATE TABLE `customer_pay_debts` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `code` varchar(255) NOT NULL,
  `customer_id` bigint(20) NOT NULL,
  `amount` bigint(20) NOT NULL,
  `date` datetime NOT NULL,
  `store_id` bigint(20) NOT NULL,
  `created_user_type` varchar(255) NOT NULL,
  `created_user_name` varchar(255) NOT NULL,
  `created_user_id` bigint(20) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `customer_pay_debts`
--

INSERT INTO `customer_pay_debts` VALUES (1,'KH000001',260,10000,'2022-04-22 00:00:00',0,'owner','Ly Quoc Hai',31),(2,'KH000001',255,20000,'2022-04-23 00:00:00',31,'owner','Ly Quoc Hai',31),(3,'KH000002',255,20000,'2022-04-23 00:00:00',31,'owner','Ly Quoc Hai',31),(4,'KH000003',255,20000,'2022-04-23 00:00:00',31,'owner','Ly Quoc Hai',31),(5,'KH000004',255,20000,'2022-04-23 00:00:00',31,'owner','Ly Quoc Hai',31),(6,'KH000001',275,20000,'2022-04-25 00:00:00',34,'owner','Lý Qu?c H?i',34),(7,'KH000002',275,20,'2022-05-05 00:00:00',34,'owner','Lý Qu?c H?i',34),(8,'KH000003',275,200,'2022-05-05 00:00:00',34,'owner','Lý Qu?c H?i',34),(9,'KH000001',274,1222,'2022-05-05 00:00:00',34,'owner','Lý Qu?c H?i',34),(10,'KH000002',274,120000,'2022-05-05 00:00:00',34,'owner','Lý Qu?c H?i',34),(11,'KH000003',274,1108778,'2022-05-05 00:00:00',34,'owner','Lý Qu?c H?i',34);

--
-- Table structure for table `customers`
--

CREATE TABLE `customers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `store_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_info` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ward` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `district` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `province` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `img_url` text COLLATE utf8mb4_unicode_ci DEFAULT 'http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png',
  `customer_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'KH000000',
  `type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'customer',
  `points` bigint(20) DEFAULT 0,
  `vouchers` longtext COLLATE utf8mb4_unicode_ci DEFAULT '[]',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=285 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `customers`
--

INSERT INTO `customers` VALUES (244,'2022-04-14 05:27:00','2022-04-15 10:59:46','Khach hang moi','62633778-327b-486a-9f7f-91c116e41b11','31','0847377379',NULL,'Tx.Dĩ An',NULL,NULL,NULL,'lyquochai835@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000002','customer',0,'[]'),(245,'2022-04-14 05:27:08','2022-04-14 05:27:08','Khach hang moi','ad052602-7e07-4ab2-884d-a2e03587d39b','31','0847377367',NULL,'Tx.Dĩ An',NULL,NULL,NULL,'lyquochai835@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000003','customer',0,'[]'),(246,'2022-04-14 05:30:50','2022-04-14 05:30:50','Co ba','bb4fe1a8-3823-4cfc-9cb3-7091d2160877','31','0835234242',NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000004','customer',0,'[]'),(247,'2022-04-14 05:36:43','2022-04-17 16:41:41','Chu hai','85443864-96e9-4013-a82e-220fab7bc284','31','1415255555',NULL,NULL,NULL,NULL,NULL,'lyquochai835@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000005','customer',0,'[]'),(248,'2022-04-14 06:13:19','2022-04-14 06:13:19','Khách hàng lẻ','f244659f-caf6-431f-9943-0d872a9d4f63','32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000000','default',0,'[]'),(250,'2022-04-15 06:35:30','2022-04-16 10:17:54','CHÚ BON','34e650f2-8767-4610-bc88-1532b309f509','31','0938919001',NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000006','customer',0,'[]'),(251,'2022-04-16 00:41:36','2022-04-16 03:24:55','Ly Quoc Hai','84d80b00-ca67-42a2-a930-6dac700bc596','31',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000007','customer',0,'[]'),(252,'2022-04-17 17:53:48','2022-04-17 17:53:48','Le','d67e01cf-da87-4fb4-aa5e-a50a5466040e','31',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000008','customer',0,'[]'),(253,'2022-04-17 17:54:17','2022-04-17 17:54:17','Le','52eb3174-056a-4b05-b2f5-98e73ed10606','31',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000009','customer',0,'[]'),(254,'2022-04-17 18:13:04','2022-04-17 18:13:04','Le','15bd8988-0b9d-4001-920e-3d42401ef38c','31','0938999999',NULL,'Trinh',NULL,NULL,NULL,'ledang@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000010','customer',0,'[]'),(255,'2022-04-18 05:39:17','2022-04-22 23:16:48','LEss','18b28587-0a57-4e73-b839-0c7519e5b636','31',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000011','customer',0,'[]'),(256,'2022-04-19 13:51:49','2022-04-19 23:13:29','Khách hàng VIP','872a9fdb-96ae-4aa1-9b4a-603f0931ff74','31','0938919003',NULL,'278 Hoa Binh',NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000012','customer',0,'[]'),(257,'2022-04-19 15:08:52','2022-04-19 15:08:52','Nguyễn Văn A','','','0123456789','Momo 0123456789','268 Lý Thường Kiệt, Phường 14, Quận 10, Thành phố Hồ Chí Minh',NULL,NULL,NULL,'nguyenvana@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000013','customer',100,'[]'),(258,'2022-04-19 16:37:45','2022-04-19 16:37:45','Nguyễn Văn A','','','0123456789','Momo 0123456789','268 Lý Thường Kiệt, Phường 14, Quận 10, Thành phố Hồ Chí Minh',NULL,NULL,NULL,'nguyenvana@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000013','customer',100,'[]'),(259,'2022-04-19 16:38:13','2022-04-19 16:38:13','Nguyễn Văn A','','','0123456789','Momo 0123456789','268 Lý Thường Kiệt, Phường 14, Quận 10, Thành phố Hồ Chí Minh',NULL,NULL,NULL,'nguyenvana@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000013','customer',100,'[]'),(260,'2022-04-19 16:39:06','2022-05-08 13:04:51','gagg','3aa02d58-1e2d-4c4b-a31d-42b5390c50d5','31',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000013','customer',4,'[]'),(261,'2022-04-19 16:39:25','2022-04-29 16:17:01','gagagaga','bdbf348a-32d3-4999-8162-3b6db35e8db1','31',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000014','customer',0,'[]'),(262,'2022-04-19 16:40:20','2022-04-19 16:40:20','Nguyễn Văn A','','','0123456789','Momo 0123456789','268 Lý Thường Kiệt, Phường 14, Quận 10, Thành phố Hồ Chí Minh',NULL,NULL,NULL,'nguyenvana@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000015','customer',100,'[]'),(263,'2022-04-19 16:40:32','2022-04-19 16:40:32','Nguyễn Văn A','','','0123456789','Momo 0123456789','268 Lý Thường Kiệt, Phường 14, Quận 10, Thành phố Hồ Chí Minh',NULL,NULL,NULL,'nguyenvana@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000015','customer',100,'[]'),(264,'2022-04-19 16:44:41','2022-04-19 16:44:41','Nguyễn Văn A','','',NULL,'Momo 0123456789','268 Lý Thường Kiệt, Phường 14, Quận 10, Thành phố Hồ Chí Minh',NULL,NULL,NULL,'nguyenvana@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000015','customer',100,'[]'),(265,'2022-04-19 16:45:09','2022-04-19 16:45:09','Nguyễn Văn A','','',NULL,'Momo 0123456789','268 Lý Thường Kiệt, Phường 14, Quận 10, Thành phố Hồ Chí Minh',NULL,NULL,NULL,'nguyenvana@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000015','customer',100,'[]'),(266,'2022-04-19 16:46:09','2022-04-19 16:46:09','Nguyễn Văn A','','',NULL,'Momo 0123456789','268 Lý Thường Kiệt, Phường 14, Quận 10, Thành phố Hồ Chí Minh',NULL,NULL,NULL,'nguyenvana@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000015','customer',100,'[]'),(267,'2022-04-19 16:48:21','2022-04-19 16:48:21','Nguyễn Văn A','','','0123456789','Momo 0123456789','268 Lý Thường Kiệt, Phường 14, Quận 10, Thành phố Hồ Chí Minh',NULL,NULL,NULL,'nguyenvana@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000015','customer',100,'[]'),(268,'2022-04-19 22:49:59','2022-04-19 22:49:59','Khách hàng lẻ','0f19f584-6639-4947-90b1-9af4532c5958','33',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000000','default',0,'[]'),(269,'2022-04-20 00:08:36','2022-04-20 00:08:36','Khách hàng lẻ','4bb53a70-f164-4814-9c0d-cbd2c5cabbdf','31',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000000','default',0,'[]'),(270,'2022-04-20 01:42:50','2022-04-20 02:16:35','ANH THẠCH','089a5f71-90e1-4927-9c6e-450686ec29fd','32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000002','customer',0,'[]'),(271,'2022-04-20 01:45:43','2022-04-20 02:58:49','ANH VINH','1478ae34-aad1-4c3f-804d-36be21fc544e','32',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000003','customer',0,'[]'),(272,'2022-04-23 02:19:35','2022-04-23 02:19:35','Khách hàng lẻ','a659cad5-9055-4ad3-b868-c96fd889eee6','34',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000000','default',0,'[]'),(273,'2022-04-24 08:53:29','2022-04-24 11:13:22','Chị A','463521d7-7106-4dc4-82ab-8a15204d12f2','34','0725252525',NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000002','customer',0,'[]'),(274,'2022-04-24 08:53:39','2022-05-03 07:29:28','Anh B','947b505f-f987-47ea-81f2-81c197ef8d58','34','5525252521',NULL,NULL,NULL,NULL,NULL,'lyquochai835@gmail.com','active','http://103.163.118.100/bkrm-api/storage/app/public/customer-images/customer-default.png','KH000003','customer',223,'[]'),(275,'2022-04-25 06:15:37','2022-05-05 10:52:28','Lý Quốc Hải','820ed0a9-6ee8-47f8-a853-6e02eb26390e','34','0847377379',NULL,'25 Nguyen Van Troi','0','0',NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000004','customer',180,'[]'),(276,'2022-05-08 09:45:59','2022-05-08 09:45:59','Khách hàng lẻ','0eb77c70-057b-45c7-bea1-bb07e2f41476','35',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000000','default',0,'[]'),(277,'2022-05-08 10:20:39','2022-05-08 10:20:39','Khách hàng lẻ','33fa6727-e46e-43b0-9fa0-584c8857d42f','36',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000000','default',0,'[]'),(278,'2022-05-08 10:33:06','2022-05-08 10:33:06','Khách hàng lẻ','f53fcdd3-e0a3-4967-a3f9-90c5d7834b4a','39',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000000','default',0,'[]'),(279,'2022-05-08 10:33:50','2022-05-08 10:33:50','Khách hàng lẻ','b9189566-3e21-4bf5-8552-0b4d65e60041','40',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000000','default',0,'[]'),(280,'2022-05-08 10:51:13','2022-05-08 10:51:13','Khách hàng lẻ','84e0537d-48dd-4c95-997f-6735dedc7106','41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000000','default',0,'[]'),(281,'2022-05-08 10:52:24','2022-05-08 10:52:24','Khách hàng lẻ','5f4ef13e-a69d-4d0c-8f9c-fccc8f3c1f0b','42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000000','default',0,'[]'),(282,'2022-05-08 10:56:58','2022-05-08 10:56:58','Khách hàng lẻ','0306f778-104a-4c12-940a-b2c8df4f00d1','43',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000000','default',0,'[]'),(283,'2022-05-08 12:21:42','2022-05-08 12:21:42','Khách hàng lẻ','2017fe4a-b659-4bf3-b534-40c346775a52','44',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000000','default',0,'[]'),(284,'2022-05-08 13:34:20','2022-05-08 13:34:20','Khách hàng lẻ','60bb90d3-0c53-44b6-b222-fbd9701900ce','45',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','http://103.163.118.100/bkrm-api/storage/app/public/storage/customer-images/customer-default.png','KH000000','default',0,'[]');

--
-- Table structure for table `district`
--

CREATE TABLE `district` (
  `id` char(6) COLLATE utf8_unicode_ci NOT NULL,
  `name` varchar(45) COLLATE utf8_unicode_ci NOT NULL,
  `type` varchar(45) COLLATE utf8_unicode_ci NOT NULL,
  `province_id` char(6) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `district`
--

INSERT INTO `district` VALUES ('001','Quận Ba Đình','Quận','01'),('002','Quận Hoàn Kiếm','Quận','01'),('003','Quận Tây Hồ','Quận','01'),('004','Quận Long Biên','Quận','01'),('005','Quận Cầu Giấy','Quận','01'),('006','Quận Đống Đa','Quận','01'),('007','Quận Hai Bà Trưng','Quận','01'),('008','Quận Hoàng Mai','Quận','01'),('009','Quận Thanh Xuân','Quận','01'),('016','Huyện Sóc Sơn','Huyện','01'),('017','Huyện Đông Anh','Huyện','01'),('018','Huyện Gia Lâm','Huyện','01'),('019','Quận Nam Từ Liêm','Quận','01'),('020','Huyện Thanh Trì','Huyện','01'),('021','Quận Bắc Từ Liêm','Quận','01'),('024','Thành phố Hà Giang','Thành phố','02'),('026','Huyện Đồng Văn','Huyện','02'),('027','Huyện Mèo Vạc','Huyện','02'),('028','Huyện Yên Minh','Huyện','02'),('029','Huyện Quản Bạ','Huyện','02'),('030','Huyện Vị Xuyên','Huyện','02'),('031','Huyện Bắc Mê','Huyện','02'),('032','Huyện Hoàng Su Phì','Huyện','02'),('033','Huyện Xín Mần','Huyện','02'),('034','Huyện Bắc Quang','Huyện','02'),('035','Huyện Quang Bình','Huyện','02'),('040','Thành phố Cao Bằng','Thành phố','04'),('042','Huyện Bảo Lâm','Huyện','04'),('043','Huyện Bảo Lạc','Huyện','04'),('044','Huyện Thông Nông','Huyện','04'),('045','Huyện Hà Quảng','Huyện','04'),('046','Huyện Trà Lĩnh','Huyện','04'),('047','Huyện Trùng Khánh','Huyện','04'),('048','Huyện Hạ Lang','Huyện','04'),('049','Huyện Quảng Uyên','Huyện','04'),('050','Huyện Phục Hoà','Huyện','04'),('051','Huyện Hoà An','Huyện','04'),('052','Huyện Nguyên Bình','Huyện','04'),('053','Huyện Thạch An','Huyện','04'),('058','Thành Phố Bắc Kạn','Thành phố','06'),('060','Huyện Pác Nặm','Huyện','06'),('061','Huyện Ba Bể','Huyện','06'),('062','Huyện Ngân Sơn','Huyện','06'),('063','Huyện Bạch Thông','Huyện','06'),('064','Huyện Chợ Đồn','Huyện','06'),('065','Huyện Chợ Mới','Huyện','06'),('066','Huyện Na Rì','Huyện','06'),('070','Thành phố Tuyên Quang','Thành phố','08'),('071','Huyện Lâm Bình','Huyện','08'),('072','Huyện Nà Hang','Huyện','08'),('073','Huyện Chiêm Hóa','Huyện','08'),('074','Huyện Hàm Yên','Huyện','08'),('075','Huyện Yên Sơn','Huyện','08'),('076','Huyện Sơn Dương','Huyện','08'),('080','Thành phố Lào Cai','Thành phố','10'),('082','Huyện Bát Xát','Huyện','10'),('083','Huyện Mường Khương','Huyện','10'),('084','Huyện Si Ma Cai','Huyện','10'),('085','Huyện Bắc Hà','Huyện','10'),('086','Huyện Bảo Thắng','Huyện','10'),('087','Huyện Bảo Yên','Huyện','10'),('088','Huyện Sa Pa','Huyện','10'),('089','Huyện Văn Bàn','Huyện','10'),('094','Thành phố Điện Biên Phủ','Thành phố','11'),('095','Thị Xã Mường Lay','Thị xã','11'),('096','Huyện Mường Nhé','Huyện','11'),('097','Huyện Mường Chà','Huyện','11'),('098','Huyện Tủa Chùa','Huyện','11'),('099','Huyện Tuần Giáo','Huyện','11'),('100','Huyện Điện Biên','Huyện','11'),('101','Huyện Điện Biên Đông','Huyện','11'),('102','Huyện Mường Ảng','Huyện','11'),('103','Huyện Nậm Pồ','Huyện','11'),('105','Thành phố Lai Châu','Thành phố','12'),('106','Huyện Tam Đường','Huyện','12'),('107','Huyện Mường Tè','Huyện','12'),('108','Huyện Sìn Hồ','Huyện','12'),('109','Huyện Phong Thổ','Huyện','12'),('110','Huyện Than Uyên','Huyện','12'),('111','Huyện Tân Uyên','Huyện','12'),('112','Huyện Nậm Nhùn','Huyện','12'),('116','Thành phố Sơn La','Thành phố','14'),('118','Huyện Quỳnh Nhai','Huyện','14'),('119','Huyện Thuận Châu','Huyện','14'),('120','Huyện Mường La','Huyện','14'),('121','Huyện Bắc Yên','Huyện','14'),('122','Huyện Phù Yên','Huyện','14'),('123','Huyện Mộc Châu','Huyện','14'),('124','Huyện Yên Châu','Huyện','14'),('125','Huyện Mai Sơn','Huyện','14'),('126','Huyện Sông Mã','Huyện','14'),('127','Huyện Sốp Cộp','Huyện','14'),('128','Huyện Vân Hồ','Huyện','14'),('132','Thành phố Yên Bái','Thành phố','15'),('133','Thị xã Nghĩa Lộ','Thị xã','15'),('135','Huyện Lục Yên','Huyện','15'),('136','Huyện Văn Yên','Huyện','15'),('137','Huyện Mù Căng Chải','Huyện','15'),('138','Huyện Trấn Yên','Huyện','15'),('139','Huyện Trạm Tấu','Huyện','15'),('140','Huyện Văn Chấn','Huyện','15'),('141','Huyện Yên Bình','Huyện','15'),('148','Thành phố Hòa Bình','Thành phố','17'),('150','Huyện Đà Bắc','Huyện','17'),('151','Huyện Kỳ Sơn','Huyện','17'),('152','Huyện Lương Sơn','Huyện','17'),('153','Huyện Kim Bôi','Huyện','17'),('154','Huyện Cao Phong','Huyện','17'),('155','Huyện Tân Lạc','Huyện','17'),('156','Huyện Mai Châu','Huyện','17'),('157','Huyện Lạc Sơn','Huyện','17'),('158','Huyện Yên Thủy','Huyện','17'),('159','Huyện Lạc Thủy','Huyện','17'),('164','Thành phố Thái Nguyên','Thành phố','19'),('165','Thành phố Sông Công','Thành phố','19'),('167','Huyện Định Hóa','Huyện','19'),('168','Huyện Phú Lương','Huyện','19'),('169','Huyện Đồng Hỷ','Huyện','19'),('170','Huyện Võ Nhai','Huyện','19'),('171','Huyện Đại Từ','Huyện','19'),('172','Thị xã Phổ Yên','Thị xã','19'),('173','Huyện Phú Bình','Huyện','19'),('178','Thành phố Lạng Sơn','Thành phố','20'),('180','Huyện Tràng Định','Huyện','20'),('181','Huyện Bình Gia','Huyện','20'),('182','Huyện Văn Lãng','Huyện','20'),('183','Huyện Cao Lộc','Huyện','20'),('184','Huyện Văn Quan','Huyện','20'),('185','Huyện Bắc Sơn','Huyện','20'),('186','Huyện Hữu Lũng','Huyện','20'),('187','Huyện Chi Lăng','Huyện','20'),('188','Huyện Lộc Bình','Huyện','20'),('189','Huyện Đình Lập','Huyện','20'),('193','Thành phố Hạ Long','Thành phố','22'),('194','Thành phố Móng Cái','Thành phố','22'),('195','Thành phố Cẩm Phả','Thành phố','22'),('196','Thành phố Uông Bí','Thành phố','22'),('198','Huyện Bình Liêu','Huyện','22'),('199','Huyện Tiên Yên','Huyện','22'),('200','Huyện Đầm Hà','Huyện','22'),('201','Huyện Hải Hà','Huyện','22'),('202','Huyện Ba Chẽ','Huyện','22'),('203','Huyện Vân Đồn','Huyện','22'),('204','Huyện Hoành Bồ','Huyện','22'),('205','Thị xã Đông Triều','Thị xã','22'),('206','Thị xã Quảng Yên','Thị xã','22'),('207','Huyện Cô Tô','Huyện','22'),('213','Thành phố Bắc Giang','Thành phố','24'),('215','Huyện Yên Thế','Huyện','24'),('216','Huyện Tân Yên','Huyện','24'),('217','Huyện Lạng Giang','Huyện','24'),('218','Huyện Lục Nam','Huyện','24'),('219','Huyện Lục Ngạn','Huyện','24'),('220','Huyện Sơn Động','Huyện','24'),('221','Huyện Yên Dũng','Huyện','24'),('222','Huyện Việt Yên','Huyện','24'),('223','Huyện Hiệp Hòa','Huyện','24'),('227','Thành phố Việt Trì','Thành phố','25'),('228','Thị xã Phú Thọ','Thị xã','25'),('230','Huyện Đoan Hùng','Huyện','25'),('231','Huyện Hạ Hoà','Huyện','25'),('232','Huyện Thanh Ba','Huyện','25'),('233','Huyện Phù Ninh','Huyện','25'),('234','Huyện Yên Lập','Huyện','25'),('235','Huyện Cẩm Khê','Huyện','25'),('236','Huyện Tam Nông','Huyện','25'),('237','Huyện Lâm Thao','Huyện','25'),('238','Huyện Thanh Sơn','Huyện','25'),('239','Huyện Thanh Thuỷ','Huyện','25'),('240','Huyện Tân Sơn','Huyện','25'),('243','Thành phố Vĩnh Yên','Thành phố','26'),('244','Thị xã Phúc Yên','Thị xã','26'),('246','Huyện Lập Thạch','Huyện','26'),('247','Huyện Tam Dương','Huyện','26'),('248','Huyện Tam Đảo','Huyện','26'),('249','Huyện Bình Xuyên','Huyện','26'),('250','Huyện Mê Linh','Huyện','01'),('251','Huyện Yên Lạc','Huyện','26'),('252','Huyện Vĩnh Tường','Huyện','26'),('253','Huyện Sông Lô','Huyện','26'),('256','Thành phố Bắc Ninh','Thành phố','27'),('258','Huyện Yên Phong','Huyện','27'),('259','Huyện Quế Võ','Huyện','27'),('260','Huyện Tiên Du','Huyện','27'),('261','Thị xã Từ Sơn','Thị xã','27'),('262','Huyện Thuận Thành','Huyện','27'),('263','Huyện Gia Bình','Huyện','27'),('264','Huyện Lương Tài','Huyện','27'),('268','Quận Hà Đông','Quận','01'),('269','Thị xã Sơn Tây','Thị xã','01'),('271','Huyện Ba Vì','Huyện','01'),('272','Huyện Phúc Thọ','Huyện','01'),('273','Huyện Đan Phượng','Huyện','01'),('274','Huyện Hoài Đức','Huyện','01'),('275','Huyện Quốc Oai','Huyện','01'),('276','Huyện Thạch Thất','Huyện','01'),('277','Huyện Chương Mỹ','Huyện','01'),('278','Huyện Thanh Oai','Huyện','01'),('279','Huyện Thường Tín','Huyện','01'),('280','Huyện Phú Xuyên','Huyện','01'),('281','Huyện Ứng Hòa','Huyện','01'),('282','Huyện Mỹ Đức','Huyện','01'),('288','Thành phố Hải Dương','Thành phố','30'),('290','Thị xã Chí Linh','Thị xã','30'),('291','Huyện Nam Sách','Huyện','30'),('292','Huyện Kinh Môn','Huyện','30'),('293','Huyện Kim Thành','Huyện','30'),('294','Huyện Thanh Hà','Huyện','30'),('295','Huyện Cẩm Giàng','Huyện','30'),('296','Huyện Bình Giang','Huyện','30'),('297','Huyện Gia Lộc','Huyện','30'),('298','Huyện Tứ Kỳ','Huyện','30'),('299','Huyện Ninh Giang','Huyện','30'),('300','Huyện Thanh Miện','Huyện','30'),('303','Quận Hồng Bàng','Quận','31'),('304','Quận Ngô Quyền','Quận','31'),('305','Quận Lê Chân','Quận','31'),('306','Quận Hải An','Quận','31'),('307','Quận Kiến An','Quận','31'),('308','Quận Đồ Sơn','Quận','31'),('309','Quận Dương Kinh','Quận','31'),('311','Huyện Thuỷ Nguyên','Huyện','31'),('312','Huyện An Dương','Huyện','31'),('313','Huyện An Lão','Huyện','31'),('314','Huyện Kiến Thuỵ','Huyện','31'),('315','Huyện Tiên Lãng','Huyện','31'),('316','Huyện Vĩnh Bảo','Huyện','31'),('317','Huyện Cát Hải','Huyện','31'),('323','Thành phố Hưng Yên','Thành phố','33'),('325','Huyện Văn Lâm','Huyện','33'),('326','Huyện Văn Giang','Huyện','33'),('327','Huyện Yên Mỹ','Huyện','33'),('328','Huyện Mỹ Hào','Huyện','33'),('329','Huyện Ân Thi','Huyện','33'),('330','Huyện Khoái Châu','Huyện','33'),('331','Huyện Kim Động','Huyện','33'),('332','Huyện Tiên Lữ','Huyện','33'),('333','Huyện Phù Cừ','Huyện','33'),('336','Thành phố Thái Bình','Thành phố','34'),('338','Huyện Quỳnh Phụ','Huyện','34'),('339','Huyện Hưng Hà','Huyện','34'),('340','Huyện Đông Hưng','Huyện','34'),('341','Huyện Thái Thụy','Huyện','34'),('342','Huyện Tiền Hải','Huyện','34'),('343','Huyện Kiến Xương','Huyện','34'),('344','Huyện Vũ Thư','Huyện','34'),('347','Thành phố Phủ Lý','Thành phố','35'),('349','Huyện Duy Tiên','Huyện','35'),('350','Huyện Kim Bảng','Huyện','35'),('351','Huyện Thanh Liêm','Huyện','35'),('352','Huyện Bình Lục','Huyện','35'),('353','Huyện Lý Nhân','Huyện','35'),('356','Thành phố Nam Định','Thành phố','36'),('358','Huyện Mỹ Lộc','Huyện','36'),('359','Huyện Vụ Bản','Huyện','36'),('360','Huyện Ý Yên','Huyện','36'),('361','Huyện Nghĩa Hưng','Huyện','36'),('362','Huyện Nam Trực','Huyện','36'),('363','Huyện Trực Ninh','Huyện','36'),('364','Huyện Xuân Trường','Huyện','36'),('365','Huyện Giao Thủy','Huyện','36'),('366','Huyện Hải Hậu','Huyện','36'),('369','Thành phố Ninh Bình','Thành phố','37'),('370','Thành phố Tam Điệp','Thành phố','37'),('372','Huyện Nho Quan','Huyện','37'),('373','Huyện Gia Viễn','Huyện','37'),('374','Huyện Hoa Lư','Huyện','37'),('375','Huyện Yên Khánh','Huyện','37'),('376','Huyện Kim Sơn','Huyện','37'),('377','Huyện Yên Mô','Huyện','37'),('380','Thành phố Thanh Hóa','Thành phố','38'),('381','Thị xã Bỉm Sơn','Thị xã','38'),('382','Thành phố Sầm Sơn','Thành phố','38'),('384','Huyện Mường Lát','Huyện','38'),('385','Huyện Quan Hóa','Huyện','38'),('386','Huyện Bá Thước','Huyện','38'),('387','Huyện Quan Sơn','Huyện','38'),('388','Huyện Lang Chánh','Huyện','38'),('389','Huyện Ngọc Lặc','Huyện','38'),('390','Huyện Cẩm Thủy','Huyện','38'),('391','Huyện Thạch Thành','Huyện','38'),('392','Huyện Hà Trung','Huyện','38'),('393','Huyện Vĩnh Lộc','Huyện','38'),('394','Huyện Yên Định','Huyện','38'),('395','Huyện Thọ Xuân','Huyện','38'),('396','Huyện Thường Xuân','Huyện','38'),('397','Huyện Triệu Sơn','Huyện','38'),('398','Huyện Thiệu Hóa','Huyện','38'),('399','Huyện Hoằng Hóa','Huyện','38'),('400','Huyện Hậu Lộc','Huyện','38'),('401','Huyện Nga Sơn','Huyện','38'),('402','Huyện Như Xuân','Huyện','38'),('403','Huyện Như Thanh','Huyện','38'),('404','Huyện Nông Cống','Huyện','38'),('405','Huyện Đông Sơn','Huyện','38'),('406','Huyện Quảng Xương','Huyện','38'),('407','Huyện Tĩnh Gia','Huyện','38'),('412','Thành phố Vinh','Thành phố','40'),('413','Thị xã Cửa Lò','Thị xã','40'),('414','Thị xã Thái Hoà','Thị xã','40'),('415','Huyện Quế Phong','Huyện','40'),('416','Huyện Quỳ Châu','Huyện','40'),('417','Huyện Kỳ Sơn','Huyện','40'),('418','Huyện Tương Dương','Huyện','40'),('419','Huyện Nghĩa Đàn','Huyện','40'),('420','Huyện Quỳ Hợp','Huyện','40'),('421','Huyện Quỳnh Lưu','Huyện','40'),('422','Huyện Con Cuông','Huyện','40'),('423','Huyện Tân Kỳ','Huyện','40'),('424','Huyện Anh Sơn','Huyện','40'),('425','Huyện Diễn Châu','Huyện','40'),('426','Huyện Yên Thành','Huyện','40'),('427','Huyện Đô Lương','Huyện','40'),('428','Huyện Thanh Chương','Huyện','40'),('429','Huyện Nghi Lộc','Huyện','40'),('430','Huyện Nam Đàn','Huyện','40'),('431','Huyện Hưng Nguyên','Huyện','40'),('432','Thị xã Hoàng Mai','Thị xã','40'),('436','Thành phố Hà Tĩnh','Thành phố','42'),('437','Thị xã Hồng Lĩnh','Thị xã','42'),('439','Huyện Hương Sơn','Huyện','42'),('440','Huyện Đức Thọ','Huyện','42'),('441','Huyện Vũ Quang','Huyện','42'),('442','Huyện Nghi Xuân','Huyện','42'),('443','Huyện Can Lộc','Huyện','42'),('444','Huyện Hương Khê','Huyện','42'),('445','Huyện Thạch Hà','Huyện','42'),('446','Huyện Cẩm Xuyên','Huyện','42'),('447','Huyện Kỳ Anh','Huyện','42'),('448','Huyện Lộc Hà','Huyện','42'),('449','Thị xã Kỳ Anh','Thị xã','42'),('450','Thành Phố Đồng Hới','Thành phố','44'),('452','Huyện Minh Hóa','Huyện','44'),('453','Huyện Tuyên Hóa','Huyện','44'),('454','Huyện Quảng Trạch','Huyện','44'),('455','Huyện Bố Trạch','Huyện','44'),('456','Huyện Quảng Ninh','Huyện','44'),('457','Huyện Lệ Thủy','Huyện','44'),('458','Thị xã Ba Đồn','Thị xã','44'),('461','Thành phố Đông Hà','Thành phố','45'),('462','Thị xã Quảng Trị','Thị xã','45'),('464','Huyện Vĩnh Linh','Huyện','45'),('465','Huyện Hướng Hóa','Huyện','45'),('466','Huyện Gio Linh','Huyện','45'),('467','Huyện Đa Krông','Huyện','45'),('468','Huyện Cam Lộ','Huyện','45'),('469','Huyện Triệu Phong','Huyện','45'),('470','Huyện Hải Lăng','Huyện','45'),('474','Thành phố Huế','Thành phố','46'),('476','Huyện Phong Điền','Huyện','46'),('477','Huyện Quảng Điền','Huyện','46'),('478','Huyện Phú Vang','Huyện','46'),('479','Thị xã Hương Thủy','Thị xã','46'),('480','Thị xã Hương Trà','Thị xã','46'),('481','Huyện A Lưới','Huyện','46'),('482','Huyện Phú Lộc','Huyện','46'),('483','Huyện Nam Đông','Huyện','46'),('490','Quận Liên Chiểu','Quận','48'),('491','Quận Thanh Khê','Quận','48'),('492','Quận Hải Châu','Quận','48'),('493','Quận Sơn Trà','Quận','48'),('494','Quận Ngũ Hành Sơn','Quận','48'),('495','Quận Cẩm Lệ','Quận','48'),('497','Huyện Hòa Vang','Huyện','48'),('502','Thành phố Tam Kỳ','Thành phố','49'),('503','Thành phố Hội An','Thành phố','49'),('504','Huyện Tây Giang','Huyện','49'),('505','Huyện Đông Giang','Huyện','49'),('506','Huyện Đại Lộc','Huyện','49'),('507','Thị xã Điện Bàn','Thị xã','49'),('508','Huyện Duy Xuyên','Huyện','49'),('509','Huyện Quế Sơn','Huyện','49'),('510','Huyện Nam Giang','Huyện','49'),('511','Huyện Phước Sơn','Huyện','49'),('512','Huyện Hiệp Đức','Huyện','49'),('513','Huyện Thăng Bình','Huyện','49'),('514','Huyện Tiên Phước','Huyện','49'),('515','Huyện Bắc Trà My','Huyện','49'),('516','Huyện Nam Trà My','Huyện','49'),('517','Huyện Núi Thành','Huyện','49'),('518','Huyện Phú Ninh','Huyện','49'),('519','Huyện Nông Sơn','Huyện','49'),('522','Thành phố Quảng Ngãi','Thành phố','51'),('524','Huyện Bình Sơn','Huyện','51'),('525','Huyện Trà Bồng','Huyện','51'),('526','Huyện Tây Trà','Huyện','51'),('527','Huyện Sơn Tịnh','Huyện','51'),('528','Huyện Tư Nghĩa','Huyện','51'),('529','Huyện Sơn Hà','Huyện','51'),('530','Huyện Sơn Tây','Huyện','51'),('531','Huyện Minh Long','Huyện','51'),('532','Huyện Nghĩa Hành','Huyện','51'),('533','Huyện Mộ Đức','Huyện','51'),('534','Huyện Đức Phổ','Huyện','51'),('535','Huyện Ba Tơ','Huyện','51'),('536','Huyện Lý Sơn','Huyện','51'),('540','Thành phố Qui Nhơn','Thành phố','52'),('542','Huyện An Lão','Huyện','52'),('543','Huyện Hoài Nhơn','Huyện','52'),('544','Huyện Hoài Ân','Huyện','52'),('545','Huyện Phù Mỹ','Huyện','52'),('546','Huyện Vĩnh Thạnh','Huyện','52'),('547','Huyện Tây Sơn','Huyện','52'),('548','Huyện Phù Cát','Huyện','52'),('549','Thị xã An Nhơn','Thị xã','52'),('550','Huyện Tuy Phước','Huyện','52'),('551','Huyện Vân Canh','Huyện','52'),('555','Thành phố Tuy Hoà','Thành phố','54'),('557','Thị xã Sông Cầu','Thị xã','54'),('558','Huyện Đồng Xuân','Huyện','54'),('559','Huyện Tuy An','Huyện','54'),('560','Huyện Sơn Hòa','Huyện','54'),('561','Huyện Sông Hinh','Huyện','54'),('562','Huyện Tây Hoà','Huyện','54'),('563','Huyện Phú Hoà','Huyện','54'),('564','Huyện Đông Hòa','Huyện','54'),('568','Thành phố Nha Trang','Thành phố','56'),('569','Thành phố Cam Ranh','Thành phố','56'),('570','Huyện Cam Lâm','Huyện','56'),('571','Huyện Vạn Ninh','Huyện','56'),('572','Thị xã Ninh Hòa','Thị xã','56'),('573','Huyện Khánh Vĩnh','Huyện','56'),('574','Huyện Diên Khánh','Huyện','56'),('575','Huyện Khánh Sơn','Huyện','56'),('576','Huyện Trường Sa','Huyện','56'),('582','Thành phố Phan Rang-Tháp Chàm','Thành phố','58'),('584','Huyện Bác Ái','Huyện','58'),('585','Huyện Ninh Sơn','Huyện','58'),('586','Huyện Ninh Hải','Huyện','58'),('587','Huyện Ninh Phước','Huyện','58'),('588','Huyện Thuận Bắc','Huyện','58'),('589','Huyện Thuận Nam','Huyện','58'),('593','Thành phố Phan Thiết','Thành phố','60'),('594','Thị xã La Gi','Thị xã','60'),('595','Huyện Tuy Phong','Huyện','60'),('596','Huyện Bắc Bình','Huyện','60'),('597','Huyện Hàm Thuận Bắc','Huyện','60'),('598','Huyện Hàm Thuận Nam','Huyện','60'),('599','Huyện Tánh Linh','Huyện','60'),('600','Huyện Đức Linh','Huyện','60'),('601','Huyện Hàm Tân','Huyện','60'),('602','Huyện Phú Quí','Huyện','60'),('608','Thành phố Kon Tum','Thành phố','62'),('610','Huyện Đắk Glei','Huyện','62'),('611','Huyện Ngọc Hồi','Huyện','62'),('612','Huyện Đắk Tô','Huyện','62'),('613','Huyện Kon Plông','Huyện','62'),('614','Huyện Kon Rẫy','Huyện','62'),('615','Huyện Đắk Hà','Huyện','62'),('616','Huyện Sa Thầy','Huyện','62'),('617','Huyện Tu Mơ Rông','Huyện','62'),('618','Huyện Ia H\' Drai','Huyện','62'),('622','Thành phố Pleiku','Thành phố','64'),('623','Thị xã An Khê','Thị xã','64'),('624','Thị xã Ayun Pa','Thị xã','64'),('625','Huyện KBang','Huyện','64'),('626','Huyện Đăk Đoa','Huyện','64'),('627','Huyện Chư Păh','Huyện','64'),('628','Huyện Ia Grai','Huyện','64'),('629','Huyện Mang Yang','Huyện','64'),('630','Huyện Kông Chro','Huyện','64'),('631','Huyện Đức Cơ','Huyện','64'),('632','Huyện Chư Prông','Huyện','64'),('633','Huyện Chư Sê','Huyện','64'),('634','Huyện Đăk Pơ','Huyện','64'),('635','Huyện Ia Pa','Huyện','64'),('637','Huyện Krông Pa','Huyện','64'),('638','Huyện Phú Thiện','Huyện','64'),('639','Huyện Chư Pưh','Huyện','64'),('643','Thành phố Buôn Ma Thuột','Thành phố','66'),('644','Thị Xã Buôn Hồ','Thị xã','66'),('645','Huyện Ea H\'leo','Huyện','66'),('646','Huyện Ea Súp','Huyện','66'),('647','Huyện Buôn Đôn','Huyện','66'),('648','Huyện Cư M\'gar','Huyện','66'),('649','Huyện Krông Búk','Huyện','66'),('650','Huyện Krông Năng','Huyện','66'),('651','Huyện Ea Kar','Huyện','66'),('652','Huyện M\'Đrắk','Huyện','66'),('653','Huyện Krông Bông','Huyện','66'),('654','Huyện Krông Pắc','Huyện','66'),('655','Huyện Krông A Na','Huyện','66'),('656','Huyện Lắk','Huyện','66'),('657','Huyện Cư Kuin','Huyện','66'),('660','Thị xã Gia Nghĩa','Thị xã','67'),('661','Huyện Đăk Glong','Huyện','67'),('662','Huyện Cư Jút','Huyện','67'),('663','Huyện Đắk Mil','Huyện','67'),('664','Huyện Krông Nô','Huyện','67'),('665','Huyện Đắk Song','Huyện','67'),('666','Huyện Đắk R\'Lấp','Huyện','67'),('667','Huyện Tuy Đức','Huyện','67'),('672','Thành phố Đà Lạt','Thành phố','68'),('673','Thành phố Bảo Lộc','Thành phố','68'),('674','Huyện Đam Rông','Huyện','68'),('675','Huyện Lạc Dương','Huyện','68'),('676','Huyện Lâm Hà','Huyện','68'),('677','Huyện Đơn Dương','Huyện','68'),('678','Huyện Đức Trọng','Huyện','68'),('679','Huyện Di Linh','Huyện','68'),('680','Huyện Bảo Lâm','Huyện','68'),('681','Huyện Đạ Huoai','Huyện','68'),('682','Huyện Đạ Tẻh','Huyện','68'),('683','Huyện Cát Tiên','Huyện','68'),('688','Thị xã Phước Long','Thị xã','70'),('689','Thị xã Đồng Xoài','Thị xã','70'),('690','Thị xã Bình Long','Thị xã','70'),('691','Huyện Bù Gia Mập','Huyện','70'),('692','Huyện Lộc Ninh','Huyện','70'),('693','Huyện Bù Đốp','Huyện','70'),('694','Huyện Hớn Quản','Huyện','70'),('695','Huyện Đồng Phú','Huyện','70'),('696','Huyện Bù Đăng','Huyện','70'),('697','Huyện Chơn Thành','Huyện','70'),('698','Huyện Phú Riềng','Huyện','70'),('703','Thành phố Tây Ninh','Thành phố','72'),('705','Huyện Tân Biên','Huyện','72'),('706','Huyện Tân Châu','Huyện','72'),('707','Huyện Dương Minh Châu','Huyện','72'),('708','Huyện Châu Thành','Huyện','72'),('709','Huyện Hòa Thành','Huyện','72'),('710','Huyện Gò Dầu','Huyện','72'),('711','Huyện Bến Cầu','Huyện','72'),('712','Huyện Trảng Bàng','Huyện','72'),('718','Thành phố Thủ Dầu Một','Thành phố','74'),('719','Huyện Bàu Bàng','Huyện','74'),('720','Huyện Dầu Tiếng','Huyện','74'),('721','Thị xã Bến Cát','Thị xã','74'),('722','Huyện Phú Giáo','Huyện','74'),('723','Thị xã Tân Uyên','Thị xã','74'),('724','Thị xã Dĩ An','Thị xã','74'),('725','Thị xã Thuận An','Thị xã','74'),('726','Huyện Bắc Tân Uyên','Huyện','74'),('731','Thành phố Biên Hòa','Thành phố','75'),('732','Thị xã Long Khánh','Thị xã','75'),('734','Huyện Tân Phú','Huyện','75'),('735','Huyện Vĩnh Cửu','Huyện','75'),('736','Huyện Định Quán','Huyện','75'),('737','Huyện Trảng Bom','Huyện','75'),('738','Huyện Thống Nhất','Huyện','75'),('739','Huyện Cẩm Mỹ','Huyện','75'),('740','Huyện Long Thành','Huyện','75'),('741','Huyện Xuân Lộc','Huyện','75'),('742','Huyện Nhơn Trạch','Huyện','75'),('747','Thành phố Vũng Tàu','Thành phố','77'),('748','Thành phố Bà Rịa','Thành phố','77'),('750','Huyện Châu Đức','Huyện','77'),('751','Huyện Xuyên Mộc','Huyện','77'),('752','Huyện Long Điền','Huyện','77'),('753','Huyện Đất Đỏ','Huyện','77'),('754','Huyện Tân Thành','Huyện','77'),('760','Quận 1','Quận','79'),('761','Quận 12','Quận','79'),('762','Quận Thủ Đức','Quận','79'),('763','Quận 9','Quận','79'),('764','Quận Gò Vấp','Quận','79'),('765','Quận Bình Thạnh','Quận','79'),('766','Quận Tân Bình','Quận','79'),('767','Quận Tân Phú','Quận','79'),('768','Quận Phú Nhuận','Quận','79'),('769','Quận 2','Quận','79'),('770','Quận 3','Quận','79'),('771','Quận 10','Quận','79'),('772','Quận 11','Quận','79'),('773','Quận 4','Quận','79'),('774','Quận 5','Quận','79'),('775','Quận 6','Quận','79'),('776','Quận 8','Quận','79'),('777','Quận Bình Tân','Quận','79'),('778','Quận 7','Quận','79'),('783','Huyện Củ Chi','Huyện','79'),('784','Huyện Hóc Môn','Huyện','79'),('785','Huyện Bình Chánh','Huyện','79'),('786','Huyện Nhà Bè','Huyện','79'),('787','Huyện Cần Giờ','Huyện','79'),('794','Thành phố Tân An','Thành phố','80'),('795','Thị xã Kiến Tường','Thị xã','80'),('796','Huyện Tân Hưng','Huyện','80'),('797','Huyện Vĩnh Hưng','Huyện','80'),('798','Huyện Mộc Hóa','Huyện','80'),('799','Huyện Tân Thạnh','Huyện','80'),('800','Huyện Thạnh Hóa','Huyện','80'),('801','Huyện Đức Huệ','Huyện','80'),('802','Huyện Đức Hòa','Huyện','80'),('803','Huyện Bến Lức','Huyện','80'),('804','Huyện Thủ Thừa','Huyện','80'),('805','Huyện Tân Trụ','Huyện','80'),('806','Huyện Cần Đước','Huyện','80'),('807','Huyện Cần Giuộc','Huyện','80'),('808','Huyện Châu Thành','Huyện','80'),('815','Thành phố Mỹ Tho','Thành phố','82'),('816','Thị xã Gò Công','Thị xã','82'),('817','Thị xã Cai Lậy','Thị xã','82'),('818','Huyện Tân Phước','Huyện','82'),('819','Huyện Cái Bè','Huyện','82'),('820','Huyện Cai Lậy','Huyện','82'),('821','Huyện Châu Thành','Huyện','82'),('822','Huyện Chợ Gạo','Huyện','82'),('823','Huyện Gò Công Tây','Huyện','82'),('824','Huyện Gò Công Đông','Huyện','82'),('825','Huyện Tân Phú Đông','Huyện','82'),('829','Thành phố Bến Tre','Thành phố','83'),('831','Huyện Châu Thành','Huyện','83'),('832','Huyện Chợ Lách','Huyện','83'),('833','Huyện Mỏ Cày Nam','Huyện','83'),('834','Huyện Giồng Trôm','Huyện','83'),('835','Huyện Bình Đại','Huyện','83'),('836','Huyện Ba Tri','Huyện','83'),('837','Huyện Thạnh Phú','Huyện','83'),('838','Huyện Mỏ Cày Bắc','Huyện','83'),('842','Thành phố Trà Vinh','Thành phố','84'),('844','Huyện Càng Long','Huyện','84'),('845','Huyện Cầu Kè','Huyện','84'),('846','Huyện Tiểu Cần','Huyện','84'),('847','Huyện Châu Thành','Huyện','84'),('848','Huyện Cầu Ngang','Huyện','84'),('849','Huyện Trà Cú','Huyện','84'),('850','Huyện Duyên Hải','Huyện','84'),('851','Thị xã Duyên Hải','Thị xã','84'),('855','Thành phố Vĩnh Long','Thành phố','86'),('857','Huyện Long Hồ','Huyện','86'),('858','Huyện Mang Thít','Huyện','86'),('859','Huyện  Vũng Liêm','Huyện','86'),('860','Huyện Tam Bình','Huyện','86'),('861','Thị xã Bình Minh','Thị xã','86'),('862','Huyện Trà Ôn','Huyện','86'),('863','Huyện Bình Tân','Huyện','86'),('866','Thành phố Cao Lãnh','Thành phố','87'),('867','Thành phố Sa Đéc','Thành phố','87'),('868','Thị xã Hồng Ngự','Thị xã','87'),('869','Huyện Tân Hồng','Huyện','87'),('870','Huyện Hồng Ngự','Huyện','87'),('871','Huyện Tam Nông','Huyện','87'),('872','Huyện Tháp Mười','Huyện','87'),('873','Huyện Cao Lãnh','Huyện','87'),('874','Huyện Thanh Bình','Huyện','87'),('875','Huyện Lấp Vò','Huyện','87'),('876','Huyện Lai Vung','Huyện','87'),('877','Huyện Châu Thành','Huyện','87'),('883','Thành phố Long Xuyên','Thành phố','89'),('884','Thành phố Châu Đốc','Thành phố','89'),('886','Huyện An Phú','Huyện','89'),('887','Thị xã Tân Châu','Thị xã','89'),('888','Huyện Phú Tân','Huyện','89'),('889','Huyện Châu Phú','Huyện','89'),('890','Huyện Tịnh Biên','Huyện','89'),('891','Huyện Tri Tôn','Huyện','89'),('892','Huyện Châu Thành','Huyện','89'),('893','Huyện Chợ Mới','Huyện','89'),('894','Huyện Thoại Sơn','Huyện','89'),('899','Thành phố Rạch Giá','Thành phố','91'),('900','Thị xã Hà Tiên','Thị xã','91'),('902','Huyện Kiên Lương','Huyện','91'),('903','Huyện Hòn Đất','Huyện','91'),('904','Huyện Tân Hiệp','Huyện','91'),('905','Huyện Châu Thành','Huyện','91'),('906','Huyện Giồng Riềng','Huyện','91'),('907','Huyện Gò Quao','Huyện','91'),('908','Huyện An Biên','Huyện','91'),('909','Huyện An Minh','Huyện','91'),('910','Huyện Vĩnh Thuận','Huyện','91'),('911','Huyện Phú Quốc','Huyện','91'),('912','Huyện Kiên Hải','Huyện','91'),('913','Huyện U Minh Thượng','Huyện','91'),('914','Huyện Giang Thành','Huyện','91'),('916','Quận Ninh Kiều','Quận','92'),('917','Quận Ô Môn','Quận','92'),('918','Quận Bình Thuỷ','Quận','92'),('919','Quận Cái Răng','Quận','92'),('923','Quận Thốt Nốt','Quận','92'),('924','Huyện Vĩnh Thạnh','Huyện','92'),('925','Huyện Cờ Đỏ','Huyện','92'),('926','Huyện Phong Điền','Huyện','92'),('927','Huyện Thới Lai','Huyện','92'),('930','Thành phố Vị Thanh','Thành phố','93'),('931','Thị xã Ngã Bảy','Thị xã','93'),('932','Huyện Châu Thành A','Huyện','93'),('933','Huyện Châu Thành','Huyện','93'),('934','Huyện Phụng Hiệp','Huyện','93'),('935','Huyện Vị Thuỷ','Huyện','93'),('936','Huyện Long Mỹ','Huyện','93'),('937','Thị xã Long Mỹ','Thị xã','93'),('941','Thành phố Sóc Trăng','Thành phố','94'),('942','Huyện Châu Thành','Huyện','94'),('943','Huyện Kế Sách','Huyện','94'),('944','Huyện Mỹ Tú','Huyện','94'),('945','Huyện Cù Lao Dung','Huyện','94'),('946','Huyện Long Phú','Huyện','94'),('947','Huyện Mỹ Xuyên','Huyện','94'),('948','Thị xã Ngã Năm','Thị xã','94'),('949','Huyện Thạnh Trị','Huyện','94'),('950','Thị xã Vĩnh Châu','Thị xã','94'),('951','Huyện Trần Đề','Huyện','94'),('954','Thành phố Bạc Liêu','Thành phố','95'),('956','Huyện Hồng Dân','Huyện','95'),('957','Huyện Phước Long','Huyện','95'),('958','Huyện Vĩnh Lợi','Huyện','95'),('959','Thị xã Giá Rai','Thị xã','95'),('960','Huyện Đông Hải','Huyện','95'),('961','Huyện Hoà Bình','Huyện','95'),('964','Thành phố Cà Mau','Thành phố','96'),('966','Huyện U Minh','Huyện','96'),('967','Huyện Thới Bình','Huyện','96'),('968','Huyện Trần Văn Thời','Huyện','96'),('969','Huyện Cái Nước','Huyện','96'),('970','Huyện Đầm Dơi','Huyện','96'),('971','Huyện Năm Căn','Huyện','96'),('972','Huyện Phú Tân','Huyện','96'),('973','Huyện Ngọc Hiển','Huyện','96');

--
-- Table structure for table `employee_priviledge`
--

CREATE TABLE `employee_priviledge` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `priviledge_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=262 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `employee_priviledge`
--

INSERT INTO `employee_priviledge` VALUES (206,93,3),(207,94,3),(211,95,3),(212,95,1),(213,95,2),(234,101,3),(235,101,2),(236,96,1),(237,96,3),(238,97,1),(239,97,2),(240,97,3),(241,97,5),(242,98,3),(243,98,1),(244,98,2),(245,99,1),(246,99,2),(247,100,3),(254,103,1),(255,103,2),(256,104,1),(257,104,2),(258,104,3),(259,104,5),(260,105,1),(261,105,3);

--
-- Table structure for table `employee_work_branch`
--

CREATE TABLE `employee_work_branch` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) NOT NULL,
  `branch_id` bigint(20) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=212 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `employee_work_branch`
--

INSERT INTO `employee_work_branch` VALUES (168,93,93),(169,94,93),(172,95,93),(189,101,102),(190,101,101),(191,96,101),(192,96,102),(193,97,101),(194,97,102),(195,98,101),(196,98,102),(197,99,101),(198,99,102),(199,100,102),(200,100,101),(206,103,102),(207,103,104),(208,104,102),(209,104,101),(210,105,101),(211,105,102);

--
-- Table structure for table `employees`
--

CREATE TABLE `employees` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `store_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `date_of_birth` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `gender` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `salary_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `salary` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `id_card_num` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `img_url` text COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'http://103.163.118.100/bkrm-api/storage/app/public/employee-images/employee-default.png',
  `employee_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'NV0000',
  `user_name` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customization` longtext COLLATE utf8mb4_unicode_ci DEFAULT '{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: "Light",   menu:"1",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem("BKRMopening") ? sessionStorage.getItem("BKRMopening"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }',
  PRIMARY KEY (`id`),
  UNIQUE KEY `employees_email_unique` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=106 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `employees`
--

INSERT INTO `employees` VALUES (93,'0df27a67-2b5e-41a0-b874-2d1a243d0a16',31,'Le',NULL,NULL,'$2y$10$7VfXVQ8wbJk27wCj.MWcjudzNOgPPJmmM1r08zF/vlO1vkFyDQFX6',NULL,'active',NULL,NULL,'2022-04-17 18:28:23','2022-04-17 18:28:23',NULL,NULL,NULL,NULL,'https://www.cuahangcuatoi.net/bkrm-api/storage/app/public/employee-default.png','NV0001','lyquochai','0938919001','{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: \"Light\",   menu:\"1\",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem(\"BKRMopening\") ? sessionStorage.getItem(\"BKRMopening\"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }'),(94,'4a8fface-59ab-4bcd-a905-ed1cfe5cf406',31,'Le','Le@gmail.com',NULL,'$2y$10$P1JMXjy2z.k5rn7lRGbk8uQQli0V641UmSzzcfv9iTMILUbD02yUG',NULL,'active',NULL,NULL,'2022-04-17 18:30:58','2022-04-17 18:30:58',NULL,NULL,NULL,NULL,'https://www.cuahangcuatoi.net/bkrm-api/storage/app/public/employee-default.png','NV0002','lyquochai2','0938910033','{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: \"Light\",   menu:\"1\",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem(\"BKRMopening\") ? sessionStorage.getItem(\"BKRMopening\"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }'),(95,'8ce6b5d0-b1d3-4c9b-8187-9421e76e1f21',31,'LE',NULL,NULL,'$2y$10$e7SuQ4LR8qjBz/bfG4NWSe507KCmfEvaE2TiMmZWWpkRqDF/vnOqS',NULL,'active',NULL,NULL,'2022-04-18 03:37:54','2022-04-18 03:37:54',NULL,NULL,NULL,NULL,'https://www.cuahangcuatoi.net/bkrm-api/storage/app/public/employee-default.png','NV0003','lyquochai3','0938919001','{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: \"Light\",   menu:\"1\",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem(\"BKRMopening\") ? sessionStorage.getItem(\"BKRMopening\"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }'),(96,'26f1ca97-a3ba-4834-a6b9-f07344d43a5d',34,'Nhan vien A','nvA@gmail.com',NULL,'$2y$10$pnRWn8W3wvlISUcoX5Lg8uUBEpiNpMANRIPGVcvcsCHjfHTGP/Xp2','2000-04-29','active',NULL,NULL,'2022-04-29 12:05:46','2022-05-05 16:49:08',NULL,NULL,NULL,NULL,'https://www.cuahangcuatoi.net/bkrm-api/storage/app/public/employee-images/eJh7yMcvRnzDjpe4AiSpoDo1GtMrfwO0mj6wgTza.png','NV0001','nhanviena','0938919001','{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: \"Light\",   menu:\"1\",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem(\"BKRMopening\") ? sessionStorage.getItem(\"BKRMopening\"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }'),(97,'206ae670-0e64-44dc-9eec-a18d171804fa',34,'Gia Le','le.dang1234@gmail.com',NULL,'$2y$10$jkcouIpU52sn073TbTDacOjNbENzRbgG8/wcX0a2tGmEk2ZYCCzqS',NULL,'active',NULL,NULL,'2022-05-02 04:38:02','2022-05-05 16:49:26',NULL,NULL,NULL,NULL,'https://www.cuahangcuatoi.net/bkrm-api/storage/app/public/employee-images/IbRT9pZLOls5hRwsbFIALs7WIWN0WXGBlFygtlGz.png','NV0002','giale1234','0938919001','{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: \"Light\",   menu:\"1\",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem(\"BKRMopening\") ? sessionStorage.getItem(\"BKRMopening\"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }'),(98,'984efecc-687e-4f18-9d99-c1adf10fa2b5',34,'Quốc Hải','hai.ly1234@gmail.com',NULL,'$2y$10$evnPkqziqFW1zLcKBIoTSuCWNjt7afWQVUVM/cItu.gVtDZ5/0ZDK',NULL,'active',NULL,NULL,'2022-05-05 16:45:49','2022-05-05 16:49:40',NULL,NULL,NULL,NULL,'https://www.cuahangcuatoi.net/bkrm-api/storage/app/public/employee-images/QYRtNKWwszloevx1nXLE0NQNfCXLn4PX9TBM8fbq.png','NV0003','haily1234','0938919001','{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: \"Light\",   menu:\"1\",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem(\"BKRMopening\") ? sessionStorage.getItem(\"BKRMopening\"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }'),(99,'b94ddcdc-bbcb-4234-a247-0991ab515a35',34,'Khang Mai','khangmai1234@gmail.com',NULL,'$2y$10$szs3stjVZ606JaLq4TGc1OqpfsVre0FIVZm8/uKJtqs3OW21Tq.8K',NULL,'active',NULL,NULL,'2022-05-05 16:46:25','2022-05-05 16:49:53',NULL,NULL,NULL,NULL,'https://www.cuahangcuatoi.net/bkrm-api/storage/app/public/employee-images/Y8mBTvvqjfNN13qcKuzXvflnrdtImwDod9UoPldD.png','NV0004','maikhang','0938919002','{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: \"Light\",   menu:\"1\",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem(\"BKRMopening\") ? sessionStorage.getItem(\"BKRMopening\"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }'),(100,'a676969d-0153-401e-bab9-72da9787b418',34,'Kiệt Mai','kietmai@gmail.com',NULL,'$2y$10$uDJGMENmELd92Vpci2vgWeqtB0TU9xGyfqLMn0/l74y4I9la8xOmS',NULL,'active',NULL,NULL,'2022-05-05 16:47:20','2022-05-05 16:50:04',NULL,NULL,NULL,NULL,'https://www.cuahangcuatoi.net/bkrm-api/storage/app/public/employee-images/ZjuhHttUzSxSXHJzIrTABVYKkWk0a2FhufdklQBL.png','NV0005','kietmai','0913622678','{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: \"Light\",   menu:\"1\",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem(\"BKRMopening\") ? sessionStorage.getItem(\"BKRMopening\"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }'),(101,'b68d2eb5-9129-4ec8-9b86-4b5821da002d',34,'Minh Trí','minhtri@gmail.com',NULL,'$2y$10$OI7i4WXRurRBN14LOd..3uGJAOotjSfYTVItPM5CtGjzKKnVKtoKu',NULL,'active',NULL,NULL,'2022-05-05 16:48:28','2022-05-05 16:48:52',NULL,NULL,NULL,NULL,'https://www.cuahangcuatoi.net/bkrm-api/storage/app/public/employee-images/xb5IOwrRbT24Nz4vibV13awwvRGtBpUEUK3sGql0.png','NV0006','minhtri1234','0903603963','{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: \"Light\",   menu:\"1\",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem(\"BKRMopening\") ? sessionStorage.getItem(\"BKRMopening\"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }'),(102,'75245893-c594-4b60-9d97-c1de21262d8f',34,'Minh Quang','quangtran@gmail.com',NULL,'$2y$10$6HTujOinPpDU02SNYLK4He23/b3kfOwcvpybWIyUAFglQXdhAhbDW',NULL,'deleted',NULL,NULL,'2022-05-05 16:56:58','2022-05-05 17:42:49',NULL,NULL,NULL,NULL,'https://www.cuahangcuatoi.net/bkrm-api/storage/app/public/employee-images/TOFh5R0U4DLR6byx3RoOxYF3zscT6XaBmSFIdiEi.png','NV0007','minhquang','0938919999','{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: \"Light\",   menu:\"1\",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem(\"BKRMopening\") ? sessionStorage.getItem(\"BKRMopening\"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }'),(103,'472d42b7-3634-44ac-abb9-36afac5cc89f',34,'LV','lv@gmail.com',NULL,'$2y$10$g3j1Zega2l8Ae1.zdetxruTA2Wk/sgawLaAF3isbj8dRS8DbUkxKu',NULL,'active',NULL,NULL,'2022-05-05 16:57:52','2022-05-05 16:58:03',NULL,NULL,NULL,NULL,'https://www.cuahangcuatoi.net/bkrm-api/storage/app/public/employee-images/aGHP4LxwO1uWDGpKPdmgnWnYqgB5E7yOm3812tRX.png','NV0008','LV','0913622699','{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: \"Light\",   menu:\"1\",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem(\"BKRMopening\") ? sessionStorage.getItem(\"BKRMopening\"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }'),(104,'51dc5859-677e-472b-af46-0a92d3309817',34,'Minh Quang',NULL,NULL,'$2y$10$s4BV.ZHeAfkRO23lA2yTeOG18Qozp8HDKR0AhdsAw79eXGZRh6Tt.',NULL,'active',NULL,NULL,'2022-05-05 17:43:44','2022-05-05 17:43:44',NULL,NULL,NULL,'minhquang1234@gmail.com','https://www.cuahangcuatoi.net/bkrm-api/storage/app/public/employee-images/dSz2bCviHlXuEb17Kof2Pc46GeJjV4U25wWOWHea.png','NV0009','minhquang1234','0913622699','{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: \"Light\",   menu:\"1\",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem(\"BKRMopening\") ? sessionStorage.getItem(\"BKRMopening\"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }'),(105,'f9e2eb26-3d06-4e46-a51c-50929197a4d2',34,'Ly Quoc Hai',NULL,NULL,'$2y$10$O70r.9MW26giFii1G/6ZBOYhdiw8WO7BTwALDmkqArBISdfOJRWES',NULL,'active',NULL,NULL,'2022-05-09 00:34:22','2022-05-09 00:34:22','none',NULL,NULL,NULL,'https://www.cuahangcuatoi.net/bkrm-api/storage/app/public/employee-default.png','NV0010','nhanvien','0847377379','{   fontFamily: `\'Roboto\', sans-serif`,   borderRadius: 12,   mode: \"Light\",   menu:\"1\",   themeBackground: colors.paper,   themeText: colors.grey900,   themeGreyText: colors.grey700,   primaryColor: blue,   secondaryColor: pink,   colorLevel: 50,   isSidebarOpen: null,   itemMenuOpen:  sessionStorage.getItem(\"BKRMopening\") ? sessionStorage.getItem(\"BKRMopening\"):-1 ,   showMenu:[\'salesModule\',\'inventoryModule\',\'hrModule\',\'reportModule\']  }');

--
-- Table structure for table `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`),
  UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `failed_jobs`
--


--
-- Table structure for table `images`
--

CREATE TABLE `images` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `image_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `entity_uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `store_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=513 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `images`
--


--
-- Table structure for table `inventory_check_details`
--

CREATE TABLE `inventory_check_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `inventory_check_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `store_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned NOT NULL,
  `inventory_transaction_id` bigint(20) unsigned DEFAULT NULL,
  `quantity` double NOT NULL,
  `unit_price` double NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_inventory` bigint(20) NOT NULL,
  `batches` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inventory_check_details`
--

INSERT INTO `inventory_check_details` VALUES (51,59,588,32,94,854,-2,0,'2022-04-20 01:55:50','2022-04-20 01:55:50',992,'[]'),(52,60,561,31,93,870,-1,10000,'2022-04-22 07:48:42','2022-04-22 07:48:42',6,'[]');

--
-- Table structure for table `inventory_checks`
--

CREATE TABLE `inventory_checks` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_by` bigint(20) unsigned NOT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `store_id` bigint(20) unsigned NOT NULL,
  `approved_date` datetime DEFAULT NULL,
  `notes` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_user_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `inventory_check_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_amount` bigint(20) NOT NULL,
  `created_user_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=61 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inventory_checks`
--

INSERT INTO `inventory_checks` VALUES (59,'54b5e046-5fe3-4561-9148-414d1bb0aa94',32,32,32,NULL,NULL,'',94,'2022-04-20 01:55:50','2022-04-20 01:55:50','owner','KK000001',0,'Phuong VN'),(60,'a3d42f2e-cd5f-48d0-8069-888b3e43987e',31,31,31,NULL,NULL,'',93,'2022-04-22 07:48:42','2022-04-22 07:48:42','owner','KK000001',-10000,'Ly Quoc Hai');

--
-- Table structure for table `inventory_document_types`
--

CREATE TABLE `inventory_document_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) 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=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inventory_document_types`
--

INSERT INTO `inventory_document_types` VALUES (1,'purchase_order',NULL,NULL);

--
-- Table structure for table `inventory_transactions`
--

CREATE TABLE `inventory_transactions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `store_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `quantity` bigint(20) NOT NULL,
  `branch_id` bigint(20) unsigned NOT NULL,
  `transaction_type` varchar(255) 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=972 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inventory_transactions`
--

INSERT INTO `inventory_transactions` VALUES (705,'6ec6a5c8-8dd3-4120-9099-207d9a7ef8a8',31,561,1,93,'sold','2022-04-14 03:32:23','2022-04-14 03:32:23'),(706,'087c8470-ce55-4597-9f88-3219c3884f09',31,561,3,93,'sold','2022-04-14 05:17:23','2022-04-14 05:17:23'),(707,'5998d3ae-2cb3-4b0a-b0f0-6ed1ce8556cb',31,561,1,93,'supplier_returned','2022-04-14 05:39:41','2022-04-14 05:39:41'),(708,'376668e3-934c-4843-a8b8-daff2dec7e6d',31,561,2,93,'supplier_returned','2022-04-14 05:40:17','2022-04-14 05:40:17'),(709,'a45da870-7ce4-40a9-a01a-b48851220b1a',32,564,2,94,'sold','2022-04-14 06:46:36','2022-04-14 06:46:36'),(710,'5ea7e72c-9a2f-4cfc-bf41-bb568f40bcd0',32,565,2,94,'sold','2022-04-14 06:46:36','2022-04-14 06:46:36'),(711,'01411d3c-9394-4589-91aa-d97b23fbf758',32,564,2,94,'sold','2022-04-14 06:55:08','2022-04-14 06:55:08'),(712,'1d83b7b3-8339-4d96-ad60-98c76e73e91f',32,565,2,94,'sold','2022-04-14 06:55:08','2022-04-14 06:55:08'),(713,'1c991626-ac28-4f98-a2b1-96a6cf14b859',32,564,-6,94,'balance','2022-04-14 07:03:42','2022-04-14 07:03:42'),(714,'59d5c3c9-e41a-4c7c-a13f-a0947a03b728',31,561,2,93,'sold','2022-04-14 12:59:59','2022-04-14 12:59:59'),(715,'7e3f175e-c99c-4c81-9a76-b34600c77261',31,561,2,93,'sold','2022-04-14 13:03:02','2022-04-14 13:03:02'),(716,'25892b0e-19cc-4e70-b160-8e64c3097ae0',31,561,2,93,'sold','2022-04-14 13:06:28','2022-04-14 13:06:28'),(717,'4d4b6b0a-e179-474e-a2ad-854be43008ed',31,562,4,93,'sold','2022-04-14 13:12:21','2022-04-14 13:12:21'),(718,'00af0e3d-4dad-4b96-a915-e00ae50d12fe',31,562,4,93,'sold','2022-04-14 15:27:46','2022-04-14 15:27:46'),(719,'25922405-fd84-492b-89f6-d9c75fd36833',31,562,4,93,'sold','2022-04-14 15:30:32','2022-04-14 15:30:32'),(720,'3b2959fa-3fc3-4e47-961d-7905d991ba2b',31,561,1,93,'sold','2022-04-15 05:02:46','2022-04-15 05:02:46'),(721,'3edc3127-613e-4988-bf14-7c7691fc7c17',31,561,1,93,'sold','2022-04-15 05:03:17','2022-04-15 05:03:17'),(722,'1ebee69f-df23-4a9e-81db-7a0711181547',31,561,1,93,'sold','2022-04-15 05:03:37','2022-04-15 05:03:37'),(723,'64a78f3b-c1b8-4f36-ae6f-182399cd0832',31,561,1,93,'sold','2022-04-15 05:40:25','2022-04-15 05:40:25'),(724,'a7b530f2-4973-4c58-ad48-38ff86c3aafd',31,562,1,93,'purchased','2022-04-15 10:59:41','2022-04-15 10:59:41'),(725,'51fc0fc7-6d3f-42bf-bc48-89b7b586aff0',31,561,10,93,'purchased','2022-04-15 10:59:41','2022-04-15 10:59:41'),(726,'241165d2-2c24-4c61-ba7b-5ea55adcbf8c',31,569,6,93,'sold','2022-04-15 10:59:46','2022-04-15 10:59:46'),(727,'337ea9c3-3420-4647-a09d-ee2bb2786c6c',31,561,1,93,'sold','2022-04-15 10:59:46','2022-04-15 10:59:46'),(728,'eae41f3d-e4a7-49c6-a404-86ee89e4d89f',31,562,1,93,'sold','2022-04-15 16:57:13','2022-04-15 16:57:13'),(729,'93aa1231-c266-4fe3-89f3-548782e403da',31,562,1,93,'sold','2022-04-15 17:00:47','2022-04-15 17:00:47'),(730,'4bd70505-ab8d-4deb-a664-3fa6aed36bb8',31,562,1,93,'sold','2022-04-15 17:08:40','2022-04-15 17:08:40'),(731,'5ade3d2d-5591-4326-90af-30403a1e9b17',31,562,3,93,'sold','2022-04-15 17:09:35','2022-04-15 17:09:35'),(732,'c35c5cc2-3a6d-4f68-9041-33cc316a33aa',31,562,1,93,'sold','2022-04-16 00:42:37','2022-04-16 00:42:37'),(733,'725771ac-7927-49e2-8337-ccfa4e1c19cc',31,562,12,93,'sold','2022-04-16 00:43:37','2022-04-16 00:43:37'),(734,'24d72266-d004-4525-ad78-39cdb5897198',31,562,11,93,'sold','2022-04-16 00:44:09','2022-04-16 00:44:09'),(735,'be212cfa-d98d-4070-b807-93e0be7096cc',31,562,10,93,'sold','2022-04-16 00:44:21','2022-04-16 00:44:21'),(736,'a6328162-7c25-48d9-a32b-6c6dc3363b26',31,562,11,93,'sold','2022-04-16 00:44:39','2022-04-16 00:44:39'),(737,'ad1185e8-7372-4bec-9dc5-ac9e9b9b5f88',31,571,2,93,'sold','2022-04-16 03:24:55','2022-04-16 03:24:55'),(738,'ebaebb4f-0773-4fdc-a73b-5689e58fd90c',31,561,1,93,'sold','2022-04-16 10:17:54','2022-04-16 10:17:54'),(739,'65650d2f-fddd-4f01-b825-9eca29426669',31,562,1,93,'sold','2022-04-16 10:17:54','2022-04-16 10:17:54'),(740,'d1d04115-5e33-4552-bd0b-9a52a5ab138a',31,571,1,93,'sold','2022-04-16 10:17:54','2022-04-16 10:17:54'),(741,'28c94fbc-6c0f-4164-8c28-e323909294e1',31,561,1,93,'sold','2022-04-16 10:48:42','2022-04-16 10:48:42'),(742,'78dd1092-54f2-40ae-b806-5c44391ba96e',31,562,1,93,'sold','2022-04-16 10:48:42','2022-04-16 10:48:42'),(743,'37807f3b-fa74-46ff-ba00-5f5025965890',31,566,1,93,'sold','2022-04-16 10:48:42','2022-04-16 10:48:42'),(744,'7c51e9a7-85d4-4c65-88dd-eae8f882589c',31,568,1,93,'sold','2022-04-16 10:48:42','2022-04-16 10:48:42'),(745,'fa7edc1a-059d-408e-b344-fbc9a2f57fe1',31,569,1,93,'sold','2022-04-16 10:48:42','2022-04-16 10:48:42'),(746,'1ea5804c-ab22-4248-ad1f-b460e013abd5',31,570,1,93,'sold','2022-04-16 10:48:42','2022-04-16 10:48:42'),(747,'b28bddb1-050a-4c6a-9d17-465dff9dfb7f',31,563,0,93,'sold','2022-04-16 10:48:42','2022-04-16 10:48:42'),(748,'a8e2475c-d3b8-4972-aa15-7a162e81f187',31,567,0,93,'sold','2022-04-16 10:48:42','2022-04-16 10:48:42'),(749,'a42b85d4-6c74-408a-afba-1b3ee9016dd6',31,561,1,93,'purchased','2022-04-16 11:56:02','2022-04-16 11:56:02'),(750,'5096713a-fb79-42b8-ae97-8111c586ba02',31,562,21,93,'purchased','2022-04-16 11:56:02','2022-04-16 11:56:02'),(751,'413b24b8-982b-43e5-9934-3d827fddefa0',31,569,1,93,'purchased','2022-04-16 11:56:02','2022-04-16 11:56:02'),(752,'2316faa7-cdf1-45bc-a721-b794b0128046',31,570,1,93,'purchased','2022-04-16 11:56:02','2022-04-16 11:56:02'),(753,'5fa25083-12ef-4541-a819-31ee97dd79c4',31,561,1,93,'sold','2022-04-17 10:08:18','2022-04-17 10:08:18'),(754,'52a1a0ba-aaac-4bc6-a169-b6103975399b',31,561,1,93,'purchased','2022-04-17 10:29:41','2022-04-17 10:29:41'),(755,'62b7016f-b9dd-4ad9-bb9e-28f2554f85c4',31,563,0,93,'sold','2022-04-17 10:31:13','2022-04-17 10:31:13'),(756,'a6ce32db-6236-416d-8780-6b592dbacf30',31,561,1,93,'sold','2022-04-17 10:34:58','2022-04-17 10:34:58'),(757,'f30da9f2-7e90-4ea5-af5c-ff766ae71a4d',31,561,1,93,'sold','2022-04-17 10:37:12','2022-04-17 10:37:12'),(758,'495741ae-211a-4ddd-b89d-b6c2191d2e00',31,561,1,93,'sold','2022-04-17 10:45:22','2022-04-17 10:45:22'),(759,'3afc46c9-b926-4e10-96eb-b94887d2bcf1',31,562,1,93,'sold','2022-04-17 10:45:22','2022-04-17 10:45:22'),(760,'a2c88e83-ad8f-4d20-bcf5-da978edbd0f7',31,562,1,93,'sold','2022-04-17 10:52:17','2022-04-17 10:52:17'),(761,'c9660e58-cfd5-4343-8b74-6ac9e646a24a',31,561,1,93,'sold','2022-04-17 11:36:08','2022-04-17 11:36:08'),(762,'0b834efe-59d4-439f-bf3f-4efbbf9a53dd',31,561,1,93,'purchased','2022-04-17 11:36:32','2022-04-17 11:36:32'),(763,'f76de933-9b16-4ef7-bfe4-dbe6c84bec3c',31,562,1,93,'purchased','2022-04-17 11:36:32','2022-04-17 11:36:32'),(764,'f7ce214e-89b3-4f96-a70c-8246094f33e5',31,566,1,93,'purchased','2022-04-17 11:36:32','2022-04-17 11:36:32'),(765,'01c45ea9-d513-48ca-8787-b1f8230d16a0',31,561,1,93,'sold','2022-04-17 12:13:23','2022-04-17 12:13:23'),(766,'efa0ee50-62ee-4f3b-b886-b51769e1daea',31,561,1,93,'sold','2022-04-17 12:13:37','2022-04-17 12:13:37'),(767,'3fbe8bfb-c0ca-4a4b-ab08-4bd90d7cd703',31,561,1,93,'supplier_returned','2022-04-17 16:27:03','2022-04-17 16:27:03'),(768,'da9d7416-ac53-461d-aacf-83d64590715f',31,562,1,93,'sold','2022-04-17 16:41:41','2022-04-17 16:41:41'),(769,'d348a814-8d3a-4d24-8f4c-d0afa3a9a9da',31,568,3,93,'sold','2022-04-17 16:41:41','2022-04-17 16:41:41'),(770,'685597be-03a1-48ce-9a92-68b8ac593cbf',31,572,1,93,'sold','2022-04-17 16:41:41','2022-04-17 16:41:41'),(771,'51fc47e6-b6f0-409d-892a-0c5e5366f4d0',31,561,1,93,'sold','2022-04-17 16:41:41','2022-04-17 16:41:41'),(772,'606c3c68-1221-4334-9aeb-bca55b2926d1',31,572,1,93,'sold','2022-04-17 17:18:59','2022-04-17 17:18:59'),(773,'0ec3c1e1-8fe5-4f56-bffd-d285d76748ce',31,566,1,93,'sold','2022-04-17 20:03:13','2022-04-17 20:03:13'),(774,'cdbda8ee-767b-4d81-89f3-0f4cc407103d',31,561,1,93,'sold','2022-04-18 10:26:07','2022-04-18 10:26:07'),(775,'83534329-9ffe-4ece-b313-c5ce3050caa1',31,561,1,93,'sold','2022-04-18 10:26:39','2022-04-18 10:26:39'),(776,'ca15582e-ae02-4af5-a03d-01df2f65435b',31,562,1,93,'sold','2022-04-18 10:29:44','2022-04-18 10:29:44'),(777,'314b0249-95cb-4fba-b805-147345477a14',31,562,3,93,'sold','2022-04-18 15:27:59','2022-04-18 15:27:59'),(778,'8649733e-b693-4f63-b2eb-d0662358005c',31,566,1,93,'sold','2022-04-19 08:56:50','2022-04-19 08:56:50'),(779,'acbd7983-dfdb-4b06-b522-b1d61ed19f2d',31,561,1,93,'purchased','2022-04-19 09:33:48','2022-04-19 09:33:48'),(780,'59cac30a-7b54-4c0d-b740-22d9ab6720ec',31,561,1,93,'purchased','2022-04-19 09:36:44','2022-04-19 09:36:44'),(781,'ddf1c895-04ec-4521-8c98-cd7514c0e7f3',31,562,1,93,'purchased','2022-04-19 09:40:12','2022-04-19 09:40:12'),(782,'9b4063ed-98e6-4b69-8429-8172d08d6c91',31,561,1,93,'purchased','2022-04-19 09:41:09','2022-04-19 09:41:09'),(783,'4ed81f15-25bb-4b61-89a1-440b1bd7e6f3',31,561,1,93,'purchased','2022-04-19 10:47:07','2022-04-19 10:47:07'),(784,'df1e33b1-4d05-4131-9078-358483114ef4',31,561,1,93,'sold','2022-04-19 12:41:35','2022-04-19 12:41:35'),(785,'e1306b29-f776-4753-bb0d-b1c291803ae9',31,562,1,93,'sold','2022-04-19 12:41:35','2022-04-19 12:41:35'),(786,'68cbc5c4-745f-4cb5-90da-18afd81ca6d2',31,562,1,93,'sold','2022-04-19 12:41:47','2022-04-19 12:41:47'),(787,'9c9da7eb-1ed3-49d2-9ce7-5610a2b49cda',31,562,1,93,'sold','2022-04-19 12:42:13','2022-04-19 12:42:13'),(788,'369d15f2-4591-48b8-91f3-624842ee26f0',31,562,1,93,'sold','2022-04-19 13:37:35','2022-04-19 13:37:35'),(789,'43efcc29-a1ff-45a4-81e6-7d96214262a3',31,561,1,93,'sold','2022-04-19 13:38:23','2022-04-19 13:38:23'),(790,'90454f23-8997-4963-835d-8496527852f9',31,561,1,93,'sold','2022-04-19 13:39:16','2022-04-19 13:39:16'),(791,'c2b7082a-0945-4d40-993d-da15b8b5b86c',31,561,1,93,'sold','2022-04-19 13:40:24','2022-04-19 13:40:24'),(792,'347c37d7-cb14-4e67-a84c-4e6e4fa353ba',31,561,1,93,'sold','2022-04-19 13:41:53','2022-04-19 13:41:53'),(793,'19d78da3-bfd1-4c0c-9309-c738bf1b025e',31,561,1,93,'sold','2022-04-19 13:42:11','2022-04-19 13:42:11'),(794,'6f42bb57-4698-4998-8a10-bff80165b3e1',31,561,1,93,'sold','2022-04-19 13:42:54','2022-04-19 13:42:54'),(795,'f34027aa-13b3-4110-8400-f1d59bcc6048',31,562,1,93,'sold','2022-04-19 13:51:57','2022-04-19 13:51:57'),(796,'151956df-d3d4-4745-aeb9-ae260d2d3336',31,561,1,93,'sold','2022-04-19 13:53:13','2022-04-19 13:53:13'),(797,'1df258bd-8667-467e-9967-08032e0211a0',31,561,4,93,'sold','2022-04-19 13:53:25','2022-04-19 13:53:25'),(798,'3606aa24-334e-4c6a-b2b5-990aaa8aadc4',31,562,1,93,'sold','2022-04-19 13:53:25','2022-04-19 13:53:25'),(799,'8dfe778b-6a35-4ff3-92f3-f15e179ec4ec',31,561,4,93,'sold','2022-04-19 13:54:05','2022-04-19 13:54:05'),(800,'a1008ecf-caa1-45d7-b69d-522b0755c1a6',31,562,1,93,'sold','2022-04-19 13:54:05','2022-04-19 13:54:05'),(801,'abcabbab-7ac6-4e1e-87b3-597c622b037f',31,562,2,93,'sold','2022-04-19 13:54:47','2022-04-19 13:54:47'),(802,'5524237a-d926-451c-b8ce-6315408bb7e9',31,568,1,93,'sold','2022-04-19 13:54:47','2022-04-19 13:54:47'),(803,'2bc3a0ea-0d70-4a5d-bf9d-75adcdbd5c91',31,561,1,93,'purchased','2022-04-19 14:00:36','2022-04-19 14:00:36'),(804,'535bad83-0024-4043-8ede-62a8e5707941',31,562,1,93,'supplier_returned','2022-04-19 14:00:55','2022-04-19 14:00:55'),(805,'23676556-4b86-42a9-9cc1-4c9c22488b19',31,568,0,93,'supplier_returned','2022-04-19 14:00:55','2022-04-19 14:00:55'),(806,'b2dbe538-f4ac-4506-a0bb-cda32c4003e7',31,561,1,93,'sold','2022-04-19 14:34:14','2022-04-19 14:34:14'),(807,'3b9c6d72-1358-4b35-bfbf-b41e24a5f3c4',31,561,1,93,'sold','2022-04-19 14:56:12','2022-04-19 14:56:12'),(808,'9d458cc5-1e94-4b85-8a01-3b4624129d36',31,561,1,93,'sold','2022-04-19 15:00:48','2022-04-19 15:00:48'),(809,'49903bcb-e2d5-4622-a078-9bee6cbfe86c',31,561,1,93,'sold','2022-04-19 15:30:21','2022-04-19 15:30:21'),(810,'fcf7bd3e-85c7-4422-952e-8558434a91c5',31,561,6,93,'purchased','2022-04-19 15:34:11','2022-04-19 15:34:11'),(811,'d2714d8b-4d07-4f30-bbc3-ad22de39a893',31,562,1,93,'sold','2022-04-19 15:38:03','2022-04-19 15:38:03'),(812,'fe7a0fde-dcb0-4633-9dee-d6227c67c3bd',31,561,1,93,'sold','2022-04-19 15:51:35','2022-04-19 15:51:35'),(813,'acd6e6af-3ef2-4700-99ae-617897952511',31,562,1,93,'sold','2022-04-19 15:52:20','2022-04-19 15:52:20'),(814,'eda60cc8-0124-4723-9630-a806bbac3b81',31,562,1,93,'sold','2022-04-19 15:52:30','2022-04-19 15:52:30'),(815,'984c1447-e0f1-4248-9540-ec08a4d40e37',31,585,1,93,'sold','2022-04-19 16:09:30','2022-04-19 16:09:30'),(816,'48535db7-75dc-41fa-8e44-cb898e17d5b5',31,568,1,93,'sold','2022-04-19 16:09:30','2022-04-19 16:09:30'),(817,'d179b454-c02b-41af-8321-8ae3b15cc190',31,585,1,93,'sold','2022-04-19 16:10:06','2022-04-19 16:10:06'),(818,'548b8a43-e31d-4172-b934-66dfa6f3c1b6',31,568,1,93,'sold','2022-04-19 16:10:06','2022-04-19 16:10:06'),(819,'fabc8bd1-6572-4584-8494-b8e7039bb705',31,585,1,93,'sold','2022-04-19 16:23:23','2022-04-19 16:23:23'),(820,'6d3b7659-b016-4002-b5a5-94586c7b90aa',31,568,1,93,'sold','2022-04-19 16:23:23','2022-04-19 16:23:23'),(821,'0226689c-6061-49a1-89e2-fc54928b8a60',31,561,1,93,'sold','2022-04-19 16:31:30','2022-04-19 16:31:30'),(822,'3b9ed0d8-48af-45b9-aeca-0fdd9fef914b',31,562,13,93,'purchased','2022-04-19 16:34:03','2022-04-19 16:34:03'),(823,'260c3856-163b-4585-93a9-45cc363ac1cb',31,566,7,93,'purchased','2022-04-19 16:34:53','2022-04-19 16:34:53'),(824,'6727b249-64f3-4a73-9d7a-9af101c8bb28',31,566,7,93,'purchased','2022-04-19 16:35:52','2022-04-19 16:35:52'),(825,'ba67237a-528c-4cdb-a9ec-41d38d8ec056',31,561,14,93,'purchased','2022-04-19 16:36:16','2022-04-19 16:36:16'),(826,'27a10bec-7eb2-4331-ac32-76443818d425',31,561,1,93,'sold','2022-04-19 22:59:39','2022-04-19 22:59:39'),(827,'8b76c3f7-0cde-4827-bf54-95789812109d',31,561,1,93,'purchased','2022-04-19 23:01:03','2022-04-19 23:01:03'),(828,'b3ee8525-dd3e-465f-9466-9a129ce932df',31,561,1,93,'purchased','2022-04-19 23:01:21','2022-04-19 23:01:21'),(829,'395fc60e-f514-46f5-a94c-45284790edae',31,561,1,93,'purchased','2022-04-19 23:12:52','2022-04-19 23:12:52'),(830,'6c0757be-2ebc-489e-b4d2-f6c2669ae623',31,568,1,93,'sold','2022-04-19 23:13:29','2022-04-19 23:13:29'),(831,'a6e8bcb5-b6c4-428f-83b8-15240e4c00f1',31,561,1,93,'purchased','2022-04-19 23:15:29','2022-04-19 23:15:29'),(832,'3d2706a0-3bc2-4ac9-a7e3-77c5aebdb40c',31,561,10,93,'purchased','2022-04-19 23:15:49','2022-04-19 23:15:49'),(833,'0580b995-130c-4b4b-811b-ffa94f16fa7f',31,561,10,93,'purchased','2022-04-19 23:15:57','2022-04-19 23:15:57'),(834,'9d95e6f8-cdca-4a9a-ad49-7604a8eaa339',31,587,10,93,'purchased','2022-04-19 23:26:09','2022-04-19 23:26:09'),(835,'645aeb6d-5a21-4871-b62c-6c7c52aa1518',32,564,4,94,'sold','2022-04-19 23:26:35','2022-04-19 23:26:35'),(836,'a6e6ab54-5025-4a51-842e-a3d6b9c7c987',32,565,3,94,'sold','2022-04-19 23:26:35','2022-04-19 23:26:35'),(837,'0b7935a9-6ee8-43ac-9d0f-18690f7fef46',31,561,4,93,'sold','2022-04-20 00:08:36','2022-04-20 00:08:36'),(838,'b47b5a3a-5b70-400a-b4f1-37b44744f13a',31,587,1,93,'sold','2022-04-20 00:28:06','2022-04-20 00:28:06'),(839,'ebac793d-eac6-4ee7-860a-cd4f20caf353',31,587,1,93,'supplier_returned','2022-04-20 00:44:54','2022-04-20 00:44:54'),(840,'15233dd7-7f49-4135-a471-6af56b07b201',31,587,1,93,'supplier_returned','2022-04-20 00:47:26','2022-04-20 00:47:26'),(841,'8797746f-9d43-4a4f-85a0-4fbbf9e4203b',32,588,1000,94,'purchased','2022-04-20 01:18:44','2022-04-20 01:18:44'),(842,'5d382209-d41f-4587-9e61-13e5f0620a3a',32,588,1,94,'sold','2022-04-20 01:20:11','2022-04-20 01:20:11'),(843,'7746afed-30c3-41cc-859c-7e9d329cc7c3',32,588,1,94,'sold','2022-04-20 01:21:10','2022-04-20 01:21:10'),(844,'416d2f74-836c-4a91-b4a7-7d7b07f51493',32,588,3,94,'sold','2022-04-20 01:35:12','2022-04-20 01:35:12'),(845,'a5695e60-3890-4b81-a319-39901340a1d4',32,589,2,94,'sold','2022-04-20 01:35:12','2022-04-20 01:35:12'),(846,'0ed176ce-5863-456d-a4e9-cf34b1f90ace',32,589,2,94,'purchased','2022-04-20 01:35:43','2022-04-20 01:35:43'),(847,'40895089-e246-4986-afba-79a4767dc3f2',32,589,10,94,'purchased','2022-04-20 01:40:29','2022-04-20 01:40:29'),(848,'ab5733c8-1807-42c8-aa2d-4bad02bab92c',32,588,1,94,'sold','2022-04-20 01:41:28','2022-04-20 01:41:28'),(849,'87ada478-232e-4543-b478-e26953420b3d',32,590,1,94,'sold','2022-04-20 01:41:28','2022-04-20 01:41:28'),(850,'9c57f030-30b1-410f-8a48-d04a745425e0',32,588,1,94,'sold','2022-04-20 01:44:08','2022-04-20 01:44:08'),(851,'02f875d9-28c0-416f-9514-152fe5be741e',32,589,1,94,'sold','2022-04-20 01:44:08','2022-04-20 01:44:08'),(852,'3e07d721-adef-4a56-8e58-0a88b952b3cd',32,588,1,94,'sold','2022-04-20 01:45:02','2022-04-20 01:45:02'),(853,'d040f146-92b6-4368-a4e4-d7c5fb244939',32,589,1,94,'sold','2022-04-20 01:45:02','2022-04-20 01:45:02'),(854,'84b200c6-09ae-4f83-b6be-aebd5eed39b3',32,588,-2,94,'balance','2022-04-20 01:55:50','2022-04-20 01:55:50'),(855,'0c63c6bb-f882-4fc1-8f87-ed7a5551337a',32,589,1,94,'sold','2022-04-20 02:16:35','2022-04-20 02:16:35'),(856,'91fca678-996d-4b98-bfc8-e68390b3f92f',32,591,1,94,'sold','2022-04-20 02:25:28','2022-04-20 02:25:28'),(857,'3ec25042-b333-4867-b2fa-659a0d1946a0',32,591,1,94,'sold','2022-04-20 02:25:28','2022-04-20 02:25:28'),(858,'6b960eb0-6286-4f21-8fed-3beef98e3753',32,588,2,94,'sold','2022-04-20 02:58:49','2022-04-20 02:58:49'),(859,'17f63e09-391a-48ee-902b-cd5d4d36b83d',32,589,2,94,'sold','2022-04-20 02:58:49','2022-04-20 02:58:49'),(860,'4175ffb3-91ca-4320-bf14-6df130b6eb54',32,590,2,94,'sold','2022-04-20 02:58:49','2022-04-20 02:58:49'),(861,'9284f09d-7521-4aed-b9ab-beb5acc85069',31,561,1,93,'sold','2022-04-20 10:20:34','2022-04-20 10:20:34'),(862,'c7f43b5d-cfbf-4204-be3a-a24f22ba6d23',31,569,4,93,'sold','2022-04-20 10:20:34','2022-04-20 10:20:34'),(863,'4d2f4e9e-ad93-474e-88a0-b4848a26acc5',31,562,1,93,'sold','2022-04-20 10:20:46','2022-04-20 10:20:46'),(864,'b058d470-9feb-421e-bbb0-ef7b4427a1e3',31,561,1,93,'sold','2022-04-20 13:54:19','2022-04-20 13:54:19'),(865,'f0f0903d-680a-44f2-b047-897045db4777',31,561,1,93,'purchased','2022-04-21 06:38:50','2022-04-21 06:38:50'),(866,'bfd7c2ca-057b-41b4-9779-f5aed6506546',31,561,1,93,'supplier_returned','2022-04-21 08:11:37','2022-04-21 08:11:37'),(867,'502f170d-61a8-425b-9b7f-1330e9ef8862',31,561,2,93,'sold','2022-04-21 08:32:39','2022-04-21 08:32:39'),(868,'c734a89f-8ccd-4a6e-a499-cda942038a20',31,561,1,93,'supplier_returned','2022-04-22 06:35:02','2022-04-22 06:35:02'),(869,'495e62b0-8c31-4ab2-88e5-f9c29a3e6365',31,561,1,93,'supplier_returned','2022-04-22 06:36:19','2022-04-22 06:36:19'),(870,'e5f3b3d4-858b-4e4d-b289-d4c358cbfdf5',31,561,-1,93,'balance','2022-04-22 07:48:42','2022-04-22 07:48:42'),(871,'865a12a3-50d2-4e99-b42e-571cee63f284',31,561,5,93,'sold','2022-04-22 08:21:39','2022-04-22 08:21:39'),(872,'154d9dea-1c13-4635-a7ac-70b367ac22c6',31,561,1,93,'supplier_returned','2022-04-22 09:45:24','2022-04-22 09:45:24'),(873,'517d6a3c-bd6b-4672-adaa-0745677693ee',31,562,8,93,'sold','2022-04-22 15:35:03','2022-04-22 15:35:03'),(874,'78543930-d795-4d0f-8c60-a14cf0558ab2',31,579,3,93,'sold','2022-04-22 23:15:22','2022-04-22 23:15:22'),(875,'51ecce23-b011-47fc-a9a2-ac11101ca610',31,561,2,93,'sold','2022-04-22 23:15:57','2022-04-22 23:15:57'),(876,'76774fda-d072-4838-acca-4a1b78adaf62',31,561,4,93,'sold','2022-04-22 23:16:48','2022-04-22 23:16:48'),(877,'1180a211-2a4f-478e-91c5-e454da2d368b',34,595,5,101,'purchased','2022-04-24 03:50:52','2022-04-24 03:50:52'),(878,'515cec9d-a4a4-4c22-ba80-724b7c2db116',34,597,20,101,'purchased','2022-04-24 03:50:52','2022-04-24 03:50:52'),(879,'9466bd1e-01d5-4f9b-a534-dec2ff4e088f',34,599,1,101,'purchased','2022-04-24 03:50:52','2022-04-24 03:50:52'),(880,'0399e477-5c1f-4e5d-af5b-8a8c857c70db',34,595,1,101,'sold','2022-04-24 04:52:26','2022-04-24 04:52:26'),(881,'718a3ffd-e809-469d-b4c3-e94170a097a8',34,615,2,102,'purchased','2022-04-24 05:48:40','2022-04-24 05:48:40'),(882,'866dbc19-ab07-4897-b2b9-5b1d606771f1',34,620,20,101,'purchased','2022-04-24 06:01:36','2022-04-24 06:01:36'),(883,'b8a8926c-9af1-4939-b4f7-f38a50411e10',34,596,1,101,'sold','2022-04-24 11:08:02','2022-04-24 11:08:02'),(884,'c54f3e4f-48b2-4da0-8a5a-eac0ee517d91',34,595,1,101,'sold','2022-04-24 11:08:02','2022-04-24 11:08:02'),(885,'b19b0aa9-fa20-473a-b5cc-deeb098841ce',34,595,3,101,'sold','2022-04-24 11:13:22','2022-04-24 11:13:22'),(886,'8b374e68-0b0f-45a7-8945-8a66ac65e0b0',34,595,3,101,'sold','2022-04-24 11:15:24','2022-04-24 11:15:24'),(887,'52233f0c-7877-4c0a-aba6-f6b68e14b8fd',34,595,1,101,'sold','2022-04-24 11:16:11','2022-04-24 11:16:11'),(888,'a935493b-0162-426c-be48-67d0b9c7d16d',34,620,15,101,'sold','2022-04-24 11:32:41','2022-04-24 11:32:41'),(889,'834daf8b-2ee6-4638-8911-f4be09dcd179',34,620,15,101,'sold','2022-04-24 11:34:36','2022-04-24 11:34:36'),(890,'7758b705-329b-4797-9252-ad2fa691c063',34,620,15,101,'sold','2022-04-24 11:36:40','2022-04-24 11:36:40'),(891,'8942b7a5-7060-4815-a366-f467a2367512',34,620,15,101,'sold','2022-04-24 11:38:25','2022-04-24 11:38:25'),(892,'2ef80c15-3011-422a-bc7f-308784ebec3c',34,620,10,101,'purchased','2022-04-24 12:06:26','2022-04-24 12:06:26'),(893,'3061ff7c-6ccd-4e0b-9efb-6a5f1602d01b',34,620,35,101,'purchased','2022-04-24 12:55:36','2022-04-24 12:55:36'),(894,'e0eea95c-8318-4722-93ab-a2f23576f984',34,620,2,101,'sold','2022-04-24 23:13:39','2022-04-24 23:13:39'),(895,'937446a2-6dd2-418f-8dcf-bb6f2ad300e0',34,595,1,101,'sold','2022-04-24 23:15:52','2022-04-24 23:15:52'),(896,'b49d94fe-8eca-403f-b0da-e8ae2b0aea52',34,597,4,101,'sold','2022-04-24 23:15:52','2022-04-24 23:15:52'),(897,'0b263a70-2df6-4e7c-9ccd-2205dee4f004',34,595,2,101,'sold','2022-04-24 23:31:26','2022-04-24 23:31:26'),(898,'45be856e-3911-413f-b711-a93d84430e26',34,597,5,101,'sold','2022-04-24 23:31:26','2022-04-24 23:31:26'),(899,'0b68cb62-c0ed-4345-b5e6-a6f5a2d1a6b7',34,595,1,101,'supplier_returned','2022-04-24 23:35:57','2022-04-24 23:35:57'),(900,'131eb8c6-58d3-40db-b906-c6b54f0e8ad2',34,597,2,101,'supplier_returned','2022-04-24 23:35:57','2022-04-24 23:35:57'),(901,'0800defa-2205-42ed-9bd3-4be0887eaf5c',34,595,5,101,'purchased','2022-04-25 00:40:19','2022-04-25 00:40:19'),(902,'1e127ea8-1d55-419c-9e8d-79b234ba0653',34,595,3,101,'supplier_returned','2022-04-25 05:49:06','2022-04-25 05:49:06'),(903,'8ea1a1e6-c6d3-4bb0-a144-2fdb560a0cb2',34,597,2,101,'supplier_returned','2022-04-25 05:49:06','2022-04-25 05:49:06'),(904,'7aa4a430-293e-438b-aa2b-7a9c29501029',34,599,1,101,'supplier_returned','2022-04-25 05:49:06','2022-04-25 05:49:06'),(905,'3c832c65-97f2-48e0-bc8d-e8c3eec8f629',34,620,3,101,'supplier_returned','2022-04-25 05:56:26','2022-04-25 05:56:26'),(906,'e52f1e43-e081-4c37-9082-94b096cba36a',34,620,1,101,'sold','2022-04-25 06:15:37','2022-04-25 06:15:37'),(907,'7e630dc9-2af9-4ebc-8782-3d55f84f0112',34,616,1,101,'sold','2022-04-25 06:15:37','2022-04-25 06:15:37'),(908,'139cc291-efa3-4016-a433-d560bb8fff01',31,562,2,93,'sold','2022-04-29 16:12:13','2022-04-29 16:12:13'),(909,'953abfc0-1165-4187-a910-8f1593465737',31,562,1,93,'supplier_returned','2022-04-29 16:13:31','2022-04-29 16:13:31'),(910,'6f7782f0-8485-42a5-b507-a045810f5c12',31,562,1,93,'supplier_returned','2022-04-29 16:13:55','2022-04-29 16:13:55'),(911,'356cda35-5bcd-45c7-a998-003d8e2f70e8',31,562,1,93,'supplier_returned','2022-04-29 16:14:21','2022-04-29 16:14:21'),(912,'61af122c-e9e2-4957-a9f5-e9aa7517e789',31,561,5,93,'purchased','2022-04-29 16:15:21','2022-04-29 16:15:21'),(913,'60d505ad-0090-4fee-b828-04d038f516a1',31,561,3,93,'supplier_returned','2022-04-29 16:15:46','2022-04-29 16:15:46'),(914,'3910ff2f-2978-4852-be48-a559c64d4853',31,561,3,93,'sold','2022-04-29 16:16:15','2022-04-29 16:16:15'),(915,'4f6911ea-c6c1-4016-ab90-9ff2078e64f3',31,561,3,93,'sold','2022-04-29 16:17:01','2022-04-29 16:17:01'),(916,'643bcceb-9b95-4c64-b678-af2b2542eed2',34,595,1,101,'sold','2022-05-02 05:12:56','2022-05-02 05:12:56'),(917,'fddf69cf-9bb5-4e7a-969d-0ab3778828a0',34,595,1,101,'sold','2022-05-02 05:14:22','2022-05-02 05:14:22'),(918,'9c38fbea-2f4a-47ca-a5a1-1dae6d1fd616',34,595,1,101,'sold','2022-05-02 05:26:43','2022-05-02 05:26:43'),(919,'7ca89ac5-4816-4615-a150-240b710c9d96',34,595,1,101,'sold','2022-05-02 05:31:53','2022-05-02 05:31:53'),(920,'bc9b4a63-51e6-459f-9852-0444e9edc522',34,595,1,101,'sold','2022-05-02 05:32:16','2022-05-02 05:32:16'),(921,'04153bc9-f1a2-400d-834d-8868c62f0b74',34,620,11,101,'purchased','2022-05-02 07:02:09','2022-05-02 07:02:09'),(922,'448180b8-f4fd-465a-81e7-22f428ff0355',34,595,4,101,'sold','2022-05-02 07:51:51','2022-05-02 07:51:51'),(923,'6b5f3c1e-2dc8-4b03-a6ad-26c266b52035',34,612,1,101,'purchased','2022-05-02 08:25:11','2022-05-02 08:25:11'),(924,'3b0a7c31-7929-4b7a-9e86-5cd368654eca',34,615,1,101,'purchased','2022-05-02 08:25:11','2022-05-02 08:25:11'),(925,'06ae5490-109a-495b-be48-39c7b66b127a',34,616,1,101,'purchased','2022-05-02 08:25:11','2022-05-02 08:25:11'),(926,'53289d95-1952-4b78-b2ac-6478038499df',34,618,6,101,'purchased','2022-05-02 08:25:11','2022-05-02 08:25:11'),(927,'4b4ba2f7-eb66-4ac1-a8f7-e1d655b87012',34,617,1,101,'purchased','2022-05-02 08:25:11','2022-05-02 08:25:11'),(928,'3365746d-097d-478a-844c-9b6c9f48ad0f',34,599,1,101,'purchased','2022-05-02 08:27:15','2022-05-02 08:27:15'),(929,'4c12d21d-780f-470b-b2b9-33d087d6d3ac',34,612,1,101,'purchased','2022-05-02 08:27:15','2022-05-02 08:27:15'),(930,'1439bfeb-cb83-40df-a396-3a55ac6b1d1e',34,613,2,101,'purchased','2022-05-02 08:27:15','2022-05-02 08:27:15'),(931,'339d0fb2-0cae-49f7-bf72-790560296982',34,610,1,101,'purchased','2022-05-02 08:27:15','2022-05-02 08:27:15'),(932,'f3575b0f-1bca-4c02-ad47-71f70c89bbbc',34,613,1,101,'sold','2022-05-02 08:27:27','2022-05-02 08:27:27'),(933,'5e1c0a18-9b27-4fbd-bb99-cc1c55ce3114',34,612,1,101,'sold','2022-05-02 08:27:27','2022-05-02 08:27:27'),(934,'7cba8c4a-c3de-41f4-9250-d00046298fcd',31,629,1,93,'purchased','2022-05-02 08:44:11','2022-05-02 08:44:11'),(935,'48437330-a956-4b5d-b226-ae6d3e36018b',34,610,1,101,'sold','2022-05-02 08:52:43','2022-05-02 08:52:43'),(936,'828dad5a-a829-4efa-86c3-0c6f255d876f',34,618,1,101,'sold','2022-05-02 08:52:43','2022-05-02 08:52:43'),(937,'f6c2251d-0705-473e-bfa9-190c2695c414',34,617,1,101,'sold','2022-05-02 08:52:43','2022-05-02 08:52:43'),(938,'3ee229c5-5497-48f5-a483-13a924df6f7b',34,616,1,101,'sold','2022-05-02 08:52:43','2022-05-02 08:52:43'),(939,'a474e02d-3cb4-418b-ba01-53f61befdfd3',34,618,1,101,'sold','2022-05-02 09:24:03','2022-05-02 09:24:03'),(940,'5071510a-9ed4-4d6b-922f-288038db1c8c',34,615,1,101,'sold','2022-05-02 09:24:03','2022-05-02 09:24:03'),(941,'2e2fa877-a2c2-42f1-a1df-0ad56f1b5482',34,613,1,101,'sold','2022-05-02 09:26:29','2022-05-02 09:26:29'),(942,'30917181-caf3-4012-ac4e-8a649c38a547',34,618,1,101,'sold','2022-05-02 09:26:29','2022-05-02 09:26:29'),(943,'2820d3d4-4a7b-4959-aab2-85bc6f1ab6a2',34,595,4,101,'sold','2022-05-02 13:58:02','2022-05-02 13:58:02'),(944,'3072c870-5a38-46da-a315-f6c59a1b3329',34,596,3,101,'sold','2022-05-02 13:58:02','2022-05-02 13:58:02'),(945,'fe10a727-d025-47ec-af8c-1e6ddefdb72f',34,597,1,101,'sold','2022-05-02 13:58:02','2022-05-02 13:58:02'),(946,'7b860cb7-e95a-4e3e-9328-f70d3afaa1a0',34,621,1,101,'sold','2022-05-02 13:58:02','2022-05-02 13:58:02'),(947,'75d38167-26b6-4aec-a581-bfd8a1e993bb',34,595,3,101,'sold','2022-05-03 03:36:16','2022-05-03 03:36:16'),(948,'a690017e-f0c7-42ab-80f5-d00cb6a45fc4',34,595,6,101,'purchased','2022-05-03 03:36:28','2022-05-03 03:36:28'),(949,'3317feb8-a244-4e01-96e9-0786a4ca6d2a',34,596,5,101,'sold','2022-05-03 03:41:15','2022-05-03 03:41:15'),(950,'c7b22731-4ff7-4249-ad70-fc5e8186cefc',34,598,4,101,'sold','2022-05-03 03:41:15','2022-05-03 03:41:15'),(951,'ff69a0b2-47fa-49e4-b126-f378fa70db01',34,609,10,101,'purchased','2022-05-03 05:54:03','2022-05-03 05:54:03'),(952,'e941ae2f-7b99-4f21-9cdc-84c15992df37',34,610,10,101,'purchased','2022-05-03 05:54:03','2022-05-03 05:54:03'),(953,'533aca27-fc4d-4f1c-a012-00689e6ed3ff',34,615,10,101,'purchased','2022-05-03 05:54:03','2022-05-03 05:54:03'),(954,'8bddf5c4-6323-425e-bf96-f3257e9bcb1f',34,616,10,101,'purchased','2022-05-03 05:54:03','2022-05-03 05:54:03'),(955,'6ebe4230-0f65-437f-99a9-aeff899b4339',31,562,1,93,'sold','2022-05-04 23:54:19','2022-05-04 23:54:19'),(956,'f44ee117-83a8-42c2-ac28-073b14a3e049',34,618,1,101,'sold','2022-05-05 10:42:00','2022-05-05 10:42:00'),(957,'ed2b6aa2-e173-4f05-b965-14630bcd7ee7',34,615,3,101,'sold','2022-05-05 10:42:00','2022-05-05 10:42:00'),(958,'fb1a6971-9a5e-4acc-88ad-3c3f1d8cec28',34,615,1,101,'sold','2022-05-05 10:50:29','2022-05-05 10:50:29'),(959,'ab6085ce-73a9-4a0c-8951-2963d0e13d81',34,616,5,101,'sold','2022-05-05 10:50:29','2022-05-05 10:50:29'),(960,'86800e7b-d3f7-4b4a-8641-b1c7b5fcaed2',34,615,1,101,'sold','2022-05-05 10:50:50','2022-05-05 10:50:50'),(961,'0b4c089b-146a-4379-8401-321aea2a9407',34,616,5,101,'sold','2022-05-05 10:50:50','2022-05-05 10:50:50'),(962,'6d3589b3-5a09-472d-80da-b188f6da9f18',34,615,1,101,'sold','2022-05-05 10:51:25','2022-05-05 10:51:25'),(963,'87b6767c-7b46-4b14-aad9-3d65e3ddee50',34,616,5,101,'sold','2022-05-05 10:51:25','2022-05-05 10:51:25'),(964,'f41f3677-c557-4927-9d21-9fd979fa794c',34,615,1,101,'sold','2022-05-05 10:52:28','2022-05-05 10:52:28'),(965,'c4e1ca06-36eb-41df-ac06-3aeaa2249f82',34,616,5,101,'sold','2022-05-05 10:52:28','2022-05-05 10:52:28'),(966,'00d9e415-c7ad-4e76-9509-83a8d5e51b18',31,562,1,93,'sold','2022-05-08 13:04:51','2022-05-08 13:04:51'),(967,'8e8bae5d-00dd-4770-9640-3c39fd178e57',31,561,1,93,'sold','2022-05-08 13:04:51','2022-05-08 13:04:51'),(968,'59b523b2-1365-4e21-924a-bc74ba561345',31,566,1,93,'sold','2022-05-08 13:04:51','2022-05-08 13:04:51'),(969,'d8609ca1-80ae-4086-a664-e872c185302d',34,595,1,101,'sold','2022-05-08 13:04:53','2022-05-08 13:04:53'),(970,'b9d56e62-a45e-4780-9113-69f05bfb2c3e',34,615,1,101,'sold','2022-05-08 13:04:53','2022-05-08 13:04:53'),(971,'20ca9c75-455f-4325-a47a-d3433538f740',34,596,2,101,'sold','2022-05-09 00:37:03','2022-05-09 00:37:03');

--
-- Table structure for table `invoices`
--

CREATE TABLE `invoices` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `order_id` bigint(20) unsigned NOT NULL,
  `store_id` bigint(20) unsigned NOT NULL,
  `due_date` datetime NOT NULL,
  `tax` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `shipping` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount_due` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `invoice_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=182 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `invoices`
--


--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=113 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` VALUES (68,'2014_10_12_000000_create_users_table',1),(69,'2014_10_12_100000_create_password_resets_table',1),(70,'2019_08_19_000000_create_failed_jobs_table',1),(71,'2019_12_14_000001_create_personal_access_tokens_table',1),(72,'2021_09_29_052923_create_products_table',1),(73,'2021_09_29_094735_create_suppliers_table',1),(74,'2021_09_29_100652_create_purchase_orders_table',1),(75,'2021_09_29_120003_create_orders_table',1),(76,'2021_09_29_121817_create_refunds_table',1),(77,'2021_09_29_122550_create_purchase_returns_table',1),(78,'2021_09_29_123211_create_inventory_transactions_table',1),(79,'2021_09_29_123905_create_categories_table',1),(80,'2021_09_29_125054_create_stores_table',1),(81,'2021_09_29_145500_create_employees_table',1),(82,'2021_09_29_235001_create_branches_table',1),(83,'2021_10_20_032932_create_permission_tables',1),(84,'2021_10_23_015744_create_customers_table',1),(85,'2021_10_25_032340_update_store_branch_tables',2),(86,'2021_10_25_093421_update_store',3),(87,'2021_10_26_051327_create_images_table',4),(88,'2021_10_26_054238_update_products_table',4),(89,'2021_10_26_072612_update_supplier_customer_tables',5),(90,'2021_10_26_092233_add_description_product',6),(91,'2021_10_29_151634_update_purchase_order_details',7),(92,'2021_10_31_024102_update_emp_table',8),(93,'2021_10_31_114732_update_product_tab',9),(94,'2021_10_31_115631_update_product_tab1',10),(95,'2021_11_01_023943_update-customer',11),(96,'2021_11_02_095006_update_supplier_product',12),(97,'2021_11_16_051718_update_purchase_order_detail',13),(98,'2021_11_16_120349_update_purchase_order_table',14),(99,'2021_11_16_142148_update_purchase_order_table_1',15),(103,'2021_11_18_094909_update_codes_for_transactions',16),(104,'2021_11_21_003042_change_orders_table',17),(105,'2021_11_21_031402_update_order_2',18),(106,'2021_11_21_033253_update_invoice_table',19),(107,'2021_11_21_034014_update_invoice_table_2',20),(108,'2021_11_21_034143_update_order_table_2',21),(109,'2021_11_21_041134_update_invoices',22),(110,'2021_11_21_075153_update_created_user_type',23),(111,'2021_11_25_115118_create_branch_inventories_table',24),(112,'2022_01_22_123828_create_inventory_checks_table',25);

--
-- Table structure for table `model_has_permissions`
--

CREATE TABLE `model_has_permissions` (
  `permission_id` bigint(20) unsigned NOT NULL,
  `model_type` varchar(255) 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 `model_has_permissions`
--

INSERT INTO `model_has_permissions` VALUES (5,'App\\Models\\Employee',9),(5,'App\\Models\\Employee',10),(5,'App\\Models\\Employee',11),(5,'App\\Models\\Employee',19),(5,'App\\Models\\Employee',20),(5,'App\\Models\\Employee',21),(5,'App\\Models\\Employee',22),(5,'App\\Models\\Employee',23),(5,'App\\Models\\Employee',24),(6,'App\\Models\\Employee',9),(6,'App\\Models\\Employee',10),(6,'App\\Models\\Employee',11),(6,'App\\Models\\Employee',18),(6,'App\\Models\\Employee',19),(6,'App\\Models\\Employee',20),(6,'App\\Models\\Employee',21),(6,'App\\Models\\Employee',22),(6,'App\\Models\\Employee',23),(6,'App\\Models\\Employee',24),(7,'App\\Models\\Employee',9),(7,'App\\Models\\Employee',10),(7,'App\\Models\\Employee',11),(7,'App\\Models\\Employee',19),(7,'App\\Models\\Employee',20),(7,'App\\Models\\Employee',22),(7,'App\\Models\\Employee',23),(7,'App\\Models\\Employee',24),(8,'App\\Models\\Employee',10),(8,'App\\Models\\Employee',11),(8,'App\\Models\\Employee',19),(8,'App\\Models\\Employee',20),(8,'App\\Models\\Employee',22),(8,'App\\Models\\Employee',23),(8,'App\\Models\\Employee',24);

--
-- Table structure for table `model_has_roles`
--

CREATE TABLE `model_has_roles` (
  `role_id` bigint(20) unsigned NOT NULL,
  `model_type` varchar(255) 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 `model_has_roles`
--


--
-- Table structure for table `order_details`
--

CREATE TABLE `order_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `store_id` bigint(20) unsigned NOT NULL,
  `inventory_transaction_id` bigint(20) unsigned DEFAULT NULL,
  `quantity` double NOT NULL,
  `unit_price` double NOT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `discount` double NOT NULL,
  `branch_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `returned_quantity` bigint(20) DEFAULT 0,
  `batches` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=477 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `order_details`
--

INSERT INTO `order_details` VALUES (293,299,564,32,709,2,30000,'shipped',0,94,'2022-04-14 06:46:36','2022-04-14 06:46:36',0,'[]'),(294,299,565,32,710,2,20000,'shipped',0,94,'2022-04-14 06:46:36','2022-04-14 06:46:36',0,'[]'),(295,300,564,32,711,2,30000,'shipped',0,94,'2022-04-14 06:55:08','2022-04-14 06:55:08',0,'[]'),(296,300,565,32,712,2,20000,'shipped',0,94,'2022-04-14 06:55:08','2022-04-14 06:55:08',0,'[]'),(306,310,561,31,723,1,20000,'shipped',0,93,'2022-04-15 05:40:25','2022-04-15 05:40:25',0,'[]'),(307,311,569,31,726,6,20000,'shipped',0,93,'2022-04-15 10:59:46','2022-04-15 10:59:46',0,'[]'),(308,311,561,31,727,1,20000,'shipped',0,93,'2022-04-15 10:59:46','2022-04-15 10:59:46',0,'[]'),(309,312,562,31,728,1,20000,'shipped',0,93,'2022-04-15 16:57:13','2022-04-15 16:57:13',0,'[]'),(310,313,562,31,729,1,20000,'shipped',0,93,'2022-04-15 17:00:47','2022-04-15 17:00:47',0,'[]'),(311,314,562,31,730,1,20000,'shipped',0,93,'2022-04-15 17:08:40','2022-04-15 17:08:40',0,'[]'),(312,315,562,31,731,3,20000,'shipped',0,93,'2022-04-15 17:09:35','2022-04-15 17:09:35',0,'[]'),(313,316,562,31,732,1,20000,'shipped',0,93,'2022-04-16 00:42:37','2022-04-16 00:42:37',0,'[]'),(314,317,562,31,733,12,20000,'shipped',0,93,'2022-04-16 00:43:37','2022-04-16 00:43:37',0,'[]'),(315,318,562,31,734,11,20000,'shipped',0,93,'2022-04-16 00:44:09','2022-04-16 00:44:09',0,'[]'),(316,319,562,31,735,10,20000,'shipped',0,93,'2022-04-16 00:44:21','2022-04-16 00:44:21',0,'[]'),(317,320,562,31,736,11,20000,'shipped',0,93,'2022-04-16 00:44:39','2022-04-16 00:44:39',0,'[]'),(318,321,571,31,737,2,0,'shipped',0,93,'2022-04-16 03:24:55','2022-04-16 03:24:55',0,'[]'),(319,322,561,31,738,1,20000,'shipped',0,93,'2022-04-16 10:17:54','2022-04-16 10:17:54',0,'[]'),(320,322,562,31,739,1,20000,'shipped',0,93,'2022-04-16 10:17:54','2022-04-16 10:17:54',0,'[]'),(321,322,571,31,740,1,0,'shipped',0,93,'2022-04-16 10:17:54','2022-04-16 10:17:54',0,'[]'),(322,323,561,31,741,1,20000,'shipped',0,93,'2022-04-16 10:48:42','2022-04-16 10:48:42',0,'[]'),(323,323,562,31,742,1,20000,'shipped',0,93,'2022-04-16 10:48:42','2022-04-16 10:48:42',0,'[]'),(324,323,566,31,743,1,0,'shipped',0,93,'2022-04-16 10:48:42','2022-04-16 10:48:42',0,'[]'),(325,323,568,31,744,1,220,'shipped',0,93,'2022-04-16 10:48:42','2022-04-16 10:48:42',0,'[]'),(326,323,569,31,745,1,20000,'shipped',0,93,'2022-04-16 10:48:42','2022-04-16 10:48:42',0,'[]'),(327,323,570,31,746,1,200000,'shipped',0,93,'2022-04-16 10:48:42','2022-04-16 10:48:42',0,'[]'),(328,323,563,31,747,0,10000,'shipped',0,93,'2022-04-16 10:48:42','2022-04-16 10:48:42',0,'[]'),(329,323,567,31,748,0,20000,'shipped',0,93,'2022-04-16 10:48:42','2022-04-16 10:48:42',0,'[]'),(330,326,561,31,753,1,0,'shipped',0,93,'2022-04-17 10:08:18','2022-04-17 10:08:18',0,'[]'),(331,327,563,31,755,0,1000,'shipped',0,93,'2022-04-17 10:31:13','2022-04-17 10:31:13',0,'[]'),(332,328,561,31,756,1,0,'shipped',0,93,'2022-04-17 10:34:58','2022-04-17 10:34:58',0,'[]'),(333,329,561,31,757,1,20000,'shipped',0,93,'2022-04-17 10:37:12','2022-04-17 10:37:12',0,'[]'),(334,330,561,31,758,1,20000,'shipped',0,93,'2022-04-17 10:45:22','2022-04-17 10:45:22',0,'[]'),(335,330,562,31,759,1,0,'shipped',0,93,'2022-04-17 10:45:22','2022-04-17 10:45:22',0,'[]'),(336,331,562,31,760,1,0,'shipped',0,93,'2022-04-17 10:52:17','2022-04-17 10:52:17',0,'[]'),(337,332,561,31,761,1,20000,'shipped',0,93,'2022-04-17 11:36:08','2022-04-17 11:36:08',0,'[]'),(338,333,561,31,765,1,20000,'shipped',0,93,'2022-04-17 12:13:23','2022-04-17 12:13:23',0,'[]'),(339,334,561,31,766,1,20000,'shipped',0,93,'2022-04-17 12:13:37','2022-04-17 12:13:37',0,'[]'),(340,335,562,31,768,1,20000,'shipped',0,93,'2022-04-17 16:41:41','2022-04-17 16:41:41',0,'[]'),(341,335,568,31,769,3,220,'shipped',0,93,'2022-04-17 16:41:41','2022-04-17 16:41:41',0,'[]'),(342,335,572,31,770,1,20,'shipped',0,93,'2022-04-17 16:41:41','2022-04-17 16:41:41',0,'[]'),(343,335,561,31,771,1,20000,'shipped',0,93,'2022-04-17 16:41:41','2022-04-17 16:41:41',0,'[]'),(344,336,572,31,772,1,0,'shipped',0,93,'2022-04-17 17:18:59','2022-04-17 17:18:59',0,'[]'),(345,337,566,31,773,1,9000,'shipped',0,93,'2022-04-17 20:03:13','2022-04-17 20:03:13',0,'[]'),(346,338,561,31,774,1,20000,'shipped',0,93,'2022-04-18 10:26:07','2022-04-18 10:26:07',0,'[]'),(347,339,561,31,775,1,20000,'shipped',0,93,'2022-04-18 10:26:39','2022-04-18 10:26:39',0,'[]'),(348,340,562,31,776,1,20000,'shipped',0,93,'2022-04-18 10:29:44','2022-04-18 10:29:44',0,'[]'),(349,341,562,31,777,3,20000,'shipped',0,93,'2022-04-18 15:27:59','2022-04-18 15:27:59',0,'[]'),(350,342,566,31,778,1,20000,'shipped',0,93,'2022-04-19 08:56:50','2022-04-19 08:56:50',0,'[]'),(351,343,561,31,784,1,20,'shipped',0,93,'2022-04-19 12:41:35','2022-04-19 12:41:35',0,'[]'),(352,343,562,31,785,1,20000,'shipped',0,93,'2022-04-19 12:41:35','2022-04-19 12:41:35',0,'[]'),(353,344,562,31,786,1,20000,'shipped',0,93,'2022-04-19 12:41:47','2022-04-19 12:41:47',0,'[]'),(354,345,562,31,787,1,20000,'shipped',0,93,'2022-04-19 12:42:13','2022-04-19 12:42:13',0,'[]'),(355,346,562,31,788,1,20000,'shipped',0,93,'2022-04-19 13:37:35','2022-04-19 13:37:35',0,'[]'),(356,347,561,31,789,1,20000,'shipped',0,93,'2022-04-19 13:38:23','2022-04-19 13:38:23',0,'[]'),(357,348,561,31,790,1,20000,'shipped',0,93,'2022-04-19 13:39:16','2022-04-19 13:39:16',0,'[]'),(358,349,561,31,791,1,20000,'shipped',0,93,'2022-04-19 13:40:24','2022-04-19 13:40:24',0,'[]'),(359,350,561,31,792,1,20000,'shipped',0,93,'2022-04-19 13:41:53','2022-04-19 13:41:53',0,'[]'),(360,351,561,31,793,1,20000,'shipped',0,93,'2022-04-19 13:42:11','2022-04-19 13:42:11',0,'[]'),(361,352,561,31,794,1,20000,'shipped',0,93,'2022-04-19 13:42:54','2022-04-19 13:42:54',0,'[]'),(362,353,562,31,795,1,20000,'shipped',0,93,'2022-04-19 13:51:57','2022-04-19 13:51:57',0,'[]'),(363,354,561,31,796,1,20000,'shipped',0,93,'2022-04-19 13:53:13','2022-04-19 13:53:13',0,'[]'),(364,355,561,31,797,4,20000,'shipped',0,93,'2022-04-19 13:53:25','2022-04-19 13:53:25',0,'[]'),(365,355,562,31,798,1,20000,'shipped',0,93,'2022-04-19 13:53:25','2022-04-19 13:53:25',0,'[]'),(366,356,561,31,799,4,20000,'shipped',0,93,'2022-04-19 13:54:05','2022-04-19 13:54:05',0,'[]'),(367,356,562,31,800,1,20000,'shipped',0,93,'2022-04-19 13:54:05','2022-04-19 13:54:05',0,'[]'),(368,357,562,31,801,2,20000,'shipped',0,93,'2022-04-19 13:54:47','2022-04-19 13:54:47',1,'[]'),(369,357,568,31,802,1,220,'shipped',0,93,'2022-04-19 13:54:47','2022-04-19 13:54:47',0,'[]'),(370,358,561,31,806,1,20000,'shipped',0,93,'2022-04-19 14:34:14','2022-04-19 14:34:14',0,'[]'),(371,359,561,31,807,1,20000,'shipped',0,93,'2022-04-19 14:56:12','2022-04-19 14:56:12',0,'[]'),(372,360,561,31,808,1,20000,'shipped',0,93,'2022-04-19 15:00:48','2022-04-19 15:00:48',0,'[]'),(373,361,561,31,809,1,20000,'shipped',0,93,'2022-04-19 15:30:21','2022-04-19 15:30:21',0,'[]'),(374,362,562,31,811,1,20000,'shipped',0,93,'2022-04-19 15:38:03','2022-04-19 15:38:03',0,'[]'),(375,363,561,31,812,1,20000,'shipped',0,93,'2022-04-19 15:51:35','2022-04-19 15:51:35',0,'[]'),(376,364,562,31,813,1,20000,'shipped',0,93,'2022-04-19 15:52:20','2022-04-19 15:52:20',0,'[]'),(377,365,562,31,814,1,20000,'shipped',0,93,'2022-04-19 15:52:30','2022-04-19 15:52:30',0,'[]'),(378,366,585,31,815,1,10000,'shipped',0,93,'2022-04-19 16:09:30','2022-04-19 16:09:30',0,'[]'),(379,366,568,31,816,1,10000,'shipped',0,93,'2022-04-19 16:09:30','2022-04-19 16:09:30',0,'[]'),(382,368,585,31,819,1,20000,'shipped',0,93,'2022-04-19 16:23:23','2022-04-19 16:23:23',0,'[]'),(383,368,568,31,820,1,10000,'shipped',0,93,'2022-04-19 16:23:23','2022-04-19 16:23:23',0,'[]'),(384,369,561,31,821,1,20000,'shipped',0,93,'2022-04-19 16:31:30','2022-04-19 16:31:30',0,'[]'),(385,370,561,31,826,1,20000,'shipped',0,93,'2022-04-19 22:59:39','2022-04-19 22:59:39',0,'[]'),(386,371,568,31,830,1,220,'shipped',0,93,'2022-04-19 23:13:29','2022-04-19 23:13:29',0,'[]'),(387,372,564,32,835,4,31000,'shipped',0,94,'2022-04-19 23:26:35','2022-04-19 23:26:35',0,'[]'),(388,372,565,32,836,3,30000,'shipped',0,94,'2022-04-19 23:26:35','2022-04-19 23:26:35',0,'[]'),(389,373,561,31,837,4,20000,'shipped',0,93,'2022-04-20 00:08:36','2022-04-20 00:08:36',0,'[]'),(390,374,587,31,838,1,0,'shipped',0,93,'2022-04-20 00:28:06','2022-04-20 00:28:06',1,'[]'),(391,375,588,32,842,1,60000,'shipped',0,94,'2022-04-20 01:20:11','2022-04-20 01:20:11',0,'[]'),(392,376,588,32,843,1,60000,'shipped',0,94,'2022-04-20 01:21:10','2022-04-20 01:21:10',0,'[]'),(393,377,588,32,844,3,0,'shipped',0,94,'2022-04-20 01:35:12','2022-04-20 01:35:12',0,'[]'),(394,377,589,32,845,2,0,'shipped',0,94,'2022-04-20 01:35:12','2022-04-20 01:35:12',0,'[]'),(395,378,588,32,848,1,20000,'shipped',0,94,'2022-04-20 01:41:28','2022-04-20 01:41:28',0,'[]'),(396,378,590,32,849,1,10000,'shipped',0,94,'2022-04-20 01:41:28','2022-04-20 01:41:28',0,'[]'),(397,379,588,32,850,1,6000,'shipped',0,94,'2022-04-20 01:44:08','2022-04-20 01:44:08',0,'[]'),(398,379,589,32,851,1,4000,'shipped',0,94,'2022-04-20 01:44:08','2022-04-20 01:44:08',0,'[]'),(401,381,589,32,855,1,10000,'shipped',0,94,'2022-04-20 02:16:35','2022-04-20 02:16:35',0,'[]'),(402,382,591,32,856,1,10000,'shipped',0,94,'2022-04-20 02:25:28','2022-04-20 02:25:28',0,'[]'),(403,383,591,32,857,1,10000,'shipped',0,94,'2022-04-20 02:25:28','2022-04-20 02:25:28',0,'[]'),(404,384,588,32,858,2,0,'shipped',0,94,'2022-04-20 02:58:49','2022-04-20 02:58:49',0,'[]'),(405,384,589,32,859,2,0,'shipped',0,94,'2022-04-20 02:58:49','2022-04-20 02:58:49',0,'[]'),(406,384,590,32,860,2,5000,'shipped',0,94,'2022-04-20 02:58:49','2022-04-20 02:58:49',0,'[]'),(407,385,561,31,861,1,20000,'shipped',0,93,'2022-04-20 10:20:34','2022-04-20 10:20:34',0,'[]'),(408,385,569,31,862,4,9000,'shipped',0,93,'2022-04-20 10:20:34','2022-04-20 10:20:34',0,'[]'),(409,386,562,31,863,1,20000,'shipped',0,93,'2022-04-20 10:20:46','2022-04-20 10:20:46',0,'[]'),(410,387,561,31,864,1,20000,'shipped',0,93,'2022-04-20 13:54:19','2022-04-20 13:54:19',1,'[]'),(411,388,561,31,867,2,20000,'shipped',0,93,'2022-04-21 08:32:39','2022-04-21 08:32:39',1,'[]'),(412,389,561,31,871,5,20000,'shipped',0,93,'2022-04-22 08:21:39','2022-04-22 08:21:39',1,'[]'),(413,390,562,31,873,8,20000,'shipped',0,93,'2022-04-22 15:35:03','2022-04-22 15:35:03',0,'[]'),(414,391,579,31,874,3,0,'shipped',0,93,'2022-04-22 23:15:22','2022-04-22 23:15:22',0,'[]'),(415,392,561,31,875,2,20000,'shipped',0,93,'2022-04-22 23:15:57','2022-04-22 23:15:57',0,'[]'),(416,393,561,31,876,4,20000,'shipped',0,93,'2022-04-22 23:16:48','2022-04-22 23:16:48',0,'[]'),(417,394,595,34,880,1,200000,'shipped',0,101,'2022-04-24 04:52:26','2022-04-24 04:52:26',0,'[]'),(418,395,596,34,883,1,250000,'shipped',0,101,'2022-04-24 11:08:02','2022-04-24 11:08:02',0,'[]'),(419,395,595,34,884,1,200000,'shipped',0,101,'2022-04-24 11:08:02','2022-04-24 11:08:02',0,'[]'),(420,396,595,34,885,3,200000,'shipped',0,101,'2022-04-24 11:13:22','2022-04-24 11:13:22',0,'[]'),(421,397,595,34,886,3,200000,'shipped',0,101,'2022-04-24 11:15:24','2022-04-24 11:15:24',0,'[]'),(427,403,620,34,894,2,45000,'shipped',0,101,'2022-04-24 23:13:39','2022-04-24 23:13:39',0,'[{\"id\":49,\"product_id\":620,\"store_id\":34,\"batch_code\":\"L0003\",\"expiry_date\":\"2022-04-30 00:00:00\",\"quantity\":\"18\",\"branch_id\":101,\"position\":\"Cua hang moi\",\"is_new\":false,\"additional_quantity\":2,\"returned_quantity\":0}]'),(428,404,595,34,895,1,200000,'shipped',0,101,'2022-04-24 23:15:52','2022-04-24 23:15:52',0,'[]'),(429,404,597,34,896,4,400000,'shipped',0,101,'2022-04-24 23:15:52','2022-04-24 23:15:52',0,'[]'),(430,405,595,34,897,2,200000,'shipped',0,101,'2022-04-24 23:31:26','2022-04-24 23:31:26',1,'[]'),(431,405,597,34,898,5,400000,'shipped',0,101,'2022-04-24 23:31:26','2022-04-24 23:31:26',2,'[]'),(432,406,620,34,906,1,45000,'shipped',0,101,'2022-04-25 06:15:37','2022-04-25 06:15:37',0,'[{\"id\":50,\"product_id\":620,\"store_id\":34,\"batch_code\":\"L0004\",\"expiry_date\":\"2022-04-30 00:00:00\",\"quantity\":\"8\",\"branch_id\":101,\"position\":\"Sau kho\",\"is_new\":false,\"additional_quantity\":1,\"returned_quantity\":0}]'),(433,406,616,34,907,1,10000,'shipped',0,101,'2022-04-25 06:15:37','2022-04-25 06:15:37',0,'[]'),(434,407,562,31,908,2,20000,'shipped',0,93,'2022-04-29 16:12:13','2022-04-29 16:12:13',1,'[]'),(435,408,561,31,914,3,20000,'shipped',0,93,'2022-04-29 16:16:15','2022-04-29 16:16:15',0,'[]'),(436,409,561,31,915,3,20000,'shipped',0,93,'2022-04-29 16:17:01','2022-04-29 16:17:01',0,'[]'),(437,410,595,34,916,1,200000,'shipped',0,101,'2022-05-02 05:12:56','2022-05-02 05:12:56',0,'[]'),(438,411,595,34,917,1,200000,'shipped',0,101,'2022-05-02 05:14:22','2022-05-02 05:14:22',0,'[]'),(439,412,595,34,918,1,200000,'shipped',0,101,'2022-05-02 05:26:43','2022-05-02 05:26:43',0,'[]'),(440,413,595,34,919,1,200000,'shipped',0,101,'2022-05-02 05:31:53','2022-05-02 05:31:53',0,'[]'),(441,414,595,34,920,1,200000,'shipped',0,101,'2022-05-02 05:32:16','2022-05-02 05:32:16',0,'[]'),(442,415,595,34,922,4,200000,'shipped',0,101,'2022-05-02 07:51:51','2022-05-02 07:51:51',0,'[]'),(443,416,613,34,932,1,100000,'shipped',0,101,'2022-05-02 08:27:27','2022-05-02 08:27:27',0,'[]'),(444,416,612,34,933,1,100000,'shipped',0,101,'2022-05-02 08:27:27','2022-05-02 08:27:27',0,'[]'),(445,417,610,34,935,1,2000000,'shipped',0,101,'2022-05-02 08:52:43','2022-05-02 08:52:43',0,'[]'),(446,417,618,34,936,1,200000,'shipped',0,101,'2022-05-02 08:52:43','2022-05-02 08:52:43',0,'[]'),(447,417,617,34,937,1,20000,'shipped',0,101,'2022-05-02 08:52:43','2022-05-02 08:52:43',0,'[]'),(448,417,616,34,938,1,10000,'shipped',0,101,'2022-05-02 08:52:43','2022-05-02 08:52:43',0,'[]'),(449,418,618,34,939,1,200000,'shipped',0,101,'2022-05-02 09:24:03','2022-05-02 09:24:03',0,'[]'),(450,418,615,34,940,1,200000,'shipped',0,101,'2022-05-02 09:24:03','2022-05-02 09:24:03',0,'[]'),(451,419,613,34,941,1,100000,'shipped',0,101,'2022-05-02 09:26:29','2022-05-02 09:26:29',0,'[]'),(452,419,618,34,942,1,200000,'shipped',0,101,'2022-05-02 09:26:29','2022-05-02 09:26:29',0,'[]'),(453,420,595,34,943,4,200000,'shipped',0,101,'2022-05-02 13:58:02','2022-05-02 13:58:02',0,'[]'),(454,420,596,34,944,3,250000,'shipped',0,101,'2022-05-02 13:58:02','2022-05-02 13:58:02',0,'[]'),(455,420,597,34,945,1,400000,'shipped',0,101,'2022-05-02 13:58:02','2022-05-02 13:58:02',0,'[]'),(456,420,621,34,946,1,20000,'shipped',0,101,'2022-05-02 13:58:02','2022-05-02 13:58:02',0,'[]'),(457,421,595,34,947,3,200000,'shipped',0,101,'2022-05-03 03:36:16','2022-05-03 03:36:16',0,'[]'),(458,422,596,34,949,5,250000,'shipped',0,101,'2022-05-03 03:41:15','2022-05-03 03:41:15',0,'[]'),(459,422,598,34,950,4,420000,'shipped',0,101,'2022-05-03 03:41:15','2022-05-03 03:41:15',0,'[]'),(460,423,562,31,955,1,20000,'shipped',0,93,'2022-05-04 23:54:20','2022-05-04 23:54:20',0,'[]'),(461,424,618,34,956,1,200000,'shipped',0,101,'2022-05-05 10:42:00','2022-05-05 10:42:00',0,'[]'),(462,424,615,34,957,3,200000,'shipped',0,101,'2022-05-05 10:42:00','2022-05-05 10:42:00',0,'[]'),(463,425,615,34,958,1,200000,'shipped',0,101,'2022-05-05 10:50:29','2022-05-05 10:50:29',0,'[]'),(464,425,616,34,959,5,10000,'shipped',0,101,'2022-05-05 10:50:29','2022-05-05 10:50:29',0,'[]'),(465,426,615,34,960,1,200000,'shipped',0,101,'2022-05-05 10:50:50','2022-05-05 10:50:50',0,'[]'),(466,426,616,34,961,5,10000,'shipped',0,101,'2022-05-05 10:50:50','2022-05-05 10:50:50',0,'[]'),(467,427,615,34,962,1,200000,'shipped',0,101,'2022-05-05 10:51:25','2022-05-05 10:51:25',0,'[]'),(468,427,616,34,963,5,10000,'shipped',0,101,'2022-05-05 10:51:25','2022-05-05 10:51:25',0,'[]'),(469,428,615,34,964,1,200000,'shipped',0,101,'2022-05-05 10:52:28','2022-05-05 10:52:28',0,'[]'),(470,428,616,34,965,5,10000,'shipped',0,101,'2022-05-05 10:52:28','2022-05-05 10:52:28',0,'[]'),(471,429,562,31,966,1,20000,'shipped',0,93,'2022-05-08 13:04:51','2022-05-08 13:04:51',0,'[]'),(472,429,561,31,967,1,20000,'shipped',0,93,'2022-05-08 13:04:51','2022-05-08 13:04:51',0,'[]'),(473,429,566,31,968,1,0,'shipped',0,93,'2022-05-08 13:04:51','2022-05-08 13:04:51',0,'[]'),(474,430,595,34,969,1,200000,'shipped',0,101,'2022-05-08 13:04:53','2022-05-08 13:04:53',0,'[]'),(475,430,615,34,970,1,200000,'shipped',0,101,'2022-05-08 13:04:53','2022-05-08 13:04:53',0,'[]'),(476,431,596,34,971,2,250000,'shipped',0,101,'2022-05-09 00:37:03','2022-05-09 00:37:03',0,'[]');

--
-- Table structure for table `orders`
--

CREATE TABLE `orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint(20) unsigned NOT NULL,
  `customer_id` bigint(20) unsigned NOT NULL,
  `store_id` bigint(20) unsigned NOT NULL,
  `paid_date` datetime DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` bigint(20) unsigned NOT NULL,
  `notes` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `order_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_method` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_amount` bigint(20) NOT NULL,
  `paid_amount` bigint(20) NOT NULL,
  `discount` bigint(20) NOT NULL,
  `creation_date` datetime NOT NULL,
  `created_user_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_user_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=432 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `orders`
--

INSERT INTO `orders` VALUES (371,'9b996ea2-75ba-4d9c-8e8b-58d3721218a7',31,256,31,'2022-04-20 07:13:28','closed',93,'','2022-04-19 23:13:29','2022-04-19 23:13:29','DH000001','cash',220,220,0,'2022-04-20 07:13:28','owner','Ly Quoc Hai'),(373,'75790dfa-af86-4c88-bec5-ac2328721ac1',31,269,31,'2022-04-20 08:08:35','closed',93,'','2022-04-20 00:08:36','2022-04-20 00:08:36','DH000002','cash',80000,80000,0,'2022-04-20 08:08:35','owner','Ly Quoc Hai'),(374,'58b28e53-5481-47fa-b34b-2a6d5995cb89',31,269,31,'2022-04-20 08:28:05','closed',93,'','2022-04-20 00:28:06','2022-04-20 00:28:06','DH000003','cash',0,0,0,'2022-04-20 08:28:05','owner','Ly Quoc Hai'),(375,'65fd43b7-fab9-4962-95e2-f902f0533cae',32,248,32,'2022-04-20 09:21:55','closed',94,'','2022-04-20 01:20:11','2022-04-20 01:20:11','DH000001','cash',60000,60000,0,'2022-04-20 09:21:55','owner','Phuong VN'),(376,'3e7fa51a-ae7c-4786-8a94-94357da2e9ea',32,248,32,'2022-04-20 09:22:54','closed',94,'','2022-04-20 01:21:10','2022-04-20 01:21:10','DH000002','cash',60000,60000,0,'2022-04-20 09:22:54','owner','Phuong VN'),(377,'279d41d2-1a71-4a45-bbd0-726656bf5fb4',32,248,32,'2022-04-20 09:36:56','closed',94,'','2022-04-20 01:35:12','2022-04-20 01:35:12','DH000003','cash',0,0,0,'2022-04-20 09:36:56','owner','Phuong VN'),(378,'71b65410-8289-4024-8ea3-3a6c64e2b199',32,248,32,'2022-04-20 09:43:10','closed',94,'','2022-04-20 01:41:28','2022-04-20 01:41:28','DH000004','cash',30000,30000,0,'2022-04-20 09:43:10','owner','Phuong VN'),(379,'2e45b8d5-d265-4872-a23f-a13304e3afb6',32,270,32,'2022-04-20 09:45:52','debt',94,'','2022-04-20 01:44:08','2022-04-20 01:46:29','DH000005','cash',10000,5000,0,'2022-04-20 09:45:52','owner','Phuong VN'),(381,'3b8e0a38-3af5-49a2-99c7-f16126ad922b',32,270,32,'2022-04-20 10:18:20','debt',94,'','2022-04-20 02:16:35','2022-04-20 02:16:35','DH000006','cash',10000,0,0,'2022-04-20 10:18:20','owner','Phuong VN'),(382,'a2261768-bf2b-452c-9c4d-c331f0a8816b',32,248,32,'2022-04-20 10:27:08','closed',94,'','2022-04-20 02:25:28','2022-04-20 02:25:28','DH000007','cash',10000,10000,0,'2022-04-20 10:27:08','owner','Phuong VN'),(383,'5114b330-5cff-44e6-b710-63dbfc421624',32,248,32,'2022-04-20 10:27:12','closed',94,'','2022-04-20 02:25:28','2022-04-20 02:25:28','DH000008','cash',10000,10000,0,'2022-04-20 10:27:12','owner','Phuong VN'),(384,'80065e4b-146c-4bae-91b0-41a9d46d8184',32,271,32,'2022-04-20 11:00:33','closed',94,'','2022-04-20 02:58:49','2022-04-20 02:58:49','DH000009','cash',10000,10000,0,'2022-04-20 11:00:33','owner','Phuong VN'),(385,'30c9c395-78f6-4ace-b84b-92ba3c45245b',31,269,31,'2022-04-20 18:20:34','closed',93,'','2022-04-20 10:20:34','2022-04-20 10:20:34','DH000004','cash',56000,56000,0,'2022-04-20 18:20:34','owner','Ly Quoc Hai'),(386,'4e9a461c-28aa-41d5-ae09-8b5457b76b93',31,260,31,'2022-04-20 18:20:46','debt',93,'','2022-04-20 10:20:46','2022-04-22 13:36:05','DH000005','cash',20000,20000,0,'2022-04-20 18:20:46','owner','Ly Quoc Hai'),(387,'77aecfd9-127f-4668-9ede-f633117f562a',31,269,31,'2022-04-20 21:54:16','closed',93,'','2022-04-20 13:54:19','2022-04-20 13:54:19','DH000006','cash',20000,20000,0,'2022-04-20 21:54:16','owner','Ly Quoc Hai'),(388,'e351379d-ed4b-4c9f-800a-305d4521ed8a',31,269,31,'2022-04-21 16:32:38','closed',93,'','2022-04-21 08:32:39','2022-04-21 08:32:39','DH000007','cash',40000,40000,0,'2022-04-21 16:32:38','owner','Ly Quoc Hai'),(389,'718218c1-cee7-45ed-8acb-107ada621120',31,250,31,'2022-04-22 16:22:23','closed',93,'','2022-04-22 08:21:39','2022-04-22 08:22:23','DH000008','cash',100000,100000,0,'2022-04-22 16:21:38','owner','Ly Quoc Hai'),(390,'e1201838-df95-496f-bcc3-93acfa383a56',31,269,31,'2022-04-22 23:35:03','closed',93,'','2022-04-22 15:35:03','2022-04-22 15:35:03','DH000009','cash',160000,160000,0,'2022-04-22 23:35:03','owner','Ly Quoc Hai'),(391,'7b6264e6-6565-4242-90ca-4b00802e4382',31,255,31,'2022-04-23 07:15:19','closed',93,'','2022-04-22 23:15:22','2022-04-22 23:15:22','DH000010','cash',0,0,0,'2022-04-23 07:15:19','owner','Ly Quoc Hai'),(392,'65a45e8b-6611-4b30-a995-35847613e032',31,269,31,'2022-04-23 07:15:54','debt',93,'','2022-04-22 23:15:57','2022-04-22 23:15:57','DH000011','cash',40000,0,0,'2022-04-23 07:15:54','owner','Ly Quoc Hai'),(393,'842aa2cc-aaad-4cc6-b656-f46106a83a6e',31,255,31,'2022-04-23 07:16:46','debt',93,'','2022-04-22 23:16:48','2022-04-22 23:27:21','DH000012','cash',80000,80000,0,'2022-04-23 07:16:46','owner','Ly Quoc Hai'),(394,'d0fd67f7-ee49-4571-b21e-e2f818276c39',34,272,34,'2022-04-24 12:52:27','closed',101,'','2022-04-24 04:52:26','2022-04-24 04:52:26','DH000001','cash',200000,200000,0,'2022-04-24 12:52:27','owner','Lý Quốc Hải'),(395,'d7e378bf-e131-4fc2-a6c4-e1a68de1ff74',34,274,34,'2022-04-24 19:08:02','closed',101,'','2022-04-24 11:08:02','2022-04-24 11:08:02','DH000002','cash',450000,450000,0,'2022-04-24 19:08:02','owner','Lý Quốc Hải'),(396,'033afd8c-7683-427d-9850-96bf7d512d5c',34,273,34,'2022-04-24 19:13:22','closed',101,'','2022-04-24 11:13:22','2022-04-24 11:13:22','DH000003','cash',600000,600000,0,'2022-04-24 19:13:22','owner','Lý Quốc Hải'),(397,'15c0209a-0623-42a3-9eea-bb9d12379368',34,274,34,'2022-04-24 19:15:25','closed',101,'','2022-04-24 11:15:24','2022-04-24 11:15:24','DH000004','cash',600000,600000,0,'2022-04-24 19:15:25','owner','Lý Quốc Hải'),(403,'dee875d6-1928-4ff6-a4e7-f27485999e3d',34,274,34,'2022-04-25 07:13:40','closed',101,'','2022-04-24 23:13:39','2022-04-24 23:13:39','DH000005','cash',90000,90000,0,'2022-04-25 07:13:40','owner','Lý Quốc Hải'),(404,'06965e29-322d-4dbe-9397-85e3dcf4d7a8',34,274,34,'2022-04-25 07:15:53','closed',101,'','2022-04-24 23:15:52','2022-05-05 15:04:52','DH000006','cash',1800000,1800000,0,'2022-04-25 07:15:53','owner','Lý Quốc Hải'),(405,'614ecb10-fd1c-42d9-bed1-77885f96d148',34,274,34,'2022-04-25 07:31:27','closed',101,'','2022-04-24 23:31:26','2022-04-24 23:31:26','DH000007','cash',2400000,2400000,0,'2022-04-25 07:31:27','owner','Lý Quốc Hải'),(406,'6168018a-b1d6-443f-a0af-d1815f71d9b2',34,275,34,NULL,'debt',101,'','2022-04-25 06:15:37','2022-05-05 15:07:19','DH000008','cash',55000,20220,0,'2022-04-25 14:15:36','owner','Lý Quốc Hải'),(407,'e6314423-d45a-4942-a7eb-4ac08953aa1e',31,269,31,'2022-04-30 00:12:13','closed',93,'','2022-04-29 16:12:13','2022-04-29 16:12:13','DH000013','cash',40000,40000,0,'2022-04-30 00:12:13','owner','Ly Quoc Hai'),(408,'52fc25b9-e00f-491f-8190-208446fa95ec',31,261,31,'2022-04-30 00:16:16','debt',93,'','2022-04-29 16:16:15','2022-04-29 16:16:15','DH000014','cash',60000,30000,0,'2022-04-30 00:16:16','owner','Ly Quoc Hai'),(409,'6e35fb6b-3f60-424f-a3d2-724bd70ad2ab',31,261,31,'2022-04-30 00:17:01','closed',93,'','2022-04-29 16:17:01','2022-04-29 16:20:41','DH000015','cash',60000,60000,0,'2022-04-30 00:17:01','owner','Ly Quoc Hai'),(410,'3858cd6f-1956-4200-b74b-9fe8191fcc38',34,272,34,'2022-05-02 13:12:56','closed',101,'','2022-05-02 05:12:56','2022-05-02 05:12:56','DH000009','cash',200000,200000,0,'2022-05-02 13:12:56','owner','Lý Quốc Hải'),(411,'c0d7a03b-1459-4cf3-8e43-4b39274db503',34,272,34,'2022-05-02 13:14:22','closed',101,'','2022-05-02 05:14:22','2022-05-02 05:14:22','DH000010','cash',200000,200000,0,'2022-05-02 13:14:22','owner','Lý Quốc Hải'),(412,'1d982f69-7599-4a44-84cb-8002cb171e3a',34,272,34,'2022-05-02 13:26:43','closed',101,'','2022-05-02 05:26:43','2022-05-02 05:26:43','DH000011','cash',200000,200000,0,'2022-05-02 13:26:43','owner','Lý Quốc Hải'),(413,'50ec340c-790a-478f-b934-ae8dca37d044',34,272,34,'2022-05-02 13:31:54','closed',101,'','2022-05-02 05:31:53','2022-05-02 05:31:53','DH000012','cash',200000,200000,0,'2022-05-02 13:31:54','owner','Lý Quốc Hải'),(414,'a749cc4c-ba50-4a91-a7b3-7a10a55b6dae',34,272,34,'2022-05-02 13:32:16','closed',101,'','2022-05-02 05:32:16','2022-05-02 05:32:16','DH000013','cash',200000,200000,0,'2022-05-02 13:32:16','owner','Lý Quốc Hải'),(415,'db3cad6f-39e8-4f20-937b-12165187405f',34,272,34,'2022-05-02 15:51:50','closed',101,'','2022-05-02 07:51:51','2022-05-02 07:51:51','DH000014','cash',800000,800000,0,'2022-05-02 15:51:50','owner','Lý Quốc Hải'),(416,'638c967c-59ad-4a82-b9b4-aa193e7d78f1',34,272,34,'2022-05-02 16:27:26','closed',101,'','2022-05-02 08:27:27','2022-05-02 08:27:27','DH000015','cash',200000,200000,0,'2022-05-02 16:27:26','owner','Lý Quốc Hải'),(417,'8dc418e7-10da-422c-8558-a1f86d13ab8f',34,274,34,'2022-05-02 16:52:42','debt',101,'','2022-05-02 08:52:43','2022-05-05 15:08:44','DH000016','cash',2230000,2230000,0,'2022-05-02 16:52:42','owner','Lý Quốc Hải'),(418,'80c63fcb-ed94-4e17-8ed2-d73c8c931f7f',34,272,34,'2022-05-02 17:24:02','closed',101,'','2022-05-02 09:24:03','2022-05-02 09:24:03','DH000017','cash',400000,400000,0,'2022-05-02 17:24:02','owner','Lý Quốc Hải'),(419,'50f4299a-7b9e-4546-b67c-a4fe5d00be3d',34,272,34,'2022-05-02 17:26:28','closed',101,'','2022-05-02 09:26:29','2022-05-02 09:26:29','DH000018','cash',300000,300000,0,'2022-05-02 17:26:28','owner','Lý Quốc Hải'),(420,'f73e2a4e-f545-4c41-b832-1f85f8af951e',34,272,34,'2022-05-02 21:57:58','closed',101,'','2022-05-02 13:58:02','2022-05-02 13:58:02','DH000019','cash',1970000,1970000,0,'2022-05-02 21:57:58','owner','Lý Quốc Hải'),(421,'0d158e8c-298f-4f49-8401-8a9b923fe61c',34,272,34,'2022-05-03 11:36:16','closed',101,'','2022-05-03 03:36:16','2022-05-03 03:36:16','DH000020','cash',600000,600000,0,'2022-05-03 11:36:16','owner','Lý Quốc Hải'),(422,'1f648f9d-973c-4666-bf6f-ad1f980a6e51',34,272,34,'2022-05-03 11:41:15','closed',101,'','2022-05-03 03:41:15','2022-05-03 03:41:15','DH000021','cash',2930000,2930000,0,'2022-05-03 11:41:15','owner','Lý Quốc Hải'),(423,'39acff19-f1b6-4fe4-bfb9-ff1c4cbc1bf1',31,269,31,'2022-05-05 07:54:20','closed',93,'','2022-05-04 23:54:19','2022-05-04 23:54:19','DH000016','cash',20000,20000,0,'2022-05-05 07:54:20','owner','Ly Quoc Hai'),(424,'12a5e9fd-db6f-4e80-83c7-0fe2f6b6be17',34,275,34,'2022-05-05 18:41:59','closed',101,'','2022-05-05 10:42:00','2022-05-05 10:42:00','DH000022','cash',800000,800000,0,'2022-05-05 18:41:59','owner','Lý Quốc Hải'),(425,'f2c2432e-995f-4543-ba06-a9c18126d5c1',34,275,34,'2022-05-05 18:50:29','closed',101,'','2022-05-05 10:50:29','2022-05-05 10:50:29','DH000023','cash',250000,250000,0,'2022-05-05 18:50:29','owner','Lý Quốc Hải'),(426,'33d7f7df-a96a-4a35-a18b-593346e271c5',34,275,34,'2022-05-05 18:50:50','closed',101,'','2022-05-05 10:50:50','2022-05-05 10:50:50','DH000024','cash',250000,250000,0,'2022-05-05 18:50:50','owner','Lý Quốc Hải'),(427,'e70280f2-9d34-4049-bc10-4e5245e0d66d',34,275,34,'2022-05-05 18:51:25','closed',101,'','2022-05-05 10:51:25','2022-05-05 10:51:25','DH000025','cash',250000,250000,0,'2022-05-05 18:51:25','owner','Lý Quốc Hải'),(428,'201af2a0-aa5a-4bf6-8717-5b292e5c12a0',34,275,34,'2022-05-05 18:52:28','closed',101,'','2022-05-05 10:52:28','2022-05-05 10:52:28','DH000026','cash',250000,250000,0,'2022-05-05 18:52:28','owner','Lý Quốc Hải'),(429,'f5178473-39ca-435e-8b03-5fc82f5b3bd5',31,260,31,'2022-05-08 21:04:50','closed',93,'','2022-05-08 13:04:51','2022-05-08 13:04:51','DH000017','cash',40000,40000,0,'2022-05-08 21:04:50','owner','Ly Quoc Hai'),(430,'97b65491-d133-4bb5-b78c-4d9eca9dc85b',34,272,34,'2022-05-08 21:08:17','closed',101,'','2022-05-08 13:04:53','2022-05-08 13:04:53','DH000027','cash',400000,400000,0,'2022-05-08 21:08:17','owner','Lý Quốc Hải'),(431,'e9a077e5-2291-471b-bf16-30ca43cd0b05',105,272,34,'2022-05-09 08:37:02','closed',101,'','2022-05-09 00:37:03','2022-05-09 00:37:03','DH000028','cash',500000,500000,0,'2022-05-09 08:37:02','employee','Ly Quoc Hai');

--
-- Table structure for table `password_resets`
--

CREATE TABLE `password_resets` (
  `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(255) 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 `password_resets`
--


--
-- Table structure for table `payment_receipt_vouchers`
--

CREATE TABLE `payment_receipt_vouchers` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `code` varchar(255) NOT NULL,
  `date` datetime DEFAULT current_timestamp(),
  `value` bigint(20) NOT NULL,
  `user_type` varchar(255) DEFAULT NULL,
  `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_calculated` tinyint(1) NOT NULL,
  `type` varchar(255) NOT NULL,
  `note` longtext DEFAULT NULL,
  `branch_id` bigint(20) NOT NULL,
  `is_minus` tinyint(1) NOT NULL DEFAULT 1,
  `created_user_name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_method` varchar(255) DEFAULT 'cash',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `payment_receipt_vouchers`
--

INSERT INTO `payment_receipt_vouchers` VALUES (29,'TC000001','2022-05-03 11:36:16',600000,'customer','Khách hàng lẻ',1,'order','DH000020',101,0,NULL,'cash'),(30,'TC000002','2022-05-03 11:36:28',600000,'supplier','Nhà cung cấp lẻ',1,'purchase_order','PO000010',101,1,NULL,'cash'),(31,'TC000003','2022-05-03 11:41:15',2930000,'customer','Khách hàng lẻ',1,'order','DH000021',101,0,NULL,'cash'),(32,'TC000004','2022-05-03 13:54:03',10250000,'supplier','Nhà cung cấp lẻ',1,'purchase_order','PO000011',101,1,NULL,'cash'),(33,'TC000001','2022-05-05 07:54:20',20000,'customer','Khách hàng lẻ',1,'order','DH000016',93,0,NULL,'cash'),(34,'TC000005','2022-05-05 18:41:59',800000,'customer','Lý Quốc Hải',1,'order','DH000022',101,0,NULL,'cash'),(35,'TC000006','2022-05-05 18:50:29',250000,'customer','Lý Quốc Hải',1,'order','DH000023',101,0,NULL,'cash'),(36,'TC000007','2022-05-05 18:50:50',250000,'customer','Lý Quốc Hải',1,'order','DH000024',101,0,NULL,'cash'),(37,'TC000008','2022-05-05 18:51:25',250000,'customer','Lý Quốc Hải',1,'order','DH000025',101,0,NULL,'cash'),(38,'TC000009','2022-05-05 18:52:28',250000,'customer','Lý Quốc Hải',1,'order','DH000026',101,0,NULL,'cash'),(39,'TC000010','2022-04-25 07:15:53',800000,'customer','Anh B',1,'order','DH000006',101,0,NULL,'cash'),(40,'TC000002','2022-05-08 21:04:50',40000,'customer','gagg',1,'order','DH000017',93,0,NULL,'cash'),(41,'TC000011','2022-05-08 21:08:17',400000,'customer','Khách hàng lẻ',1,'order','DH000027',101,0,NULL,'cash'),(42,'TC000012','2022-05-09 08:37:02',500000,'customer','Khách hàng lẻ',1,'order','DH000028',101,0,NULL,'cash');

--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `permissions`
--

INSERT INTO `permissions` VALUES (5,'manage-orders','employee','2021-10-31 13:31:43','2021-10-31 13:31:43'),(6,'manage-employees','employee','2021-10-31 13:31:52','2021-10-31 13:31:52'),(7,'manage-purchase-orders','employee','2021-10-31 13:32:05','2021-10-31 13:32:05'),(8,'manage-purchase-returns','employee','2021-10-31 13:32:11','2021-10-31 13:32:11');

--
-- Table structure for table `personal_access_tokens`
--

CREATE TABLE `personal_access_tokens` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `tokenable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tokenable_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `abilities` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
  KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `personal_access_tokens`
--


--
-- Table structure for table `priviledges`
--

CREATE TABLE `priviledges` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `priviledges`
--

INSERT INTO `priviledges` VALUES (1,'inventory','Kho hàng'),(2,'employee','Nhân sự'),(3,'sales','Bán hàng'),(4,'product','Sản phẩm'),(5,'report','Báo cáo');

--
-- Table structure for table `product_batches`
--

CREATE TABLE `product_batches` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `product_id` bigint(20) NOT NULL,
  `store_id` bigint(20) NOT NULL,
  `batch_code` varchar(20) NOT NULL,
  `expiry_date` datetime DEFAULT NULL,
  `quantity` varchar(255) NOT NULL,
  `branch_id` bigint(20) NOT NULL,
  `position` longtext DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=56 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `product_batches`
--

INSERT INTO `product_batches` VALUES (41,563,31,'L0001',NULL,'0',93,NULL),(42,567,31,'L0001',NULL,'0',93,NULL),(43,620,34,'L0001',NULL,'0',101,NULL),(44,620,34,'L0002','2022-04-27 00:00:00','0',101,'K? s? 3'),(45,622,34,'L0001',NULL,'0',101,NULL),(46,623,34,'L0001',NULL,'0',101,NULL),(47,624,34,'L0001',NULL,'0',101,NULL),(48,625,34,'L0001',NULL,'0',101,NULL),(49,620,34,'L0003','2022-04-30 00:00:00','6',101,'Cua hang moi'),(50,620,34,'L0004','2022-04-30 00:00:00','0',101,'Sau kho'),(51,627,34,'L0001',NULL,'0',101,NULL),(52,620,34,'L0005','2022-05-02 00:00:00','1',101,'Ke1'),(53,620,34,'L0001','2022-04-30 00:00:00','1',102,'Cua hang moi'),(54,620,34,'L0002','2022-04-30 00:00:00','1',102,'Cua hang moi'),(55,634,34,'L0001',NULL,'1',101,NULL);

--
-- Table structure for table `product_prices`
--

CREATE TABLE `product_prices` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `product_id` bigint(20) unsigned NOT NULL,
  `price` double NOT NULL,
  `store_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `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 `product_prices`
--

INSERT INTO `product_prices` VALUES (1,628,12000,31,NULL,NULL),(2,628,13000,31,'2022-04-29 01:07:38',NULL);

--
-- Table structure for table `product_supplier`
--

CREATE TABLE `product_supplier` (
  `product_id` bigint(20) unsigned NOT NULL,
  `supplier_id` bigint(20) unsigned NOT NULL,
  `store_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_supplier`
--


--
-- Table structure for table `product_variances`
--

CREATE TABLE `product_variances` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `product_id` bigint(20) NOT NULL,
  `store_id` bigint(20) NOT NULL,
  `variance_code` varchar(50) NOT NULL,
  `price` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `product_variances`
--


--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `list_price` double DEFAULT 0,
  `standard_price` double DEFAULT 0,
  `bar_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `quantity_per_unit` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'cái',
  `store_id` bigint(20) unsigned NOT NULL,
  `category_id` bigint(20) unsigned NOT NULL,
  `min_reorder_quantity` bigint(20) DEFAULT 100,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `description` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quantity_available` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `has_variance` tinyint(1) NOT NULL,
  `on_sale` tinyint(1) NOT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `max_order` bigint(20) DEFAULT 0,
  `product_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `parent_product_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `attribute_value` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `has_batches` int(11) DEFAULT 0,
  `img_urls` longtext COLLATE utf8mb4_unicode_ci DEFAULT '\'[]\'',
  `notification_period` int(11) DEFAULT 7,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=635 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `products`
--

INSERT INTO `products` VALUES (561,'d91c3318-838d-48c8-a928-22975bbd0a14','bbc',20000,10000,NULL,NULL,31,83,0,'2022-04-14 03:32:15','2022-05-08 13:04:51',NULL,'4',0,0,'active',999999999,'SP00001',NULL,NULL,0,'[]',7),(562,'518c82b7-d983-4517-be61-42386666d120','Bánh hamburger',20000,10000,'232432','cái',31,84,20,'2022-04-14 05:19:09','2022-05-08 13:04:51','tahaig','-11',0,0,'active',100,'SP00002',NULL,NULL,0,'[]',7),(563,'fa1e6d0e-6911-4703-82be-98d15a99a243','Coca',10000,3000,'2324323','chai',31,85,20,'2022-04-14 05:19:09','2022-04-18 04:09:15','gagag','0',0,0,'active',1000,'SP00003',NULL,NULL,1,'[]',7),(566,'b9560163-eeed-4680-b0fc-e914c1abce34','bbc-hum',0,0,NULL,NULL,31,83,0,'2022-04-14 10:40:39','2022-05-08 13:04:51',NULL,'12',0,0,'active',999999999,'SP00004',NULL,NULL,0,'[]',7),(567,'d1fcba86-ff47-41e3-bc2d-440322b505da','lô',20000,10000,NULL,NULL,31,83,0,'2022-04-15 04:47:35','2022-04-18 04:09:15',NULL,'0',0,0,'active',999999999,'SP00005',NULL,NULL,1,'[]',7),(568,'e299d200-5593-426f-a2d2-5d51935fa9f9','LE',220,0,NULL,NULL,31,83,0,'2022-04-15 10:53:51','2022-04-19 23:13:29',NULL,'-5',0,0,'active',999999999,'SP00006',NULL,NULL,0,'[]',7),(569,'d8d0072b-f1ad-4861-b2f7-30345703c90f','L',20000,10000,NULL,NULL,31,83,0,'2022-04-15 10:54:19','2022-04-20 10:20:34',NULL,'-4',0,0,'active',999999999,'SP00007',NULL,NULL,0,'[]',7),(570,'90d2b47d-500f-4590-abc2-2aec1fbdc24d','Bánh',200000,0,NULL,NULL,31,83,0,'2022-04-15 11:36:38','2022-04-18 04:09:15',NULL,'0',0,0,'active',999999999,'SP00008',NULL,NULL,0,'[]',7),(571,'02240766-4651-4e9a-a572-53c6a2a16fa0','kem',0,0,NULL,NULL,31,83,0,'2022-04-16 03:11:28','2022-04-18 04:09:15',NULL,'0',0,0,'active',999999999,'SP00009',NULL,NULL,0,'[]',7),(572,'9bbbf508-d3eb-442f-8e01-57ffa5c94f78','USB CUSIGLE CU95 8GB',0,0,NULL,NULL,31,83,0,'2022-04-16 07:14:26','2022-04-18 04:09:15',NULL,'0',0,0,'active',999999999,'SP00010',NULL,NULL,0,'[]',7),(573,'b3814e43-2e01-4e66-b7ab-1208d33667a7','USB CUSIGLE CU95 8GB CU95',0,0,NULL,NULL,31,83,0,'2022-04-16 14:33:12','2022-04-18 04:09:15',NULL,'0',0,0,'active',999999999,'SP00011',NULL,NULL,0,'[]',7),(574,'6530c539-01f6-4d25-a1c3-cd3223de9169','LE',0,0,'',NULL,31,83,0,'2022-04-18 05:12:42','2022-04-18 05:12:42',NULL,'0',1,0,'active',999999999,'SP00012',NULL,'[{\"key\":\"KÍCH THƯỚC\",\"items\":[\"s\",\"d\"]}]',0,'[]',7),(575,'7cd0fc83-0a9d-41cf-8284-c1e1b367e0b9','LE-s',0,0,'',NULL,31,83,0,'2022-04-18 05:12:42','2022-04-18 05:12:42',NULL,'0',0,0,'active',999999999,'SP00012-1','SP00012','[{\"name\":\"KÍCH THƯỚC\",\"value\":\"s\"}]',0,'[]',7),(576,'9528f296-e190-4b08-a6c2-392e83112557','LE-d',0,0,'',NULL,31,83,0,'2022-04-18 05:12:42','2022-04-18 05:12:42',NULL,'0',0,0,'active',999999999,'SP00012-2','SP00012','[{\"name\":\"KÍCH THƯỚC\",\"value\":\"d\"}]',0,'[]',7),(577,'f388934e-61ad-4231-9164-f86de597c280','LE',0,0,'',NULL,31,83,0,'2022-04-18 05:12:46','2022-04-18 05:12:46',NULL,'0',1,0,'active',999999999,'SP00013',NULL,'[{\"key\":\"KÍCH THƯỚC\",\"items\":[\"s\",\"d\"]}]',0,'[]',7),(578,'042afd77-799c-499c-87a4-9dcc3b740d82','LE-s',0,0,'',NULL,31,83,0,'2022-04-18 05:12:46','2022-04-18 05:12:46',NULL,'0',0,0,'active',999999999,'SP00013-1','SP00013','[{\"name\":\"KÍCH THƯỚC\",\"value\":\"s\"}]',0,'[]',7),(579,'deebbb4f-5f19-4585-9303-1e5e1c1f8dac','LE-d',0,0,'',NULL,31,83,0,'2022-04-18 05:12:46','2022-04-22 23:15:22',NULL,'-3',0,0,'active',999999999,'SP00013-2','SP00013','[{\"name\":\"KÍCH THƯỚC\",\"value\":\"d\"}]',0,'[]',7),(580,'d20e0e60-3165-4411-b052-830cf491fb8f','L',0,0,'',NULL,31,83,0,'2022-04-18 05:13:37','2022-04-18 05:13:37',NULL,'0',1,0,'active',999999999,'SP00014',NULL,'[{\"key\":\"KÍCH THƯỚC\",\"items\":[\"d\",\"s\"]}]',0,'[]',7),(581,'096693e6-36a4-4680-8e9c-3ef0b440cfca','L-d',0,0,'',NULL,31,83,0,'2022-04-18 05:13:37','2022-04-18 05:13:37',NULL,'0',0,0,'active',999999999,'SP00014-1','SP00014','[{\"name\":\"KÍCH THƯỚC\",\"value\":\"d\"}]',0,'[]',7),(582,'787ae54d-574f-4eeb-a32d-c5f7353b3b3c','L-s',0,0,'',NULL,31,83,0,'2022-04-18 05:13:37','2022-04-18 05:13:37',NULL,'0',0,0,'active',999999999,'SP00014-2','SP00014','[{\"name\":\"KÍCH THƯỚC\",\"value\":\"s\"}]',0,'[]',7),(583,'00116480-4f0a-455d-9ee3-86c61d1cd32d','LEe',0,0,NULL,NULL,31,83,0,'2022-04-19 14:52:21','2022-04-19 14:52:21',NULL,'0',0,0,'active',999999999,'SP00015',NULL,NULL,0,'[]',7),(584,'b63d618e-e20b-45e6-bca0-12f8a76fc04f','Le',0,0,NULL,NULL,31,83,0,'2022-04-19 14:55:00','2022-04-19 14:55:00',NULL,'0',0,0,'active',999999999,'SP00016',NULL,NULL,0,'[]',7),(585,'3219ee41-9239-4d96-8ee6-5986672cd2eb','Cái',0,0,NULL,'Cái',31,83,0,'2022-04-19 14:55:55','2022-04-19 16:23:23',NULL,'-3',0,0,'active',999999999,'SP00017',NULL,NULL,0,'[]',7),(586,'8879786b-377a-4717-abbb-61e2d25a76cb','Hello',0,0,NULL,'Cái',31,83,0,'2022-04-19 23:19:54','2022-04-19 23:19:54',NULL,'0',0,0,'active',999999999,'SP00018',NULL,NULL,0,'[]',7),(587,'0c70e48b-dc6b-4b59-80b3-b595605722b3','xin chao',0,0,NULL,'Cái',31,83,0,'2022-04-19 23:25:44','2022-04-20 00:47:26',NULL,'9',0,0,'active',999999999,'SP00019',NULL,NULL,0,'[]',7),(588,'db0d092b-f4c8-457a-928f-4e632225097f','USB 2G',0,0,NULL,'Cái',32,86,0,'2022-04-20 01:16:53','2022-04-20 02:58:49',NULL,'988',0,0,'active',999999999,'SP00001',NULL,NULL,0,'[]',7),(589,'ceafa414-9a76-4525-83a2-91b1147b65e0','USB 4G',0,0,NULL,'Cái',32,86,0,'2022-04-20 01:32:14','2022-04-20 02:58:49',NULL,'5',0,0,'active',999999999,'SP00002',NULL,NULL,0,'[]',7),(590,'f214cc3e-1236-409e-9233-d9566cfed0a3','USB 8GB',0,0,NULL,'Cái',32,86,0,'2022-04-20 01:38:49','2022-04-20 02:58:49',NULL,'-3',0,0,'active',999999999,'SP00003',NULL,NULL,0,'[]',7),(591,'982e3344-b885-4fe7-8aa4-178d1c21e187','USB',10000,8000,NULL,'Cái',32,86,0,'2022-04-20 02:24:42','2022-04-20 02:25:28',NULL,'-2',0,0,'active',999999999,'SP00004',NULL,NULL,0,'[]',7),(592,'be3f18fc-4e7e-4155-9847-b373f1f042d1','BÁNH',0,0,NULL,'Cái',31,83,0,'2022-04-22 15:11:12','2022-04-22 15:11:12',NULL,'0',0,0,'active',999999999,'SP00020',NULL,NULL,0,'[]',7),(593,'52a68e2e-5677-40b5-bba5-809f343c794d','KẸO',0,0,NULL,'Cái',31,83,0,'2022-04-22 15:12:49','2022-04-22 15:12:49',NULL,'0',0,0,'active',999999999,'SP00021',NULL,NULL,0,'[]',7),(594,'4ff9575b-95e4-48d4-a624-5969237f8b88','Bút chì màu CRAYON',200000,100000,'',NULL,34,90,5,'2022-04-23 02:50:04','2022-05-02 06:59:44',NULL,'0',1,0,'active',999999999,'SP00001',NULL,'[{\"key\":\"SỐ MÀU\",\"items\":[\"12 MÀU\",\"24 MÀU\",\"36 MÀU\"]},{\"id\":\"2022-04-23T03:45:59.621Z\",\"key\":\"LOẠI\",\"items\":[\"CHÌ\",\"NƯỚC\"]}]',0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/PptA5ohR7IFvix6G8g5bBesQDuQYNXYM99gXfxQm.png\"]',7),(595,'2c3573cf-ed47-49f1-9e6a-0c26e37df487','Bút chì màu CRAYON-12 MÀU -  CHÌ',200000,100000,'',NULL,34,90,5,'2022-04-23 02:50:05','2022-05-08 13:04:53',NULL,'-6',0,0,'active',999999999,'SP00001-1','SP00001','[{\"name\":\"SỐ MÀU\",\"value\":\"12 MÀU \"},{\"name\":\"LOẠI\",\"value\":\"  CHÌ\"}]',0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/PptA5ohR7IFvix6G8g5bBesQDuQYNXYM99gXfxQm.png\"]',7),(596,'2de6c6c4-a4d5-4135-864d-56ddfbf40a8a','Bút chì màu CRAYON-12 MÀU -  NƯỚC',250000,120000,'',NULL,34,90,5,'2022-04-23 02:50:06','2022-05-09 00:37:03',NULL,'-10',0,0,'active',999999999,'SP00001-2','SP00001','[{\"name\":\"SỐ MÀU\",\"value\":\"12 MÀU \"},{\"name\":\"LOẠI\",\"value\":\"  NƯỚC\"}]',0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/PptA5ohR7IFvix6G8g5bBesQDuQYNXYM99gXfxQm.png\"]',7),(597,'07e1c1b0-965f-4ee3-8f0d-c81587131637','Bút chì màu CRAYON-24 MÀU -  CHÌ',400000,200000,'',NULL,34,90,5,'2022-04-23 02:50:06','2022-05-02 13:58:02',NULL,'-1',0,0,'active',999999999,'SP00001-3','SP00001','[{\"name\":\"SỐ MÀU\",\"value\":\"24 MÀU \"},{\"name\":\"LOẠI\",\"value\":\"  CHÌ\"}]',0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/PptA5ohR7IFvix6G8g5bBesQDuQYNXYM99gXfxQm.png\"]',7),(598,'4eb6f389-998c-43cb-b0dd-b6af20806d23','Bút chì màu CRAYON-24 MÀU -  NƯỚC',420000,220000,'',NULL,34,90,5,'2022-04-23 02:50:07','2022-05-03 03:41:15',NULL,'-4',0,0,'active',999999999,'SP00001-4','SP00001','[{\"name\":\"SỐ MÀU\",\"value\":\"24 MÀU \"},{\"name\":\"LOẠI\",\"value\":\"  NƯỚC\"}]',0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/PptA5ohR7IFvix6G8g5bBesQDuQYNXYM99gXfxQm.png\"]',7),(599,'00ba320e-8de6-4ab4-947e-1ab311281051','Bút chì màu CRAYON-36 MÀU -  CHÌ',600000,300000,'',NULL,34,90,5,'2022-04-23 02:50:07','2022-05-02 08:27:15',NULL,'1',0,0,'active',999999999,'SP00001-5','SP00001','[{\"name\":\"SỐ MÀU\",\"value\":\"36 MÀU \"},{\"name\":\"LOẠI\",\"value\":\"  CHÌ\"}]',0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/PptA5ohR7IFvix6G8g5bBesQDuQYNXYM99gXfxQm.png\"]',7),(600,'c52f5930-d87e-43f2-bddd-517ae5f52d26','Bút chì màu CRAYON-36 MÀU -  NƯỚC',620000,320000,'',NULL,34,90,5,'2022-04-23 02:50:08','2022-05-02 06:59:44',NULL,'0',0,0,'active',999999999,'SP00001-6','SP00001','[{\"name\":\"SỐ MÀU\",\"value\":\"36 MÀU \"},{\"name\":\"LOẠI\",\"value\":\"  NƯỚC\"}]',0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/PptA5ohR7IFvix6G8g5bBesQDuQYNXYM99gXfxQm.png\"]',7),(609,'5e557e76-17a9-4adb-be67-f923bf7dfcfc','Bút dạ quang 6 màu pastel',20000,10000,'5352673527352','cây',34,94,10,'2022-04-23 02:59:51','2022-05-03 05:54:03',NULL,'10',0,0,'active',999999999,'SP00002',NULL,NULL,0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/gauod6OsMfZNNSxijQ1q5IOhz8DkcFT1xv1ebUKI.png\",\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/QrFT5dHqCierVHPLKT9oWA5XM6xl3zSbbU8La94z.png\"]',7),(610,'fc06dea9-2638-464a-8bc8-32ad1b1e2a6f','Cặp công chúa búp bê màu hồng',2000000,1000000,NULL,'Cái',34,96,0,'2022-04-23 03:02:19','2022-05-03 05:54:03',NULL,'10',0,0,'active',999999999,'SP00003',NULL,NULL,0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/5geCsynfYgD4yVENo41irrtNRL5DOg2kk5xlGOla.png\"]',7),(611,'31cb4f20-1968-450b-93da-e01263fb143f','Ốp lựng điện thoại hiện đại',100000,50000,'',NULL,34,90,0,'2022-04-23 03:03:50','2022-05-02 06:59:44',NULL,'0',1,0,'active',999999999,'SP00004',NULL,'[{\"key\":\"MÀU\",\"items\":[\"XANH\",\"ĐỎ\",\"VÀNG\"]}]',0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/cUg8yCAtDlArjvq6uPCvdYwdTyIpgIUsAFnEKfNF.png\"]',7),(612,'ab6216c8-b0c5-4f83-a188-3f71204d137b','Ốp lựng điện thoại hiện đại-XANH',100000,50000,'',NULL,34,90,0,'2022-04-23 03:03:50','2022-05-02 08:27:27',NULL,'1',0,0,'active',999999999,'SP00004-1','SP00004','[{\"name\":\"MÀU\",\"value\":\"XANH\"}]',0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/cUg8yCAtDlArjvq6uPCvdYwdTyIpgIUsAFnEKfNF.png\"]',7),(613,'41d6ce06-2cc4-4553-92c0-6f9bc75b0815','Ốp lựng điện thoại hiện đại-ĐỎ',100000,50000,'',NULL,34,90,0,'2022-04-23 03:03:51','2022-05-02 09:26:29',NULL,'0',0,0,'active',999999999,'SP00004-2','SP00004','[{\"name\":\"MÀU\",\"value\":\"ĐỎ\"}]',0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/cUg8yCAtDlArjvq6uPCvdYwdTyIpgIUsAFnEKfNF.png\"]',7),(614,'9fcc68e3-8bd2-4500-9975-a560a406fa84','Ốp lựng điện thoại hiện đại-VÀNG',100000,50000,'',NULL,34,90,0,'2022-04-23 03:03:51','2022-05-02 06:59:44',NULL,'0',0,0,'active',999999999,'SP00004-3','SP00004','[{\"name\":\"MÀU\",\"value\":\"VÀNG\"}]',0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/cUg8yCAtDlArjvq6uPCvdYwdTyIpgIUsAFnEKfNF.png\"]',7),(615,'ff5a7a1f-2dce-4e46-b17b-47a153795112','Bút thú ngộ nghĩnh',200000,10000,NULL,'Cái',34,92,20,'2022-04-23 03:04:41','2022-05-08 13:04:53',NULL,'2',0,0,'active',999999999,'SP00005',NULL,NULL,0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/U6jXonekD464VzjNF4uuide5SN1Kp3B4pkUBZyOS.png\"]',7),(616,'ab0845ee-6c1e-44c9-8e4a-fe7f7ad1af4c','Số học sinh COSTIC',10000,5000,NULL,'Cái',34,94,20,'2022-04-23 03:05:24','2022-05-05 10:52:28',NULL,'-10',0,0,'active',999999999,'SP00006',NULL,NULL,0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/WwG3U7Va63K43oGGt0JZ3TpnGa0ztWTund61Wo98.png\"]',7),(617,'c226557f-90e4-41ba-b1f4-7dbe05cb5f47','Số hoạ tiết nhiều màu CRABIT',20000,10000,'22837287227','Cái',34,94,0,'2022-04-23 03:06:23','2022-05-02 08:52:43',NULL,'0',0,0,'active',999999999,'SP00007',NULL,NULL,0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/ULvu6hQ0L50HokLtESbmiEEMiysQnEXcdff2sHSp.png\"]',7),(618,'6b1ea5b7-a662-4dd4-a500-56aaf6a17ac8','Gấu bông gà vàng béo xinh',200000,100000,NULL,'Cái',34,90,0,'2022-04-23 03:11:57','2022-05-05 10:42:00',NULL,'2',0,0,'active',999999999,'SP00008',NULL,NULL,0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/F0Zjy4ofc4B3mgyEfm7gOqfH2WBSMNDtsKYnV20o.png\"]',7),(619,'72da8074-51e0-4b70-b855-7fd0c6e73e03','Tập màu sắc nổi bật',20000,10000,NULL,'Cái',34,90,0,'2022-04-23 03:12:54','2022-05-02 06:59:44',NULL,'0',0,0,'active',999999999,'SP00009',NULL,NULL,0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/DjaIkiUjemxqq2wnN7fJDMeIDhxERjV7mKnDLqyE.png\"]',7),(620,'ac5c0ef3-a256-4f9f-9a92-8cf756d74da9','Màu nước thiên long',45000,35000,NULL,'hộp',34,90,5,'2022-04-23 03:28:58','2022-05-02 07:02:09',NULL,'11',0,0,'active',999999999,'SP00010',NULL,NULL,1,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/i5tcMWsIzTjkmzdneG89tNCy8CDgokivLTMENDqx.jpg\"]',30),(621,'1b13079c-9f62-4ba2-8144-08e2917fbff6','Hộp bút doraemon',20000,10000,'232432','cái',34,100,20,'2022-04-24 07:46:25','2022-05-02 13:58:02','xin chao','-1',0,0,'active',100,'SP00011',NULL,NULL,0,'[\"https:\\/\\/encrypted-tbn0.gstatic.com\\/images?q=tbn:ANd9GcRqS6Ae6Mzkp69_oQnvgfJmmu3aISy-4r-vuw&usqp=CAU\",\"https:\\/\\/encrypted-tbn0.gstatic.com\\/images?q=tbn:ANd9GcQ8ojp8wBZhaQcOvr2EYpqYKWlh9Bm6l_GdKA&usqp=CAU\"]',7),(626,'c36daa87-74df-441e-b5a5-709a1410bb41','Bút xoá siêu đáng yêu dễ thương',20000,12000,NULL,'Cái',34,92,0,'2022-04-24 14:32:24','2022-05-02 06:59:44',NULL,'0',0,0,'active',999999999,'SP00014',NULL,NULL,0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/NJoqQTwk6t32YXoz3nxJIVVdZiRj14hPBcKsOFCJ.webp\"]',7),(627,'e3ee4a86-b944-4d6f-a02c-56bb5deb9fac','Hạt nêm Cao cấp vị nấm hương Maggi gói 200g',20000,10000,'8934804021317','Cái',34,90,0,'2022-04-24 14:32:51','2022-05-07 16:18:10',NULL,'0',0,0,'deleted',999999999,'SP00015',NULL,NULL,1,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/merged\\/168.jpg\"]',7),(628,'1b1dc75b-0a0f-45d1-a548-05245b492003','SP mơi',13000,0,NULL,'Cái',31,83,0,'2022-04-28 06:24:25','2022-04-29 00:07:38',NULL,'0',0,0,'active',999999999,'SP00022',NULL,NULL,0,'[]',7),(629,'48bf2f53-7d0f-4ef9-ab6b-a75c3bb4bee9','san pham',0,0,NULL,'Cái',31,83,0,'2022-05-02 08:43:41','2022-05-08 13:06:57',NULL,'1',0,0,'active',999999999,'SP00023',NULL,NULL,0,'[]',7),(630,'9c0850b7-346e-47c5-86ed-7e535c972649','Ghim kẹp sách mini cute phô mai',5000,2000,NULL,'Cái',34,90,0,'2022-05-07 16:26:08','2022-05-09 01:11:28',NULL,'0',0,0,'deleted',999999999,'SP00014',NULL,NULL,0,'[\"https:\\/\\/www.cuahangcuatoi.net\\/bkrm-api\\/storage\\/app\\/public\\/product-images\\/CEeBHdfRTgOeaXOaqy9xsUkTct60R4m3yl0Gk4Ym.png\"]',7),(631,'fc2a01db-c618-4f0e-a18b-101bc856c9d4','alo',0,0,NULL,'Cái',44,108,0,'2022-05-08 12:22:27','2022-05-08 12:22:27',NULL,'0',0,0,'active',999999999,'SP00001',NULL,NULL,0,'[]',7),(632,'20d77ab6-23e0-4ccb-bf42-4b0670947f9c','bbc',0,0,NULL,'Cái',34,90,0,'2022-05-08 13:07:51','2022-05-09 00:41:50',NULL,'0',0,0,'deleted',999999999,'SP00015',NULL,NULL,0,'[]',7),(633,'3c785bff-e3db-4c71-91ec-e5e06fb4d6fc','Bánh hamburger',20000,10000,'ABC1242352','cái',34,100,20,'2022-05-09 00:57:32','2022-05-09 01:07:29',NULL,'20',0,0,'deleted',100,'SP00016',NULL,NULL,0,'[]',7),(634,'74af40b4-ab9d-486c-af09-acf132a2a8a6','Coca',10000,3000,'ZLGAG232423','chai',34,110,20,'2022-05-09 00:57:32','2022-05-09 01:07:34',NULL,'1',0,0,'deleted',1000,'SP00017',NULL,NULL,1,'[]',7);

--
-- Table structure for table `promotions`
--

CREATE TABLE `promotions` (
  `name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `promotion_condition` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `created_at` datetime NOT NULL DEFAULT current_timestamp(),
  `store_id` bigint(20) NOT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `promotion_code` varchar(255) NOT NULL,
  `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_vietnamese_ci DEFAULT 'active',
  `customer_birth` tinyint(1) NOT NULL DEFAULT 0,
  `dateAdvanceSetting` longtext DEFAULT NULL,
  `discountKey` text DEFAULT NULL,
  `discountType` text DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `promotions`
--

INSERT INTO `promotions` VALUES ('HOÁ ĐƠN- GIẢM GIÁ','[{\"key\":\"1\",\"totalCost\":100000,\"type\":\"%\",\"discountValue\":50,\"numberGiftItem\":1,\"listGiftItem\":[],\"numberBuyItem\":1,\"listBuyItem\":[],\"listGiftCategory\":[],\"listBuyCategory\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"giftIsTheSameBuy\":false,\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Fri Apr 22 2022 23:06:48 GMT+0700 (Indochina Time)\",\"totalCost\":200000,\"discountValue\":20,\"numberGiftItem\":1,\"listGiftItem\":[],\"type\":\"%\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Fri Apr 22 2022 23:06:58 GMT+0700 (Indochina Time)\",\"totalCost\":300000,\"discountValue\":50000,\"numberGiftItem\":1,\"listGiftItem\":[],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]}]',41,'2022-04-22 17:07:17',31,'2022-04-22',NULL,'KM000001','active',0,'{\"byDay\":[],\"byMonth\":[],\"byDate\":[],\"byTime\":[]}','invoice','discountInvoice'),('HOÁ ĐƠN - TẶNG HÀNG','[{\"key\":\"Fri Apr 22 2022 23:07:38 GMT+0700 (Indochina Time)\",\"totalCost\":100000,\"discountValue\":0,\"numberGiftItem\":1,\"listGiftItem\":[{\"id\":561,\"uuid\":\"d91c3318-838d-48c8-a928-22975bbd0a14\",\"name\":\"bbc\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-14T04:32:15.000000Z\",\"updated_at\":\"2022-04-22T10:45:24.000000Z\",\"description\":null,\"quantity_available\":\"15\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00001\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_quantity\":1,\"batches\":[],\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":561,\"quantity_available\":1,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}]}],\"type\":\"VND\",\"numberBuyItem\":1,\"isGiftCategory\":false,\"isBuyCategory\":false,\"listBuyItem\":[],\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"Fri Apr 22 2022 23:07:38 GMT+0700 (Indochina Time)\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Fri Apr 22 2022 23:07:46 GMT+0700 (Indochina Time)\",\"totalCost\":200000,\"discountValue\":0,\"numberGiftItem\":2,\"listGiftItem\":[{\"id\":562,\"uuid\":\"518c82b7-d983-4517-be61-42386666d120\",\"name\":\"Bánh hamburger\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":\"232432\",\"quantity_per_unit\":\"cái\",\"min_reorder_quantity\":20,\"created_at\":\"2022-04-14T06:19:09.000000Z\",\"updated_at\":\"2022-04-20T11:20:46.000000Z\",\"description\":\"tahaig\",\"quantity_available\":\"-2\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":100,\"product_code\":\"SP00002\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":84,\"uuid\":\"ed6fc002-be4a-4df6-b8df-c3e230b6a9e7\",\"parent_category_id\":null,\"name\":\"Đồ ăn\",\"created_at\":\"2022-04-14T06:19:08.000000Z\",\"updated_at\":\"2022-04-14T06:19:08.000000Z\"},\"branch_quantity\":-15,\"batches\":[],\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":562,\"quantity_available\":-15,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}]}],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Fri Apr 22 2022 23:08:21 GMT+0700 (Indochina Time)\",\"totalCost\":300000,\"discountValue\":0,\"numberGiftItem\":1,\"listGiftItem\":[{\"id\":562,\"uuid\":\"518c82b7-d983-4517-be61-42386666d120\",\"name\":\"Bánh hamburger\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":\"232432\",\"quantity_per_unit\":\"cái\",\"min_reorder_quantity\":20,\"created_at\":\"2022-04-14T06:19:09.000000Z\",\"updated_at\":\"2022-04-20T11:20:46.000000Z\",\"description\":\"tahaig\",\"quantity_available\":\"-2\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":100,\"product_code\":\"SP00002\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":84,\"uuid\":\"ed6fc002-be4a-4df6-b8df-c3e230b6a9e7\",\"parent_category_id\":null,\"name\":\"Đồ ăn\",\"created_at\":\"2022-04-14T06:19:08.000000Z\",\"updated_at\":\"2022-04-14T06:19:08.000000Z\"},\"branch_quantity\":-15,\"batches\":[],\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":562,\"quantity_available\":-15,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}]},{\"id\":561,\"uuid\":\"d91c3318-838d-48c8-a928-22975bbd0a14\",\"name\":\"bbc\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-14T04:32:15.000000Z\",\"updated_at\":\"2022-04-22T10:45:24.000000Z\",\"description\":null,\"quantity_available\":\"15\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00001\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_quantity\":1,\"batches\":[],\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":561,\"quantity_available\":1,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}]}],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Fri Apr 22 2022 23:08:35 GMT+0700 (Indochina Time)\",\"totalCost\":400000,\"discountValue\":0,\"numberGiftItem\":2,\"listGiftItem\":[{\"id\":561,\"uuid\":\"d91c3318-838d-48c8-a928-22975bbd0a14\",\"name\":\"bbc\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-14T04:32:15.000000Z\",\"updated_at\":\"2022-04-22T10:45:24.000000Z\",\"description\":null,\"quantity_available\":\"15\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00001\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":83,\"uuid\":\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\"},\"branch_quantity\":1,\"batches\":[],\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":561,\"quantity_available\":1,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":561,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}]},{\"id\":562,\"uuid\":\"518c82b7-d983-4517-be61-42386666d120\",\"name\":\"Bánh hamburger\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":\"232432\",\"quantity_per_unit\":\"cái\",\"min_reorder_quantity\":20,\"created_at\":\"2022-04-14T06:19:09.000000Z\",\"updated_at\":\"2022-04-20T11:20:46.000000Z\",\"description\":\"tahaig\",\"quantity_available\":\"-2\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":100,\"product_code\":\"SP00002\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[]\",\"notification_period\":7,\"category\":{\"id\":84,\"uuid\":\"ed6fc002-be4a-4df6-b8df-c3e230b6a9e7\",\"parent_category_id\":null,\"name\":\"Đồ ăn\",\"created_at\":\"2022-04-14T06:19:08.000000Z\",\"updated_at\":\"2022-04-14T06:19:08.000000Z\"},\"branch_quantity\":-15,\"batches\":[],\"branch_inventories\":[{\"created_at\":\"2022-04-14T03:44:58.000000Z\",\"updated_at\":\"2022-04-14T03:44:58.000000Z\",\"product_id\":562,\"quantity_available\":-15,\"branch_id\":93,\"uuid\":\"238435d7-6c49-4e32-82ef-0259d0afe2bd\",\"name\":\"Cua hang test\",\"address\":\"268 Ly Thuong Kiet\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:40:34.000000Z\",\"updated_at\":\"2022-04-21T07:40:34.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":96,\"uuid\":\"d916d7ca-ccfb-4051-8eb2-4fd18dc38cb8\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:42:19.000000Z\",\"updated_at\":\"2022-04-21T07:42:19.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":97,\"uuid\":\"15a26d76-3180-4f62-b4b2-5e62c39333bc\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:52:15.000000Z\",\"updated_at\":\"2022-04-21T07:52:15.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":98,\"uuid\":\"3326454c-c6b9-4d34-a2af-5e79f30ba5ff\",\"name\":\"Chi nhanh Tan Binh 1\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-21T07:53:05.000000Z\",\"updated_at\":\"2022-04-21T07:53:05.000000Z\",\"product_id\":562,\"quantity_available\":0,\"branch_id\":99,\"uuid\":\"3c4418da-14fc-45ec-86e1-56e65ba4a406\",\"name\":\"khang\",\"address\":\"268 Lý Thường Kiệt\",\"ward\":\"Phường Cầu Kho\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0966857525\",\"status\":\"active\",\"district\":\"Quận 1\",\"lat\":\"10.772603\",\"lng\":\"106.657698\",\"img_url\":\"\"}]}],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]}]',42,'2022-04-22 17:09:08',31,'2022-04-22',NULL,'KM000002','active',0,'{\"byDay\":[],\"byMonth\":[],\"byDate\":[],\"byTime\":[]}','invoice','sendGift'),('HOÁ ĐƠN - TẶNG HÀNG (DANH MỤC)','[{\"key\":\"Fri Apr 22 2022 23:13:11 GMT+0700 (Indochina Time)\",\"totalCost\":200000,\"discountValue\":0,\"numberGiftItem\":1,\"listGiftItem\":[],\"type\":\"VND\",\"numberBuyItem\":1,\"isGiftCategory\":true,\"isBuyCategory\":false,\"listBuyItem\":[],\"typeDiscountItem\":\"price\",\"listGiftCategory\":[\"df32497d-6309-438d-b330-4b4fd0fc653b\"],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"Fri Apr 22 2022 23:13:11 GMT+0700 (Indochina Time)\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Fri Apr 22 2022 23:13:27 GMT+0700 (Indochina Time)\",\"totalCost\":300000,\"discountValue\":0,\"numberGiftItem\":2,\"listGiftItem\":[],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":true,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"85898f34-a552-49e9-9110-2087cfbd4dda\"],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Fri Apr 22 2022 23:13:44 GMT+0700 (Indochina Time)\",\"totalCost\":400000,\"discountValue\":0,\"numberGiftItem\":1,\"listGiftItem\":[],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":true,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[\"33d35c4a-e386-4fa8-a2ec-e01d71cb5193\",\"df32497d-6309-438d-b330-4b4fd0fc653b\"],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Fri Apr 22 2022 23:13:56 GMT+0700 (Indochina Time)\",\"totalCost\":500000,\"discountValue\":0,\"numberGiftItem\":2,\"listGiftItem\":[],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":true,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[\"df32497d-6309-438d-b330-4b4fd0fc653b\",\"ed6fc002-be4a-4df6-b8df-c3e230b6a9e7\"],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]}]',43,'2022-04-22 17:14:27',31,'2022-04-22',NULL,'KM000003','active',0,'{\"byDay\":[],\"byMonth\":[],\"byDate\":[],\"byTime\":[]}','invoice','sendGift'),('HOÁ ĐƠN- GIẢM GIÁ','[{\"key\":\"1\",\"totalCost\":10000000,\"type\":\"%\",\"discountValue\":50,\"numberGiftItem\":1,\"listGiftItem\":[],\"numberBuyItem\":1,\"listBuyItem\":[],\"listGiftCategory\":[],\"listBuyCategory\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"giftIsTheSameBuy\":false,\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Mon May 02 2022 18:39:07 GMT+0700 (Indochina Time)\",\"totalCost\":20000000,\"discountValue\":20,\"numberGiftItem\":1,\"listGiftItem\":[],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Mon May 02 2022 18:39:18 GMT+0700 (Indochina Time)\",\"totalCost\":30000000,\"discountValue\":50000,\"numberGiftItem\":1,\"listGiftItem\":[],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]}]',44,'2022-05-02 12:39:43',34,'2022-05-02',NULL,'KM000001','active',0,'{\"byDay\":[],\"byMonth\":[],\"byDate\":[],\"byTime\":[]}','invoice','discountInvoice'),('XIN CHÀO XUÂN','[{\"key\":\"1\",\"totalCost\":100000,\"type\":\"%\",\"discountValue\":10,\"numberGiftItem\":1,\"listGiftItem\":[],\"numberBuyItem\":1,\"listBuyItem\":[],\"listGiftCategory\":[],\"listBuyCategory\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"giftIsTheSameBuy\":false,\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]}]',45,'2022-05-02 12:41:26',34,'2022-05-01',NULL,'KM000002','active',0,'{\"byDay\":[],\"byMonth\":[],\"byDate\":[],\"byTime\":[]}','invoice','discountInvoice'),('SINH NHẬT BKRM','[{\"key\":\"1\",\"totalCost\":100000,\"type\":\"%\",\"discountValue\":50,\"numberGiftItem\":1,\"listGiftItem\":[],\"numberBuyItem\":1,\"listBuyItem\":[],\"listGiftCategory\":[],\"listBuyCategory\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"giftIsTheSameBuy\":false,\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Mon May 02 2022 19:14:06 GMT+0700 (Indochina Time)\",\"totalCost\":200000,\"discountValue\":20,\"numberGiftItem\":1,\"listGiftItem\":[],\"type\":\"%\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Mon May 02 2022 19:14:12 GMT+0700 (Indochina Time)\",\"totalCost\":300000,\"discountValue\":50000,\"numberGiftItem\":1,\"listGiftItem\":[],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]}]',46,'2022-05-02 13:14:41',34,'2022-05-03',NULL,'KM000003','active',0,'{\"byDay\":[],\"byMonth\":[],\"byDate\":[],\"byTime\":[]}','invoice','discountInvoice'),('SALE SẬP SÀN','[{\"key\":\"Mon May 02 2022 19:15:16 GMT+0700 (Indochina Time)\",\"totalCost\":100000,\"discountValue\":0,\"numberGiftItem\":1,\"listGiftItem\":[{\"id\":612,\"uuid\":\"ab6216c8-b0c5-4f83-a188-3f71204d137b\",\"name\":\"Ốp lựng điện thoại hiện đại-XANH\",\"list_price\":100000,\"standard_price\":50000,\"bar_code\":\"\",\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-23T04:03:50.000000Z\",\"updated_at\":\"2022-05-02T09:27:27.000000Z\",\"description\":null,\"quantity_available\":\"1\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00004-1\",\"parent_product_code\":\"SP00004\",\"attribute_value\":\"[{\\\"name\\\":\\\"MÀU\\\",\\\"value\\\":\\\"XANH\\\"}]\",\"has_batches\":0,\"img_urls\":\"[\\\"https:\\\\/\\\\/www.cuahangcuatoi.net\\\\/bkrm-api\\\\/storage\\\\/app\\\\/public\\\\/product-images\\\\/cUg8yCAtDlArjvq6uPCvdYwdTyIpgIUsAFnEKfNF.png\\\"]\",\"notification_period\":7,\"category\":{\"id\":90,\"uuid\":\"77c52d71-7c37-4e42-aa72-d311adf3ec8c\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-23T03:19:35.000000Z\",\"updated_at\":\"2022-04-23T03:19:35.000000Z\"},\"branch_quantity\":1,\"batches\":[],\"branch_inventories\":[{\"created_at\":\"2022-04-23T03:19:35.000000Z\",\"updated_at\":\"2022-04-23T03:19:35.000000Z\",\"product_id\":612,\"quantity_available\":1,\"branch_id\":101,\"uuid\":\"d4a5674b-0d53-496a-86bb-6ffa2155cf01\",\"name\":\"Cửa hàng văn phòng phẩm\",\"address\":\"266 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-23T05:14:26.000000Z\",\"updated_at\":\"2022-04-23T05:14:26.000000Z\",\"product_id\":612,\"quantity_available\":0,\"branch_id\":102,\"uuid\":\"eff5f5a6-e29a-4369-a48f-23c35e436624\",\"name\":\"Chi nhanh Dĩ An\",\"address\":\"12 Nguyễn An Ninh\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0919070930\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-24T06:41:26.000000Z\",\"updated_at\":\"2022-04-24T06:41:26.000000Z\",\"product_id\":612,\"quantity_available\":0,\"branch_id\":103,\"uuid\":\"e35ffffc-6ea7-48af-a780-99c631e01db9\",\"name\":\"Chi nhánh Quận 1\",\"address\":\"271/34 Trịnh Đình Trọng\",\"ward\":\"Phường Hòa Thạnh\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0938919001\",\"status\":\"active\",\"district\":\"Quận Tân Phú\",\"lat\":\"10.776857\",\"lng\":\"106.635231\",\"img_url\":\"\"}]}],\"type\":\"VND\",\"numberBuyItem\":1,\"isGiftCategory\":false,\"isBuyCategory\":false,\"listBuyItem\":[],\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"Mon May 02 2022 19:15:16 GMT+0700 (Indochina Time)\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Mon May 02 2022 19:15:24 GMT+0700 (Indochina Time)\",\"totalCost\":200000,\"discountValue\":0,\"numberGiftItem\":2,\"listGiftItem\":[{\"id\":610,\"uuid\":\"fc06dea9-2638-464a-8bc8-32ad1b1e2a6f\",\"name\":\"Cặp công chúa búp bê màu hồng\",\"list_price\":2000000,\"standard_price\":1000000,\"bar_code\":null,\"quantity_per_unit\":\"Cái\",\"min_reorder_quantity\":0,\"created_at\":\"2022-04-23T04:02:19.000000Z\",\"updated_at\":\"2022-05-02T09:52:43.000000Z\",\"description\":null,\"quantity_available\":\"0\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00003\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[\\\"https:\\\\/\\\\/www.cuahangcuatoi.net\\\\/bkrm-api\\\\/storage\\\\/app\\\\/public\\\\/product-images\\\\/5geCsynfYgD4yVENo41irrtNRL5DOg2kk5xlGOla.png\\\"]\",\"notification_period\":7,\"category\":{\"id\":96,\"uuid\":\"f4a068d8-f29b-4ce9-a3a2-13dad6c380ea\",\"parent_category_id\":95,\"name\":\"Balo bé gái\",\"created_at\":\"2022-04-23T03:55:52.000000Z\",\"updated_at\":\"2022-04-23T03:55:52.000000Z\"},\"branch_quantity\":0,\"batches\":[],\"branch_inventories\":[{\"created_at\":\"2022-04-23T03:19:35.000000Z\",\"updated_at\":\"2022-04-23T03:19:35.000000Z\",\"product_id\":610,\"quantity_available\":0,\"branch_id\":101,\"uuid\":\"d4a5674b-0d53-496a-86bb-6ffa2155cf01\",\"name\":\"Cửa hàng văn phòng phẩm\",\"address\":\"266 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-23T05:14:26.000000Z\",\"updated_at\":\"2022-04-23T05:14:26.000000Z\",\"product_id\":610,\"quantity_available\":0,\"branch_id\":102,\"uuid\":\"eff5f5a6-e29a-4369-a48f-23c35e436624\",\"name\":\"Chi nhanh Dĩ An\",\"address\":\"12 Nguyễn An Ninh\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0919070930\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-24T06:41:26.000000Z\",\"updated_at\":\"2022-04-24T06:41:26.000000Z\",\"product_id\":610,\"quantity_available\":0,\"branch_id\":103,\"uuid\":\"e35ffffc-6ea7-48af-a780-99c631e01db9\",\"name\":\"Chi nhánh Quận 1\",\"address\":\"271/34 Trịnh Đình Trọng\",\"ward\":\"Phường Hòa Thạnh\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0938919001\",\"status\":\"active\",\"district\":\"Quận Tân Phú\",\"lat\":\"10.776857\",\"lng\":\"106.635231\",\"img_url\":\"\"}]}],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Mon May 02 2022 19:15:29 GMT+0700 (Indochina Time)\",\"totalCost\":300000,\"discountValue\":0,\"numberGiftItem\":1,\"listGiftItem\":[{\"id\":612,\"uuid\":\"ab6216c8-b0c5-4f83-a188-3f71204d137b\",\"name\":\"Ốp lựng điện thoại hiện đại-XANH\",\"list_price\":100000,\"standard_price\":50000,\"bar_code\":\"\",\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-23T04:03:50.000000Z\",\"updated_at\":\"2022-05-02T09:27:27.000000Z\",\"description\":null,\"quantity_available\":\"1\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00004-1\",\"parent_product_code\":\"SP00004\",\"attribute_value\":\"[{\\\"name\\\":\\\"MÀU\\\",\\\"value\\\":\\\"XANH\\\"}]\",\"has_batches\":0,\"img_urls\":\"[\\\"https:\\\\/\\\\/www.cuahangcuatoi.net\\\\/bkrm-api\\\\/storage\\\\/app\\\\/public\\\\/product-images\\\\/cUg8yCAtDlArjvq6uPCvdYwdTyIpgIUsAFnEKfNF.png\\\"]\",\"notification_period\":7,\"category\":{\"id\":90,\"uuid\":\"77c52d71-7c37-4e42-aa72-d311adf3ec8c\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-23T03:19:35.000000Z\",\"updated_at\":\"2022-04-23T03:19:35.000000Z\"},\"branch_quantity\":1,\"batches\":[],\"branch_inventories\":[{\"created_at\":\"2022-04-23T03:19:35.000000Z\",\"updated_at\":\"2022-04-23T03:19:35.000000Z\",\"product_id\":612,\"quantity_available\":1,\"branch_id\":101,\"uuid\":\"d4a5674b-0d53-496a-86bb-6ffa2155cf01\",\"name\":\"Cửa hàng văn phòng phẩm\",\"address\":\"266 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-23T05:14:26.000000Z\",\"updated_at\":\"2022-04-23T05:14:26.000000Z\",\"product_id\":612,\"quantity_available\":0,\"branch_id\":102,\"uuid\":\"eff5f5a6-e29a-4369-a48f-23c35e436624\",\"name\":\"Chi nhanh Dĩ An\",\"address\":\"12 Nguyễn An Ninh\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0919070930\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-24T06:41:26.000000Z\",\"updated_at\":\"2022-04-24T06:41:26.000000Z\",\"product_id\":612,\"quantity_available\":0,\"branch_id\":103,\"uuid\":\"e35ffffc-6ea7-48af-a780-99c631e01db9\",\"name\":\"Chi nhánh Quận 1\",\"address\":\"271/34 Trịnh Đình Trọng\",\"ward\":\"Phường Hòa Thạnh\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0938919001\",\"status\":\"active\",\"district\":\"Quận Tân Phú\",\"lat\":\"10.776857\",\"lng\":\"106.635231\",\"img_url\":\"\"}]},{\"id\":615,\"uuid\":\"ff5a7a1f-2dce-4e46-b17b-47a153795112\",\"name\":\"Bút thú ngộ nghĩnh\",\"list_price\":200000,\"standard_price\":10000,\"bar_code\":null,\"quantity_per_unit\":\"Cái\",\"min_reorder_quantity\":20,\"created_at\":\"2022-04-23T04:04:41.000000Z\",\"updated_at\":\"2022-05-02T10:24:03.000000Z\",\"description\":null,\"quantity_available\":\"0\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00005\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[\\\"https:\\\\/\\\\/www.cuahangcuatoi.net\\\\/bkrm-api\\\\/storage\\\\/app\\\\/public\\\\/product-images\\\\/U6jXonekD464VzjNF4uuide5SN1Kp3B4pkUBZyOS.png\\\"]\",\"notification_period\":7,\"category\":{\"id\":92,\"uuid\":\"edd72e0a-7e8c-478a-a385-a34e77ccfdb3\",\"parent_category_id\":91,\"name\":\"Bút\",\"created_at\":\"2022-04-23T03:38:47.000000Z\",\"updated_at\":\"2022-04-23T03:38:47.000000Z\"},\"branch_quantity\":0,\"batches\":[],\"branch_inventories\":[{\"created_at\":\"2022-04-23T03:19:35.000000Z\",\"updated_at\":\"2022-04-23T03:19:35.000000Z\",\"product_id\":615,\"quantity_available\":0,\"branch_id\":101,\"uuid\":\"d4a5674b-0d53-496a-86bb-6ffa2155cf01\",\"name\":\"Cửa hàng văn phòng phẩm\",\"address\":\"266 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-23T05:14:26.000000Z\",\"updated_at\":\"2022-04-23T05:14:26.000000Z\",\"product_id\":615,\"quantity_available\":0,\"branch_id\":102,\"uuid\":\"eff5f5a6-e29a-4369-a48f-23c35e436624\",\"name\":\"Chi nhanh Dĩ An\",\"address\":\"12 Nguyễn An Ninh\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0919070930\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-24T06:41:26.000000Z\",\"updated_at\":\"2022-04-24T06:41:26.000000Z\",\"product_id\":615,\"quantity_available\":0,\"branch_id\":103,\"uuid\":\"e35ffffc-6ea7-48af-a780-99c631e01db9\",\"name\":\"Chi nhánh Quận 1\",\"address\":\"271/34 Trịnh Đình Trọng\",\"ward\":\"Phường Hòa Thạnh\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0938919001\",\"status\":\"active\",\"district\":\"Quận Tân Phú\",\"lat\":\"10.776857\",\"lng\":\"106.635231\",\"img_url\":\"\"}]}],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Mon May 02 2022 19:15:34 GMT+0700 (Indochina Time)\",\"totalCost\":400000,\"discountValue\":0,\"numberGiftItem\":2,\"listGiftItem\":[{\"id\":614,\"uuid\":\"9fcc68e3-8bd2-4500-9975-a560a406fa84\",\"name\":\"Ốp lựng điện thoại hiện đại-VÀNG\",\"list_price\":100000,\"standard_price\":50000,\"bar_code\":\"\",\"quantity_per_unit\":null,\"min_reorder_quantity\":0,\"created_at\":\"2022-04-23T04:03:51.000000Z\",\"updated_at\":\"2022-05-02T07:59:44.000000Z\",\"description\":null,\"quantity_available\":\"0\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00004-3\",\"parent_product_code\":\"SP00004\",\"attribute_value\":\"[{\\\"name\\\":\\\"MÀU\\\",\\\"value\\\":\\\"VÀNG\\\"}]\",\"has_batches\":0,\"img_urls\":\"[\\\"https:\\\\/\\\\/www.cuahangcuatoi.net\\\\/bkrm-api\\\\/storage\\\\/app\\\\/public\\\\/product-images\\\\/cUg8yCAtDlArjvq6uPCvdYwdTyIpgIUsAFnEKfNF.png\\\"]\",\"notification_period\":7,\"category\":{\"id\":90,\"uuid\":\"77c52d71-7c37-4e42-aa72-d311adf3ec8c\",\"parent_category_id\":null,\"name\":\"Danh mục chung\",\"created_at\":\"2022-04-23T03:19:35.000000Z\",\"updated_at\":\"2022-04-23T03:19:35.000000Z\"},\"branch_quantity\":0,\"batches\":[],\"branch_inventories\":[{\"created_at\":\"2022-04-23T03:19:35.000000Z\",\"updated_at\":\"2022-04-23T03:19:35.000000Z\",\"product_id\":614,\"quantity_available\":0,\"branch_id\":101,\"uuid\":\"d4a5674b-0d53-496a-86bb-6ffa2155cf01\",\"name\":\"Cửa hàng văn phòng phẩm\",\"address\":\"266 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-23T05:14:26.000000Z\",\"updated_at\":\"2022-04-23T05:14:26.000000Z\",\"product_id\":614,\"quantity_available\":0,\"branch_id\":102,\"uuid\":\"eff5f5a6-e29a-4369-a48f-23c35e436624\",\"name\":\"Chi nhanh Dĩ An\",\"address\":\"12 Nguyễn An Ninh\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0919070930\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-24T06:41:26.000000Z\",\"updated_at\":\"2022-04-24T06:41:26.000000Z\",\"product_id\":614,\"quantity_available\":0,\"branch_id\":103,\"uuid\":\"e35ffffc-6ea7-48af-a780-99c631e01db9\",\"name\":\"Chi nhánh Quận 1\",\"address\":\"271/34 Trịnh Đình Trọng\",\"ward\":\"Phường Hòa Thạnh\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0938919001\",\"status\":\"active\",\"district\":\"Quận Tân Phú\",\"lat\":\"10.776857\",\"lng\":\"106.635231\",\"img_url\":\"\"}]},{\"id\":609,\"uuid\":\"5e557e76-17a9-4adb-be67-f923bf7dfcfc\",\"name\":\"Bút dạ quang 6 màu pastel\",\"list_price\":20000,\"standard_price\":10000,\"bar_code\":\"5352673527352\",\"quantity_per_unit\":\"cây\",\"min_reorder_quantity\":10,\"created_at\":\"2022-04-23T03:59:51.000000Z\",\"updated_at\":\"2022-05-02T07:59:44.000000Z\",\"description\":null,\"quantity_available\":\"0\",\"has_variance\":0,\"on_sale\":0,\"status\":\"active\",\"max_order\":999999999,\"product_code\":\"SP00002\",\"parent_product_code\":null,\"attribute_value\":null,\"has_batches\":0,\"img_urls\":\"[\\\"https:\\\\/\\\\/www.cuahangcuatoi.net\\\\/bkrm-api\\\\/storage\\\\/app\\\\/public\\\\/product-images\\\\/gauod6OsMfZNNSxijQ1q5IOhz8DkcFT1xv1ebUKI.png\\\",\\\"https:\\\\/\\\\/www.cuahangcuatoi.net\\\\/bkrm-api\\\\/storage\\\\/app\\\\/public\\\\/product-images\\\\/QrFT5dHqCierVHPLKT9oWA5XM6xl3zSbbU8La94z.png\\\"]\",\"notification_period\":7,\"category\":{\"id\":94,\"uuid\":\"6b2df037-6cf1-4b02-b8d8-54d82bf786b1\",\"parent_category_id\":91,\"name\":\"Tập/Sổ\",\"created_at\":\"2022-04-23T03:55:15.000000Z\",\"updated_at\":\"2022-04-23T03:55:15.000000Z\"},\"branch_quantity\":0,\"batches\":[],\"branch_inventories\":[{\"created_at\":\"2022-04-23T03:19:35.000000Z\",\"updated_at\":\"2022-04-23T03:19:35.000000Z\",\"product_id\":609,\"quantity_available\":0,\"branch_id\":101,\"uuid\":\"d4a5674b-0d53-496a-86bb-6ffa2155cf01\",\"name\":\"Cửa hàng văn phòng phẩm\",\"address\":\"266 Lý Thường Kiệt\",\"ward\":\"Phường 14\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0847377379\",\"status\":\"active\",\"district\":\"Quận 10\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-23T05:14:26.000000Z\",\"updated_at\":\"2022-04-23T05:14:26.000000Z\",\"product_id\":609,\"quantity_available\":0,\"branch_id\":102,\"uuid\":\"eff5f5a6-e29a-4369-a48f-23c35e436624\",\"name\":\"Chi nhanh Dĩ An\",\"address\":\"12 Nguyễn An Ninh\",\"ward\":\"Phường Dĩ An\",\"province\":\"Tỉnh Bình Dương\",\"phone\":\"0919070930\",\"status\":\"active\",\"district\":\"Thị xã Dĩ An\",\"lat\":null,\"lng\":null,\"img_url\":\"\"},{\"created_at\":\"2022-04-24T06:41:26.000000Z\",\"updated_at\":\"2022-04-24T06:41:26.000000Z\",\"product_id\":609,\"quantity_available\":0,\"branch_id\":103,\"uuid\":\"e35ffffc-6ea7-48af-a780-99c631e01db9\",\"name\":\"Chi nhánh Quận 1\",\"address\":\"271/34 Trịnh Đình Trọng\",\"ward\":\"Phường Hòa Thạnh\",\"province\":\"Thành phố Hồ Chí Minh\",\"phone\":\"0938919001\",\"status\":\"active\",\"district\":\"Quận Tân Phú\",\"lat\":\"10.776857\",\"lng\":\"106.635231\",\"img_url\":\"\"}]}],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":false,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]}]',47,'2022-05-02 13:16:30',34,'2022-05-02',NULL,'KM000004','active',0,'{\"byDay\":[],\"byMonth\":[],\"byDate\":[],\"byTime\":[]}','invoice','sendGift'),('HELLO 9.9','[{\"key\":\"Mon May 02 2022 19:17:01 GMT+0700 (Indochina Time)\",\"totalCost\":200000,\"discountValue\":0,\"numberGiftItem\":1,\"listGiftItem\":[],\"type\":\"VND\",\"numberBuyItem\":1,\"isGiftCategory\":true,\"isBuyCategory\":false,\"listBuyItem\":[],\"typeDiscountItem\":\"price\",\"listGiftCategory\":[\"edd72e0a-7e8c-478a-a385-a34e77ccfdb3\"],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"Mon May 02 2022 19:17:01 GMT+0700 (Indochina Time)\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Mon May 02 2022 19:17:16 GMT+0700 (Indochina Time)\",\"totalCost\":300000,\"discountValue\":0,\"numberGiftItem\":2,\"listGiftItem\":[],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":true,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[\"a06691c5-5539-4618-b728-b0ab8f2eb03c\"],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Mon May 02 2022 19:17:22 GMT+0700 (Indochina Time)\",\"totalCost\":400000,\"discountValue\":0,\"numberGiftItem\":1,\"listGiftItem\":[],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":true,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[\"a06691c5-5539-4618-b728-b0ab8f2eb03c\",\"f4a068d8-f29b-4ce9-a3a2-13dad6c380ea\"],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]},{\"key\":\"Mon May 02 2022 19:17:26 GMT+0700 (Indochina Time)\",\"totalCost\":500000,\"discountValue\":0,\"numberGiftItem\":2,\"listGiftItem\":[],\"type\":\"VND\",\"numberBuyItem\":1,\"listBuyItem\":[],\"isGiftCategory\":true,\"isBuyCategory\":false,\"typeDiscountItem\":\"price\",\"listGiftCategory\":[\"edd72e0a-7e8c-478a-a385-a34e77ccfdb3\",\"f4a068d8-f29b-4ce9-a3a2-13dad6c380ea\"],\"listBuyCategory\":[],\"priceByQuantity\":[{\"key\":\"1\",\"number\":1,\"typeDiscountItem\":\"price\",\"value\":0,\"type\":\"VND\"}]}]',48,'2022-05-02 13:18:10',34,'2022-05-02',NULL,'KM000005','active',0,'{\"byDay\":[],\"byMonth\":[],\"byDate\":[],\"byTime\":[]}','invoice','sendGift');

--
