-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- 主機： mysql:3306
-- 產生時間： 2024 年 01 月 06 日 19:30
-- 伺服器版本： 8.0.35
-- PHP 版本： 8.2.8

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!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 */;
/*!40101 SET NAMES utf8mb4 */;

--
-- 資料庫： `prodio`
--

-- --------------------------------------------------------

--
-- 資料表結構 `asc_admin`
--

CREATE TABLE `asc_admin` (
  `id` int UNSIGNED NOT NULL COMMENT '管理員自增ID',
  `username` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '管理員名稱',
  `password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '管理員密碼',
  `email` varchar(50) NOT NULL DEFAULT '' COMMENT '管理員Email',
  `login_time` int NOT NULL DEFAULT '0' COMMENT '登入時間',
  `login_num` int NOT NULL DEFAULT '0' COMMENT '登入次數',
  `login_ip` varchar(50) NOT NULL DEFAULT '' COMMENT '登入IP',
  `action_list` text NOT NULL COMMENT '權限列表',
  `is_super` tinyint NOT NULL DEFAULT '0' COMMENT '是否超級管理員',
  `is_main` tinyint NOT NULL DEFAULT '0' COMMENT '是否為主帳號',
  `role_id` smallint DEFAULT '0' COMMENT '許可權組ID',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '狀態',
  `create_time` datetime DEFAULT NULL COMMENT '加入時間',
  `update_time` datetime DEFAULT NULL COMMENT '更新時間',
  `delete_time` datetime DEFAULT NULL COMMENT '刪除時間'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='管理員表';

--
-- 傾印資料表的資料 `asc_admin`
--

INSERT INTO `asc_admin` (`id`, `username`, `password`, `email`, `login_time`, `login_num`, `login_ip`, `action_list`, `is_super`, `is_main`, `role_id`, `status`, `create_time`, `update_time`, `delete_time`) VALUES
(1, 'admin', '$2y$10$lIerY1.epUPPsblOUbr9pOk34z.62gd8eaSiM8lWNYpidtCg6y9zm', 'wayne@aaa.com', 1704549042, 13, '', '', 0, 0, 1, 0, NULL, NULL, NULL),
(29, 'admin1', '$2y$10$EBQ2eRhLG/Vca9l9DwFcNOCR03u/hKq1qt5vhzE5PhMSKimoghMQm', '', 0, 0, '', '', 0, 0, 0, 1, '2024-01-01 21:53:08', NULL, NULL),
(32, 'admin2', '$2y$10$/jFN5NtdhM7U6eOqEGdG0uUoU8dRGwI6m5drr3q6qkXN3l1evvpX2', '', 0, 0, '', '', 0, 0, 0, 1, '2024-01-02 00:47:00', NULL, NULL),
(33, 'admin3', '$2y$10$UNoKH9lpgQ2LRREMVEJWYO/6Le3exfJBQtCd0ub0mzq97mO.6LRyy', '', 0, 0, '', '', 0, 0, 0, 1, '2024-01-02 00:47:42', NULL, NULL),
(34, 'admin4', '$2y$10$LnQPk3jJr86OiprLlstYSODs/oYZdq/Uo6LHb9/iM03pH5lqjaw.e', '', 0, 0, '', '', 0, 0, 0, 1, '2024-01-02 00:48:19', NULL, NULL);

-- --------------------------------------------------------

--
-- 資料表結構 `asc_admin_log`
--

CREATE TABLE `asc_admin_log` (
  `id` int NOT NULL COMMENT '自增ID',
  `admin_id` int NOT NULL DEFAULT '0' COMMENT '經銷ID',
  `admin_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '操作者名稱',
  `content` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '操作內容',
  `time` timestamp NOT NULL COMMENT '操作時間',
  `ip` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'IP',
  `url` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'Url'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- 傾印資料表的資料 `asc_admin_log`
--

INSERT INTO `asc_admin_log` (`id`, `admin_id`, `admin_name`, `content`, `time`, `ip`, `url`) VALUES
(141, 1, 'admin', '新增管理員 admin6', '2024-01-02 04:50:43', '', ''),
(142, 1, 'admin', '新增管理員 admin6', '2024-01-01 17:00:17', '', ''),
(143, 1, 'admin', '刪除管理員 admin6', '2024-01-01 17:53:41', '', ''),
(144, 1, 'admin', '刪除管理員 admin5', '2024-01-01 17:55:45', '', ''),
(145, 0, '', '刪除輪撥 [2]', '2024-01-03 17:15:52', '', ''),
(146, 0, '', '刪除輪撥 [2]', '2024-01-03 17:21:23', '', ''),
(147, 0, '', '新增輪撥 [4]', '2024-01-03 17:21:29', '', ''),
(148, 0, '', '刪除輪撥 [4]', '2024-01-03 17:23:54', '', ''),
(149, 0, '', '修改輪撥 [1]', '2024-01-03 17:27:31', '', ''),
(150, 0, '', '新增輪撥 [5]', '2024-01-03 18:34:01', '', ''),
(151, 0, '', '修改輪撥 [3]', '2024-01-03 18:39:49', '', ''),
(152, 0, '', '修改輪撥 [1]', '2024-01-03 18:40:10', '', ''),
(153, 0, '', '新增輪撥 [6]', '2024-01-04 17:43:42', '', ''),
(154, 0, '', '修改輪撥 [6]', '2024-01-04 17:44:03', '', ''),
(155, 0, '', '修改輪撥 [6]', '2024-01-04 17:44:25', '', ''),
(156, 0, '', '修改輪撥 [6]', '2024-01-04 17:44:38', '', ''),
(157, 0, '', '修改輪撥 [6]', '2024-01-04 18:31:13', '', ''),
(158, 0, '', '刪除輪撥 [1]', '2024-01-04 22:04:22', '', ''),
(159, 0, '', '刪除輪撥 [5]', '2024-01-04 22:04:26', '', ''),
(160, 0, '', '修改內容 [1]', '2024-01-04 22:24:11', '', ''),
(161, 0, '', '修改內容 [1]', '2024-01-04 22:24:18', '', ''),
(162, 0, '', '新增輪撥 [7]', '2024-01-04 21:10:21', '', ''),
(163, 0, '', '新增輪撥 [8]', '2024-01-04 21:36:10', '', ''),
(164, 0, '', '新增輪撥 [9]', '2024-01-05 17:09:34', '', ''),
(165, 0, '', '刪除輪撥 [8]', '2024-01-05 17:10:01', '', ''),
(166, 0, '', '新增輪撥 [10]', '2024-01-05 18:39:09', '', ''),
(167, 0, '', '修改輪撥 [10]', '2024-01-05 18:40:05', '', ''),
(168, 0, '', '修改輪撥 [10]', '2024-01-05 18:41:02', '', ''),
(169, 0, '', '刪除輪撥 [3]', '2024-01-05 18:41:17', '', ''),
(170, 0, '', '新增輪撥 [11]', '2024-01-05 18:42:34', '', ''),
(171, 0, '', '新增輪撥 [12]', '2024-01-05 18:43:39', '', ''),
(172, 0, '', '新增輪撥 [13]', '2024-01-05 18:45:04', '', ''),
(173, 0, '', '新增輪撥 [14]', '2024-01-05 18:45:39', '', ''),
(174, 0, '', '修改輪撥 [14]', '2024-01-05 18:45:53', '', ''),
(175, 0, '', '修改輪撥 [13]', '2024-01-05 18:46:30', '', ''),
(176, 0, '', '新增供應商 [1]', '2024-01-05 19:13:15', '', ''),
(177, 0, '', '新增供應商 [2]', '2024-01-05 19:14:52', '', ''),
(178, 0, '', '新增供應商 [3]', '2024-01-05 19:18:15', '', ''),
(179, 0, '', '修改內容 [1]', '2024-01-05 20:18:14', '', ''),
(180, 0, '', '修改內容 [1]', '2024-01-05 20:18:27', '', ''),
(181, 0, '', '修改內容 [2]', '2024-01-05 20:18:33', '', ''),
(182, 0, '', '修改內容 [2]', '2024-01-05 20:19:54', '', ''),
(183, 0, '', '修改內容 [1]', '2024-01-05 20:20:17', '', ''),
(184, 0, '', '修改內容 [1]', '2024-01-05 20:20:47', '', ''),
(185, 0, '', '修改內容 [2]', '2024-01-05 20:21:02', '', ''),
(186, 0, '', '修改內容 [1]', '2024-01-05 20:23:18', '', ''),
(187, 0, '', '修改內容 [2]', '2024-01-05 20:23:23', '', ''),
(188, 0, '', '修改內容 [1]', '2024-01-05 20:24:15', '', ''),
(189, 0, '', '修改內容 [1]', '2024-01-05 20:24:33', '', ''),
(190, 0, '', '修改內容 [2]', '2024-01-05 20:24:48', '', ''),
(191, 0, '', '修改內容 [2]', '2024-01-05 20:25:08', '', ''),
(192, 0, '', '修改內容 [2]', '2024-01-05 20:25:23', '', ''),
(193, 0, '', '修改內容 [1]', '2024-01-05 20:26:04', '', ''),
(194, 0, '', '修改內容 [1]', '2024-01-05 20:49:23', '', ''),
(195, 0, '', '修改內容 [2]', '2024-01-05 20:49:30', '', ''),
(196, 0, '', '修改內容 [1]', '2024-01-06 02:10:55', '', ''),
(197, 0, '', '新增據點 [1]', '2024-01-06 02:49:41', '', ''),
(198, 0, '', '新增供應商 [4]', '2024-01-06 03:05:50', '', ''),
(199, 0, '', '新增供應商 [5]', '2024-01-06 03:06:35', '', ''),
(200, 0, '', '新增據點 [2]', '2024-01-06 03:08:52', '', ''),
(201, 0, '', '刪除據點 [2]', '2024-01-06 03:09:00', '', ''),
(202, 0, '', '新增據點 [3]', '2024-01-06 03:11:01', '', ''),
(203, 0, '', '新增據點 [4]', '2024-01-06 03:11:41', '', ''),
(204, 0, '', '修改輪撥 [4]', '2024-01-06 03:13:23', '', ''),
(205, 0, '', '修改輪撥 [4]', '2024-01-06 03:13:47', '', ''),
(206, 0, '', '修改據點 [4]', '2024-01-06 03:14:54', '', ''),
(207, 0, '', '刪除聯絡內容 [1]', '2024-01-07 04:01:47', '', ''),
(208, 0, '', '刪除管理員 admin', '2024-01-07 04:35:10', '', ''),
(209, 0, '', '新增產業動態 2', '2024-01-06 18:00:29', '', ''),
(210, 0, '', '新增產業動態 3', '2024-01-06 18:00:46', '', ''),
(211, 0, '', '新增產業動態 4', '2024-01-06 18:01:57', '', ''),
(212, 0, '', '修改產業動態 [4]', '2024-01-06 18:04:00', '', ''),
(213, 0, '', '刪除管理員 ', '2024-01-06 18:04:17', '', ''),
(214, 0, '', '刪除管理員 ', '2024-01-06 18:04:31', '', ''),
(215, 0, '', '新增產業動態 5', '2024-01-06 18:06:36', '', ''),
(216, 0, '', '新增產業動態 6', '2024-01-06 18:06:40', '', ''),
(217, 0, '', '新增產業動態 7', '2024-01-06 18:06:43', '', ''),
(218, 0, '', '新增產業動態 8', '2024-01-06 18:06:47', '', ''),
(219, 0, '', '新增產業動態 9', '2024-01-06 18:06:50', '', ''),
(220, 0, '', '新增產業動態 10', '2024-01-06 18:06:53', '', ''),
(221, 0, '', '新增產業動態 11', '2024-01-06 18:06:58', '', ''),
(222, 0, '', '新增產業動態 12', '2024-01-06 18:07:03', '', ''),
(223, 0, '', '新增產業動態 13', '2024-01-06 18:07:09', '', ''),
(224, 0, '', '新增產業動態 14', '2024-01-06 18:07:23', '', ''),
(225, 0, '', '修改產業動態 [4]', '2024-01-06 18:14:30', '', ''),
(226, 0, '', '修改產業動態 [4]', '2024-01-06 18:15:09', '', '');

-- --------------------------------------------------------

--
-- 資料表結構 `asc_article`
--

CREATE TABLE `asc_article` (
  `id` int NOT NULL COMMENT '自增ID',
  `lang` varchar(10) NOT NULL DEFAULT 'tw' COMMENT '語系',
  `cat_id` int NOT NULL DEFAULT '0' COMMENT '類別ID',
  `title` varchar(255) NOT NULL DEFAULT '' COMMENT '標題',
  `content` text NOT NULL COMMENT '內容',
  `imageurl` varchar(255) NOT NULL DEFAULT '' COMMENT '文章圖檔',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '建立時間',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新時間',
  `delete_time` datetime DEFAULT NULL COMMENT '刪除時間'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='文章資料庫';

--
-- 傾印資料表的資料 `asc_article`
--


-- --------------------------------------------------------

--
-- 資料表結構 `asc_article_cate`
--

CREATE TABLE `asc_article_cate` (
  `id` int NOT NULL COMMENT '自增ID',
  `cat_name` varchar(255) NOT NULL DEFAULT '' COMMENT '類別名稱',
  `cat_type` int NOT NULL DEFAULT '0' COMMENT '文章類型(1:一般,2:系統,3:頁面)',
  `keywords` varchar(255) NOT NULL DEFAULT '' COMMENT 'keyword',
  `description` varchar(255) NOT NULL DEFAULT '' COMMENT 'desc',
  `sort_order` int NOT NULL DEFAULT '50' COMMENT '排序編號',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '建立時間',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新時間',
  `delete_time` datetime DEFAULT NULL COMMENT '刪除時間'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='文章類別';

-- --------------------------------------------------------

--
-- 資料表結構 `asc_banner`
--

CREATE TABLE `asc_banner` (
  `id` int NOT NULL COMMENT '自增ID',
  `lang` varchar(10) NOT NULL DEFAULT 'tw',
  `imageurl1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '電腦圖片',
  `imageurl2` varchar(255) NOT NULL DEFAULT '' COMMENT '手機圖',
  `slogon` varchar(100) NOT NULL DEFAULT '' COMMENT '大標語',
  `describe` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '描述',
  `sort_order` int NOT NULL COMMENT '排序',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '建立時間',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新時間',
  `delete_time` datetime NOT NULL COMMENT '刪除時間'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- 傾印資料表的資料 `asc_banner`
--

INSERT INTO `asc_banner` (`id`, `lang`, `imageurl1`, `imageurl2`, `slogon`, `describe`, `sort_order`, `create_time`, `update_time`, `delete_time`) VALUES
(6, 'tw', '/storage/banner/6596ee41e8150.jpg', '/storage/banner/6596ee4b9a9ef.jpg', '大', '小', 0, '2024-01-05 01:43:42', '2024-01-05 02:31:13', '0000-00-00 00:00:00'),
(7, 'tw', '/storage/banner/6597c76657cfb.jpg', '/storage/banner/6597c77c18683.jpg', '', '', 0, '2024-01-05 17:10:21', '2024-01-05 17:10:21', '0000-00-00 00:00:00'),
(9, 'tw', '/storage/banner/659837b17deb9.jpg', '/storage/banner/659837ba36e2d.jpg', '大', '小', 0, '2024-01-06 01:09:34', '2024-01-06 01:09:34', '0000-00-00 00:00:00'),
(10, 'tw', '/storage/banner/65984d26e7ce1.jpg', '/storage/banner/65984ccbb7101.jpg', '', '', 0, '2024-01-06 02:39:09', '2024-01-06 02:41:02', '0000-00-00 00:00:00'),
(11, 'tw', '/storage/banner/65984d9082f57.jpg', '/storage/banner/65984d9854f91.jpg', 'Slogon', 'Description', 0, '2024-01-06 02:42:34', '2024-01-06 02:42:34', '0000-00-00 00:00:00'),
(12, 'tw', '/storage/banner/65984dcdc241c.jpg', '/storage/banner/65984dd582c3b.jpg', '', '', 0, '2024-01-06 02:43:39', '2024-01-06 02:43:39', '0000-00-00 00:00:00'),
(13, 'cn', '/storage/banner/65984e2ae1d70.jpg', '/storage/banner/65984e2f0d61e.jpg', '標語', '描述', 0, '2024-01-06 02:45:04', '2024-01-06 02:46:30', '0000-00-00 00:00:00'),
(14, 'en', '/storage/banner/65984e4898404.jpg', '/storage/banner/65984e51c1762.jpg', 'Slogon', 'Desc', 0, '2024-01-06 02:45:39', '2024-01-06 02:45:53', '0000-00-00 00:00:00');

-- --------------------------------------------------------

--
-- 資料表結構 `asc_branch`
--

CREATE TABLE `asc_branch` (
  `id` int NOT NULL COMMENT '自增ID',
  `lang` varchar(10) NOT NULL DEFAULT 'tw' COMMENT '語系',
  `name` varchar(255) NOT NULL DEFAULT '' COMMENT '據點名稱',
  `address` varchar(255) NOT NULL DEFAULT '' COMMENT '據點地址',
  `tel` varchar(50) NOT NULL DEFAULT '' COMMENT '電話',
  `fax` varchar(50) NOT NULL DEFAULT '' COMMENT '傳真',
  `url` varchar(255) NOT NULL DEFAULT '' COMMENT '網址',
  `email` varchar(50) NOT NULL DEFAULT '' COMMENT 'Email',
  `imageurl` varchar(255) NOT NULL DEFAULT '' COMMENT '圖片網址',
  `sort_order` int NOT NULL DEFAULT '50' COMMENT '排序編號',
  `status` int NOT NULL DEFAULT '1' COMMENT '狀態(0:無效,1:有效)'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='公司據點';

--
-- 傾印資料表的資料 `asc_branch`
--

INSERT INTO `asc_branch` (`id`, `lang`, `name`, `address`, `tel`, `fax`, `url`, `email`, `imageurl`, `sort_order`, `status`) VALUES
(1, 'tw', '芝普企業股份有限公司(台灣總公司)', '台湾桃園市八德區型成街22號', '+886-3-365-3300', '+886-3-365-3301', 'http://www.echemsemi.com', 'service@echemsemi.com', '', 10, 1),
(3, 'cn', '博仲国际贸易上海有限公司', '', '', '', '', '', '', 30, 1),
(4, 'en', 'PRODIO INTERNATIONAL TRADING SHANGHAI CO., LTD.', '**********巷18號1樓', '', '', '', '', '', 40, 1);

-- --------------------------------------------------------

--
-- 資料表結構 `asc_category`
--

CREATE TABLE `asc_category` (
  `id` int NOT NULL COMMENT '自增ID',
  `lang` varchar(10) NOT NULL DEFAULT 'tw' COMMENT '語系',
  `name` varchar(100) NOT NULL DEFAULT '' COMMENT '類別名稱',
  `parent_id` int NOT NULL DEFAULT '0' COMMENT '父ID',
  `sort_order` int NOT NULL DEFAULT '50' COMMENT '排序'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='產品類別';

--
-- 傾印資料表的資料 `asc_category`
--

INSERT INTO `asc_category` (`id`, `lang`, `name`, `parent_id`, `sort_order`) VALUES
(1, 'tw', '塗料與油墨', 0, 50),
(2, 'tw', '分散劑', 1, 50),
(3, 'tw', '潤濕劑', 1, 50),
(4, 'tw', '電子化學材料', 0, 50),
(5, 'tw', '電子化學材料', 4, 50),
(6, 'tw', '電子化學材料', 4, 50);

-- --------------------------------------------------------

--
-- 資料表結構 `asc_contact`
--

CREATE TABLE `asc_contact` (
  `id` int NOT NULL COMMENT '自增ID',
  `lang` varchar(10) NOT NULL COMMENT '語系',
  `name` varchar(100) NOT NULL COMMENT '名稱',
  `tel` varchar(50) NOT NULL COMMENT '電話',
  `address` varchar(255) NOT NULL COMMENT '地址',
  `email` varchar(100) NOT NULL COMMENT 'Email',
  `content` text NOT NULL COMMENT '內容',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '建立時間'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='聯絡表單';

--
-- 傾印資料表的資料 `asc_contact`
--

INSERT INTO `asc_contact` (`id`, `lang`, `name`, `tel`, `address`, `email`, `content`, `create_time`) VALUES
(2, 'tw', 'name', 'tel', 'address', 'email', 'content', '2024-01-07 00:03:05'),
(3, 'tw', 'name2', 'tel2', 'address2', 'email2', 'content2', '2024-01-07 00:03:05');

-- --------------------------------------------------------

--
-- 資料表結構 `asc_news`
--

CREATE TABLE `asc_news` (
  `id` int NOT NULL COMMENT '自增ID',
  `lang` varchar(10) NOT NULL DEFAULT 'tw' COMMENT '語系',
  `title` varchar(255) NOT NULL COMMENT '新聞標題',
  `content` text NOT NULL COMMENT '新聞內容',
  `imageurl` varchar(255) NOT NULL DEFAULT '' COMMENT '新聞圖片',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '建立時間',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新時間',
  `delete_time` datetime DEFAULT NULL COMMENT '刪除時間'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='最新消息';

--
-- 傾印資料表的資料 `asc_news`
--


-- --------------------------------------------------------

--
-- 資料表結構 `asc_supplier`
--

CREATE TABLE `asc_supplier` (
  `id` int NOT NULL COMMENT '自增ID',
  `lang` varchar(10) NOT NULL DEFAULT 'tw',
  `name` varchar(200) NOT NULL DEFAULT '' COMMENT '供應商名稱',
  `imageurl` varchar(255) NOT NULL DEFAULT '' COMMENT '供應商圖檔',
  `sort_order` int NOT NULL DEFAULT '50' COMMENT '供應商排序',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '建立時間',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新時間',
  `delete_time` datetime DEFAULT NULL COMMENT '刪除時間'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='供應商';

--
-- 傾印資料表的資料 `asc_supplier`
--

INSERT INTO `asc_supplier` (`id`, `lang`, `name`, `imageurl`, `sort_order`, `create_time`, `update_time`, `delete_time`) VALUES
(1, 'tw', '測試', '', 10, '2024-01-06 03:13:15', '2024-01-06 03:13:15', NULL),
(2, 'tw', 'aaa', '/storage/supplier/6598552926f0d.jpg', 20, '2024-01-06 03:14:52', '2024-01-06 03:14:52', NULL),
(3, 'cn', 'supplier', '/storage/supplier/659855efc025e.jpg', 30, '2024-01-06 03:18:15', '2024-01-06 03:18:15', NULL),
(4, 'tw', 'TEST', '/storage/branch/65996c466cda4.jpg', 40, '2024-01-06 23:05:50', '2024-01-06 23:05:50', NULL),
(5, 'tw', 'test', '/storage/branch/65996c74a019c.jpg', 50, '2024-01-06 23:06:35', '2024-01-06 23:06:35', NULL);

--
-- 已傾印資料表的索引
--

--
-- 資料表索引 `asc_admin`
--
ALTER TABLE `asc_admin`
  ADD PRIMARY KEY (`id`);

--
-- 資料表索引 `asc_admin_log`
--
ALTER TABLE `asc_admin_log`
  ADD PRIMARY KEY (`id`);

--
-- 資料表索引 `asc_article`
--
ALTER TABLE `asc_article`
  ADD PRIMARY KEY (`id`);

--
-- 資料表索引 `asc_article_cate`
--
ALTER TABLE `asc_article_cate`
  ADD PRIMARY KEY (`id`);

--
-- 資料表索引 `asc_banner`
--
ALTER TABLE `asc_banner`
  ADD PRIMARY KEY (`id`);

--
-- 資料表索引 `asc_branch`
--
ALTER TABLE `asc_branch`
  ADD PRIMARY KEY (`id`);

--
-- 資料表索引 `asc_category`
--
ALTER TABLE `asc_category`
  ADD PRIMARY KEY (`id`);

--
-- 資料表索引 `asc_contact`
--
ALTER TABLE `asc_contact`
  ADD PRIMARY KEY (`id`);

--
-- 資料表索引 `asc_news`
--
ALTER TABLE `asc_news`
  ADD PRIMARY KEY (`id`);

--
-- 資料表索引 `asc_supplier`
--
ALTER TABLE `asc_supplier`
  ADD PRIMARY KEY (`id`);

--
-- 在傾印的資料表使用自動遞增(AUTO_INCREMENT)
--

--
-- 使用資料表自動遞增(AUTO_INCREMENT) `asc_admin`
--
ALTER TABLE `asc_admin`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '管理員自增ID', AUTO_INCREMENT=38;

--
-- 使用資料表自動遞增(AUTO_INCREMENT) `asc_admin_log`
--
ALTER TABLE `asc_admin_log`
  MODIFY `id` int NOT NULL AUTO_INCREMENT COMMENT '自增ID', AUTO_INCREMENT=227;

--
-- 使用資料表自動遞增(AUTO_INCREMENT) `asc_article`
--
ALTER TABLE `asc_article`
  MODIFY `id` int NOT NULL AUTO_INCREMENT COMMENT '自增ID', AUTO_INCREMENT=10;

--
-- 使用資料表自動遞增(AUTO_INCREMENT) `asc_article_cate`
--
ALTER TABLE `asc_article_cate`
  MODIFY `id` int NOT NULL AUTO_INCREMENT COMMENT '自增ID';

--
-- 使用資料表自動遞增(AUTO_INCREMENT) `asc_banner`
--
ALTER TABLE `asc_banner`
  MODIFY `id` int NOT NULL AUTO_INCREMENT COMMENT '自增ID', AUTO_INCREMENT=15;

--
-- 使用資料表自動遞增(AUTO_INCREMENT) `asc_branch`
--
ALTER TABLE `asc_branch`
  MODIFY `id` int NOT NULL AUTO_INCREMENT COMMENT '自增ID', AUTO_INCREMENT=5;

--
-- 使用資料表自動遞增(AUTO_INCREMENT) `asc_category`
--
ALTER TABLE `asc_category`
  MODIFY `id` int NOT NULL AUTO_INCREMENT COMMENT '自增ID', AUTO_INCREMENT=7;

--
-- 使用資料表自動遞增(AUTO_INCREMENT) `asc_contact`
--
ALTER TABLE `asc_contact`
  MODIFY `id` int NOT NULL AUTO_INCREMENT COMMENT '自增ID', AUTO_INCREMENT=4;

--
-- 使用資料表自動遞增(AUTO_INCREMENT) `asc_news`
--
ALTER TABLE `asc_news`
  MODIFY `id` int NOT NULL AUTO_INCREMENT COMMENT '自增ID', AUTO_INCREMENT=15;

--
-- 使用資料表自動遞增(AUTO_INCREMENT) `asc_supplier`
--
ALTER TABLE `asc_supplier`
  MODIFY `id` int NOT NULL AUTO_INCREMENT COMMENT '自增ID', AUTO_INCREMENT=6;
COMMIT;

/*!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 */;
