/*
Dreamer CMS 数据库备份工具 时间：2025-04-09
*/

DROP TABLE IF EXISTS `system_fields`;

/*
Table structure for table `system_fields`
*/
CREATE TABLE `system_fields` (
  `id` varchar(32) NOT NULL,
  `form_id` varchar(32) NOT NULL,
  `field_text` varchar(32) DEFAULT NULL COMMENT '字段提示名',
  `field_name` varchar(128) NOT NULL COMMENT '字段名',
  `type` int DEFAULT '1' COMMENT '类型：0系统自动生成表单字段',
  `data_type` varchar(32) DEFAULT NULL COMMENT '数据类型',
  `default_value` varchar(128) DEFAULT NULL COMMENT '默认值',
  `max_length` int DEFAULT NULL COMMENT '最大长度',
  `create_by` varchar(32) DEFAULT NULL,
  `create_time` timestamp NOT NULL DEFAULT '2018-01-01 00:00:00',
  `update_by` varchar(32) DEFAULT NULL,
  `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `ext01` varchar(32) DEFAULT NULL,
  `ext02` varchar(32) DEFAULT NULL,
  `ext03` varchar(32) DEFAULT NULL,
  `ext04` varchar(32) DEFAULT NULL,
  `ext05` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

/*
Data for table `system_fields`
*/
INSERT INTO `system_fields`(`create_by`, `create_time`, `data_type`, `default_value`, `ext01`, `ext02`, `ext03`, `ext04`, `ext05`, `field_name`, `field_text`, `form_id`, `id`, `max_length`, `type`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2018-09-21 11:51:24','%Y-%m-%d %H:%i:%s'), 'html', '', '', '', '', '', '', 'content', '文章内容', 'c17ddcad9fb149a6bf90f7bba0e0696b', '01a3d20d81f24d678d50238fcd5892ca', 200, 1, '', STR_TO_DATE('2018-09-21 11:51:24','%Y-%m-%d %H:%i:%s'));
INSERT INTO `system_fields`(`create_by`, `create_time`, `data_type`, `default_value`, `ext01`, `ext02`, `ext03`, `ext04`, `ext05`, `field_name`, `field_text`, `form_id`, `id`, `max_length`, `type`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2019-08-20 11:30:53','%Y-%m-%d %H:%i:%s'), 'html', '', '', '', '', '', '', 'body', '内容', '9b5112043c2240d8823bd15759c67604', '125fcd235ab5419ca50e513485f359cf', 200, 1, '', STR_TO_DATE('2019-08-20 11:30:53','%Y-%m-%d %H:%i:%s'));
INSERT INTO `system_fields`(`create_by`, `create_time`, `data_type`, `default_value`, `ext01`, `ext02`, `ext03`, `ext04`, `ext05`, `field_name`, `field_text`, `form_id`, `id`, `max_length`, `type`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-01-09 15:01:45','%Y-%m-%d %H:%i:%s'), 'varchar', '＃', '', '', '', '', '', 'href', '链接地址', 'be8b37d8083e432fabec23c5ffff2796', '86380936c8f8411a9caaf9d9301dca32', 128, 1, '', STR_TO_DATE('2023-01-09 15:01:45','%Y-%m-%d %H:%i:%s'));
INSERT INTO `system_fields`(`create_by`, `create_time`, `data_type`, `default_value`, `ext01`, `ext02`, `ext03`, `ext04`, `ext05`, `field_name`, `field_text`, `form_id`, `id`, `max_length`, `type`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2019-08-16 09:05:41','%Y-%m-%d %H:%i:%s'), 'varchar', '', '', '', '', '', '', 'source', '客户来源', '06c540abf3a64d9699762711439c82dd', '86601971f1bb47bd81e06f2167ba4398', 255, 1, '', STR_TO_DATE('2019-08-16 09:05:41','%Y-%m-%d %H:%i:%s'));
INSERT INTO `system_fields`(`create_by`, `create_time`, `data_type`, `default_value`, `ext01`, `ext02`, `ext03`, `ext04`, `ext05`, `field_name`, `field_text`, `form_id`, `id`, `max_length`, `type`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-01-10 15:12:07','%Y-%m-%d %H:%i:%s'), 'html', '', '', '', '', '', '', 'answer', '答案', '0c3bd3829eda49a68a82b2e55262c6ad', '8adde5a8824f490c88d16c1c8aff494a', 2000, 1, '', STR_TO_DATE('2023-01-10 15:12:07','%Y-%m-%d %H:%i:%s'));
INSERT INTO `system_fields`(`create_by`, `create_time`, `data_type`, `default_value`, `ext01`, `ext02`, `ext03`, `ext04`, `ext05`, `field_name`, `field_text`, `form_id`, `id`, `max_length`, `type`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2018-09-25 14:33:17','%Y-%m-%d %H:%i:%s'), 'varchar', '', '', '', '', '', '', 'link_url', '链接地址', '02c73a0271644e8c91cf2400d9325e93', 'a2b7dcd22d1042ef929e2d17c97e747c', 256, 1, '', STR_TO_DATE('2018-09-25 14:33:16','%Y-%m-%d %H:%i:%s'));
INSERT INTO `system_fields`(`create_by`, `create_time`, `data_type`, `default_value`, `ext01`, `ext02`, `ext03`, `ext04`, `ext05`, `field_name`, `field_text`, `form_id`, `id`, `max_length`, `type`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2020-07-22 06:18:20','%Y-%m-%d %H:%i:%s'), 'varchar', '', '', '', '', '', '', 'telephone', '电话', '33a091d40c5e484b880daa744ef4e8aa', 'a7be21842fc14c108fb779dd1826f6b6', 32, 1, '', STR_TO_DATE('2020-07-22 14:18:20','%Y-%m-%d %H:%i:%s'));
INSERT INTO `system_fields`(`create_by`, `create_time`, `data_type`, `default_value`, `ext01`, `ext02`, `ext03`, `ext04`, `ext05`, `field_name`, `field_text`, `form_id`, `id`, `max_length`, `type`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2020-07-22 06:24:03','%Y-%m-%d %H:%i:%s'), 'textarea', '', '', '', '', '', '', 'content', '内容', '33a091d40c5e484b880daa744ef4e8aa', 'dddaf4417cec46ed86571035a50d17a7', 500, 1, '', STR_TO_DATE('2020-07-22 14:24:03','%Y-%m-%d %H:%i:%s'));
INSERT INTO `system_fields`(`create_by`, `create_time`, `data_type`, `default_value`, `ext01`, `ext02`, `ext03`, `ext04`, `ext05`, `field_name`, `field_text`, `form_id`, `id`, `max_length`, `type`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2020-07-22 07:46:47','%Y-%m-%d %H:%i:%s'), 'textarea', '', '', '', '', '', '', 'reply', '回复内容', '33a091d40c5e484b880daa744ef4e8aa', 'e67c80193b63443d8587971590fba810', 500, 1, '', STR_TO_DATE('2020-07-22 15:46:47','%Y-%m-%d %H:%i:%s'));
INSERT INTO `system_fields`(`create_by`, `create_time`, `data_type`, `default_value`, `ext01`, `ext02`, `ext03`, `ext04`, `ext05`, `field_name`, `field_text`, `form_id`, `id`, `max_length`, `type`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-01-09 17:23:29','%Y-%m-%d %H:%i:%s'), 'html', '', '', '', '', '', '', 'body', '详情', '6af72885122340c8966bd0e14a4aaae0', 'e6fe93a73a4b45aaa8cca09b9390fa83', 2000, 1, '', STR_TO_DATE('2023-01-09 17:23:28','%Y-%m-%d %H:%i:%s'));
INSERT INTO `system_fields`(`create_by`, `create_time`, `data_type`, `default_value`, `ext01`, `ext02`, `ext03`, `ext04`, `ext05`, `field_name`, `field_text`, `form_id`, `id`, `max_length`, `type`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2019-08-16 09:06:19','%Y-%m-%d %H:%i:%s'), 'textarea', '', '', '', '', '', '', 'content', '评价内容', '06c540abf3a64d9699762711439c82dd', 'e7d3405934a148c19a7fc1327551a146', 200, 1, '', STR_TO_DATE('2019-08-16 09:06:19','%Y-%m-%d %H:%i:%s'));
INSERT INTO `system_fields`(`create_by`, `create_time`, `data_type`, `default_value`, `ext01`, `ext02`, `ext03`, `ext04`, `ext05`, `field_name`, `field_text`, `form_id`, `id`, `max_length`, `type`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2019-08-16 09:05:18','%Y-%m-%d %H:%i:%s'), 'varchar', '', '', '', '', '', '', 'evaluator', '评价人', '06c540abf3a64d9699762711439c82dd', 'f312ae651c254b0b88bf090ae3db6c3f', 64, 1, '', STR_TO_DATE('2019-08-16 09:05:18','%Y-%m-%d %H:%i:%s'));
