-- MySQL dump 10.13  Distrib 8.0.44, for Linux (x86_64)
--
-- Host: localhost    Database: catalogonline
-- ------------------------------------------------------
-- Server version	8.0.44-0ubuntu0.22.04.1

/*!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 `products`
--

DROP TABLE IF EXISTS `products`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `products` (
  `product_id` int NOT NULL AUTO_INCREMENT,
  `product_code` varchar(255) DEFAULT NULL,
  `product_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `product_description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  `product_price` decimal(10,2) DEFAULT NULL,
  `product_weight` decimal(8,2) DEFAULT NULL,
  `product_quantity` int DEFAULT NULL,
  `product_type` varchar(255) DEFAULT NULL,
  `product_stock` int DEFAULT NULL,
  `product_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `product_image` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`product_id`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `products` WRITE;
/*!40000 ALTER TABLE `products` DISABLE KEYS */;
INSERT INTO `products` VALUES (1,'0001','ขวดน้ำ','ขวดน้ำ 3 สี',359.00,1.30,75,'7',NULL,'1','1749723562_ขวดน้ำ.jpg','2025-06-12 15:57:47','2025-10-20 11:24:02'),(3,'2','Fan',NULL,500.00,2.00,79,'4',NULL,'1','1749723657_พัดลม.jpg','2025-06-12 16:48:45','2025-10-20 13:36:09'),(4,'3','Post-It',NULL,39.00,150.00,19,'2',NULL,'1','1752483885_โพสอิท.jpg','2025-07-14 16:04:45','2025-10-20 14:39:56'),(5,'4','Pluck',NULL,299.00,300.00,9,'11',NULL,'1','1752483937_ไอปลั๊ก.jpg','2025-07-14 16:05:37','2025-10-20 14:40:20'),(6,'6','Fabric bag',NULL,199.00,70.00,60,'10',NULL,'1','1752483993_กระเป๋าผ้า.jpg','2025-07-14 16:06:33','2025-10-20 14:40:31'),(7,'7','Charging cable',NULL,149.00,195.00,25,'11',NULL,'1','1752484041_กล่องเคเบิ้ล.jpg','2025-07-14 16:07:21','2025-10-20 14:40:49'),(8,'8','Business card box',NULL,99.00,220.00,12,'8',NULL,'1','1752484092_กล่องใส่นามบัตร.jpg','2025-07-14 16:08:12','2025-10-20 14:41:46'),(9,'9','Craftsman key chain',NULL,129.00,215.00,13,'8',NULL,'1','1752484324_พวงกุญแจช่าง.jpg','2025-07-14 16:12:04','2025-10-20 14:42:00'),(10,'10','Passport Case',NULL,269.00,85.00,18,'7',NULL,'1','1752484357_พาส2.jpg','2025-07-14 16:12:37','2025-10-20 14:42:09'),(11,'0002','ทดสอบ','สีดำ ไม่ใช่ สีแดง',250.00,177.00,73,'7',NULL,'1','1753951247_user-icon-person-icon-client-symbol-login-head-sign-icon-design-vector-Photoroom (1).png','2025-07-31 15:40:47','2025-10-20 14:42:22'),(15,'8999','chicken',NULL,999.00,1020.00,22,'5',NULL,'1','1757303643_ไก่-Leghorn.jpg','2025-09-08 10:52:47','2025-10-20 14:42:46'),(16,'0003','คลุกฝุ่น แมวฉ้มอ้วนขนาดใหญ่','ดื้อ ซน ขี้อ้อน ติดคน ชอบวิ่งตัดหน้า',5.00,3500.00,19,'7',NULL,'1','1757409671_S__28450821.jpg','2025-09-09 16:21:11','2025-10-20 14:42:58'),(20,'0001','ชาเขียวแสนอร่อย','ชาเขียวสตาร์บัค หวานปกติ เพิ่มวิปครีม',170.00,440.00,27,'10',NULL,'1','1758007591_S__28737545_0.jpg','2025-09-16 14:26:31','2025-10-20 14:43:18'),(21,'0002','โมเดลแมวคลุกฝุ่นสุดน่ารัก','โมเดลขนาดเท่าแมวจริง น่ารักจริงๆ',500.00,2100.00,20,'1',NULL,'1','1758007675_S__28737547_0.jpg','2025-09-16 14:27:55','2025-10-20 14:43:31'),(22,'0001','คลุกฝุ่นนอนยิ้ม','นอนยิ้มอ้วน',459.00,3500.00,28,'5',NULL,'1','1758007725_S__28737548_0.jpg','2025-09-16 14:28:45','2025-10-20 14:43:40'),(23,'033','ลูกบอล','อุปกรณ์กีฬา',250.00,312.00,1,'10',NULL,'1','1760933193_Screenshot 2025-10-20 110542.png','2025-10-20 11:06:33','2025-10-20 14:43:52'),(24,'12','เป็ด','หวานๆ',12.00,12.00,116,'5',NULL,'1','1760948466_เป็ด.jpg','2025-10-20 15:21:06','2025-10-20 15:21:06'),(25,'1111222','หมอนปลอบใจแฟนหงส์  YNWA = You’ll Never Win Again\"','หมอนที่กักโปอยากมีไว้ซับน้ำตาหลังได้ ถ้วยเสาทองคำ',102.00,1.20,8,'7',NULL,'1','1760949466_ChatGPT Image 20 ต.ค. 2568 15_26_56.png','2025-10-20 15:37:33','2025-10-20 15:37:46');
/*!40000 ALTER TABLE `products` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

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

-- Dump completed on 2025-12-02 10:00:07
