-- MySQL dump 10.13  Distrib 8.0.32, for Linux (x86_64)
--
-- Host: localhost    Database: petfood_db
-- ------------------------------------------------------
-- Server version	8.0.32-0ubuntu0.20.04.2

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

--
-- Table structure for table `invoices_user`
--

DROP TABLE IF EXISTS `invoices_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `invoices_user` (
  `id` int NOT NULL AUTO_INCREMENT,
  `invoice_id` varchar(20) NOT NULL,
  `user_id` int NOT NULL,
  `branch_id` int NOT NULL,
  `file` varchar(255) DEFAULT NULL,
  `order_id` varchar(255) DEFAULT NULL,
  `booking_type` int DEFAULT NULL,
  `no_free_services` int DEFAULT NULL,
  `expire_on` varchar(10) DEFAULT NULL,
  `status` smallint NOT NULL DEFAULT '0',
  `comments` text,
  `spend_amt` int DEFAULT NULL,
  `loyalty_points` int DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `invoices_user`
--

LOCK TABLES `invoices_user` WRITE;
/*!40000 ALTER TABLE `invoices_user` DISABLE KEYS */;
INSERT INTO `invoices_user` VALUES (1,'CP-IN2302144316',181,9,'20230214113750-user_invoices.jpg','CP-BK2302023567',1,NULL,NULL,1,NULL,1200,60,'2023-02-14 11:37:50','2023-02-14 12:23:08',NULL),(2,'CP-IN2302153750',181,4,'20230215010224-user_invoices.jpg','CP-BK2302153234',1,NULL,NULL,1,NULL,20,1,'2023-02-15 13:02:24','2023-02-15 18:44:03',NULL),(3,'CP-IN2302152662',181,9,'20230215041445-user_invoices.jpg','CP-BK2302157027',1,NULL,NULL,1,NULL,1200,60,'2023-02-15 16:14:45','2023-02-15 16:21:56',NULL),(4,'CP-IN2302157605',181,9,'20230215052636-user_invoices.jpg','CP-BK2302156890',1,NULL,NULL,1,NULL,1200,60,'2023-02-15 17:26:36','2023-02-15 17:30:49',NULL),(5,'CP-IN2302154915',181,20,'20230215065050-user_invoices.jpg','CP-HB2302028512',4,NULL,NULL,1,NULL,9415,470,'2023-02-15 18:50:50','2023-02-15 18:51:08',NULL),(6,'CP-IN2302169206',190,20,'20230216101600-user_invoices.jpg','CP-HB2302096815',4,NULL,NULL,1,NULL,1345,67,'2023-02-16 10:16:00','2023-02-16 10:16:28',NULL),(7,'CP-IN2302203357',181,13,'20230220123835-user_invoices.jpg','CP-BK2302177356',1,NULL,NULL,1,NULL,12012,600,'2023-02-20 12:38:35','2023-02-20 12:39:50',NULL),(8,'CP-IN2302235393',190,4,'20230223035213-user_invoices.jpg','CP-BK2302176851',1,NULL,NULL,0,NULL,40,0,'2023-02-23 15:52:13','2023-02-23 15:52:13',NULL),(9,'CP-IN2302237919',190,19,'20230223035325-user_invoices.jpg','CP-HB2302168548',4,NULL,NULL,0,NULL,981,45,'2023-02-23 15:53:25','2023-02-23 15:53:25',NULL),(10,'CP-IN2302231311',190,20,'20230223035549-user_invoices.jpg','CP-HB2302163398',4,NULL,NULL,1,NULL,8070,400,'2023-02-23 15:55:49','2023-02-23 15:56:24',NULL),(11,'CP-IN2302283797',191,9,'20230228045202-user_invoices.jpg','CP-BK2302286911',1,NULL,NULL,1,NULL,1200,60,'2023-02-28 16:52:02','2023-02-28 16:52:26',NULL),(12,'CP-IN2302282714',191,13,'20230228045825-user_invoices.jpg','CP-BK2302284016',1,NULL,NULL,1,NULL,12000,600,'2023-02-28 16:58:25','2023-02-28 16:58:41',NULL),(13,'CP-IN2302282871',192,13,'20230228104224-user_invoices.jpg','CP-BK2302289732',1,NULL,NULL,1,NULL,12012,600,'2023-02-28 22:42:24','2023-02-28 22:43:16',NULL);
/*!40000 ALTER TABLE `invoices_user` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

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

-- Dump completed on 2023-03-01  9:24:30
