-- MySQL dump 10.13  Distrib 8.0.45, for Linux (x86_64)
--
-- Host: localhost    Database: onlineleave
-- ------------------------------------------------------
-- Server version	8.0.45-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 `email`
--

DROP TABLE IF EXISTS `email`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `email` (
  `email_id` int NOT NULL AUTO_INCREMENT,
  `email_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
  `email_subject` text,
  `email_detail` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`email_id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email`
--

LOCK TABLES `email` WRITE;
/*!40000 ALTER TABLE `email` DISABLE KEYS */;
INSERT INTO `email` VALUES (1,'Request Leave','Notification of Online Leave Submission','Your online leave request form has been submitted. Please check the status of your request at the link below. ระบบได้รับใบลาของท่านแล้ว ท่านสามารถติดตามสถานะการอนุมัติได้ที่ลิงค์ด้านล่าง\r\n\r\nhttps://siitonlineleave.siit.tu.ac.th/requestview/$request_id$','2025-04-25 00:00:00','2025-05-02 11:18:36'),(2,'Approved','Approved Leave Request','Your request for leave has been approved. For further detail, please visit the link below. ใบลาของท่านได้รับการอนุมัติ ตรวจสอบสถานะใบลาได้ที่ลิงค์ด้านล่าง\r\n\r\nhttps://siitonlineleave.siit.tu.ac.th/requestview/$request_id$','2025-04-25 04:25:12','2025-05-02 11:17:17'),(3,'Disapproved','Notification of Your Online Leave Request','Your request for leave has been disapproved. ใบลาของท่านไม่ได้รับการอนุมัติ\r\n\r\nhttps://siitonlineleave.siit.tu.ac.th/requestview/$request_id$','2025-04-25 04:25:34','2025-05-02 11:18:21'),(4,'Cancel Leave','Cancellation of Your Leave Request','Your leave request has been cancelled แจ้งการยกเลิกใบลาโดยผู้ใช้\r\n\r\nhttps://siitonlineleave.siit.tu.ac.th/','2025-04-25 04:26:26','2025-05-02 11:18:49'),(5,'Leave Without Pay','Leave without pay','Please acknowledge an approved leave without pay.\r\n\r\nhttps://siitonlineleave.siit.tu.ac.th/requestview/$request_id$','2025-04-25 04:26:54','2025-05-02 11:18:28'),(6,'Consideration of Online Leave Request','Online Leave Request Number','Please consider the online leave request.\r\n\r\nhttps://siitonlineleave.siit.tu.ac.th/','2025-04-25 04:27:15','2025-05-02 11:18:09'),(7,'Cancelled','Cancellation of Leave Request','The request of leave has been cancelled. Please see the detail below. (วันลาดังต่อไปนี้ได้รับการยกเลิก กรุณาดูรายละเอียดตามลิ้งค์ด้านล่าง)\r\n\r\nhttps://siitonlineleave.siit.tu.ac.th/requestview/$request_id$','2025-04-25 04:27:35','2025-05-02 11:17:38');
/*!40000 ALTER TABLE `email` 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 2026-05-27 10:00:02
