Compare commits
2 Commits
a8b8b5e2dc
...
54c9c9f07a
| Author | SHA1 | Date | |
|---|---|---|---|
| 54c9c9f07a | |||
| a6c46732e9 |
@@ -32,5 +32,5 @@
|
||||
| **智能建议** | 节流优化、负债管理、储蓄提升方案 |
|
||||
|
||||
## 常用数据库
|
||||
- MySQL (root/123456) → 数据库: finances
|
||||
- MySQL (root/5gynj20J) → 数据库: finances
|
||||
- 表: family_members, income_records, fixed_expenses, variable_expenses, assets, liabilities, financial_goals, conversation_log
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
| **智能问答** | 结合历史数据的个性化即时建议 |
|
||||
|
||||
## 常用数据库
|
||||
- MySQL (root/123456) → 数据库: fitness
|
||||
- MySQL (root/5gynj20J) → 数据库: fitness
|
||||
- 表:
|
||||
- **减脂核心**: food_library, user_profiles, diet_records, body_records, exercise_records, health_status_logs, weekly_reports
|
||||
- **健康管理**: health_checkups, health_abnormal_indicators, health_restrictions, health_alerts, health_reminders, health_indicator_trends, user_health_summary
|
||||
|
||||
@@ -36,5 +36,5 @@
|
||||
- host: 127.0.0.1
|
||||
- port: 3306
|
||||
- user: root
|
||||
- password: 123456
|
||||
- password: 5gynj20J
|
||||
- database: finances
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -173,7 +173,7 @@ ORDER BY record_date ASC;
|
||||
|
||||
## 数据存储
|
||||
|
||||
- MySQL: root/123456, database: fitness
|
||||
- MySQL: root/5gynj20J, database: fitness
|
||||
- 所有健康数据本地存储
|
||||
|
||||
## 数据库表结构概览
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,121 @@
|
||||
-- MySQL dump 10.13 Distrib 8.4.10, for Linux (x86_64)
|
||||
--
|
||||
-- Host: localhost Database: resume
|
||||
-- ------------------------------------------------------
|
||||
-- Server version 8.4.10
|
||||
|
||||
/*!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 `career_advice`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `career_advice`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `career_advice` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`topic` varchar(255) NOT NULL,
|
||||
`advice` text,
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `career_advice`
|
||||
--
|
||||
|
||||
LOCK TABLES `career_advice` WRITE;
|
||||
/*!40000 ALTER TABLE `career_advice` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `career_advice` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `interviews`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `interviews`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `interviews` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`resume_id` int DEFAULT NULL,
|
||||
`company` varchar(255) DEFAULT NULL,
|
||||
`position` varchar(255) DEFAULT NULL,
|
||||
`interview_date` datetime DEFAULT NULL,
|
||||
`feedback` text,
|
||||
`preparation_notes` text,
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `resume_id` (`resume_id`),
|
||||
CONSTRAINT `interviews_ibfk_1` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE SET NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `interviews`
|
||||
--
|
||||
|
||||
LOCK TABLES `interviews` WRITE;
|
||||
/*!40000 ALTER TABLE `interviews` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `interviews` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `resumes`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `resumes`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `resumes` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(128) NOT NULL,
|
||||
`file_path` varchar(512) DEFAULT NULL,
|
||||
`original_text` longtext,
|
||||
`analysis` text,
|
||||
`strengths` text,
|
||||
`weaknesses` text,
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
`updated_at` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `resumes`
|
||||
--
|
||||
|
||||
LOCK TABLES `resumes` WRITE;
|
||||
/*!40000 ALTER TABLE `resumes` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `resumes` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Dumping events for database 'resume'
|
||||
--
|
||||
|
||||
--
|
||||
-- Dumping routines for database 'resume'
|
||||
--
|
||||
/*!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-07-15 1:55:07
|
||||
Binary file not shown.
@@ -0,0 +1,128 @@
|
||||
-- MySQL dump 10.13 Distrib 8.4.10, for Linux (x86_64)
|
||||
--
|
||||
-- Host: localhost Database: travel
|
||||
-- ------------------------------------------------------
|
||||
-- Server version 8.4.10
|
||||
|
||||
/*!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 `destinations`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `destinations`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `destinations` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(255) NOT NULL,
|
||||
`country` varchar(128) DEFAULT NULL,
|
||||
`best_season` varchar(64) DEFAULT NULL,
|
||||
`tips` text,
|
||||
`rating` tinyint DEFAULT NULL,
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
CONSTRAINT `destinations_chk_1` CHECK (((`rating` >= 1) and (`rating` <= 10)))
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `destinations`
|
||||
--
|
||||
|
||||
LOCK TABLES `destinations` WRITE;
|
||||
/*!40000 ALTER TABLE `destinations` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `destinations` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `itineraries`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `itineraries`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `itineraries` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`trip_id` int DEFAULT NULL,
|
||||
`day_number` int DEFAULT NULL,
|
||||
`activity_date` date DEFAULT NULL,
|
||||
`location` varchar(255) DEFAULT NULL,
|
||||
`activities` text,
|
||||
`accommodation` varchar(255) DEFAULT NULL,
|
||||
`transport` varchar(255) DEFAULT NULL,
|
||||
`notes` text,
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `trip_id` (`trip_id`),
|
||||
CONSTRAINT `itineraries_ibfk_1` FOREIGN KEY (`trip_id`) REFERENCES `trips` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `itineraries`
|
||||
--
|
||||
|
||||
LOCK TABLES `itineraries` WRITE;
|
||||
/*!40000 ALTER TABLE `itineraries` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `itineraries` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `trips`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `trips`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `trips` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`title` varchar(255) NOT NULL,
|
||||
`destination` varchar(255) NOT NULL,
|
||||
`start_date` date DEFAULT NULL,
|
||||
`end_date` date DEFAULT NULL,
|
||||
`budget` decimal(12,2) DEFAULT NULL,
|
||||
`status` enum('planning','confirmed','in_progress','completed','cancelled') DEFAULT 'planning',
|
||||
`notes` text,
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
`updated_at` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `trips`
|
||||
--
|
||||
|
||||
LOCK TABLES `trips` WRITE;
|
||||
/*!40000 ALTER TABLE `trips` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `trips` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Dumping events for database 'travel'
|
||||
--
|
||||
|
||||
--
|
||||
-- Dumping routines for database 'travel'
|
||||
--
|
||||
/*!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-07-15 1:55:07
|
||||
Reference in New Issue
Block a user