pay/database/pay_cooperation.sql

19 lines
971 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

CREATE TABLE `pay_cooperation` (
`id` int(11) unsigned NOT NULL auto_increment,
`name` varchar(50) NOT NULL COMMENT '姓名',
`email` varchar(100) NOT NULL COMMENT '邮箱',
`phone` varchar(20) DEFAULT NULL COMMENT '电话',
`company` varchar(100) DEFAULT NULL COMMENT '公司名称',
`type` varchar(50) DEFAULT NULL COMMENT '合作类型',
`message` text NOT NULL COMMENT '合作详情',
`status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态0待处理1已处理2已拒绝',
`admin_reply` text DEFAULT NULL COMMENT '管理员回复',
`ip` varchar(45) DEFAULT NULL COMMENT '提交IP',
`user_agent` varchar(255) DEFAULT NULL COMMENT '用户代理',
`addtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '提交时间',
`reply_time` int(10) unsigned DEFAULT NULL COMMENT '回复时间',
PRIMARY KEY (`id`),
KEY `status` (`status`),
KEY `addtime` (`addtime`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='广告合作申请表';