商城数据库4-5

areas DDL

CREATE TABLE `areas` (
  `areaId` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parentId` int(11) NOT NULL COMMENT '父Id',
  `areaName` varchar(100) NOT NULL COMMENT '地域名称',
  `isShow` tinyint(4) NOT NULL DEFAULT '1' COMMENT '是否显示(0:是1:否)',
  `areaSort` int(11) NOT NULL DEFAULT '0' COMMENT '排序号',
  `areaKey` char(10) NOT NULL COMMENT '地区首字母',
  `areaType` tinyint(4) NOT NULL DEFAULT '1' COMMENT '级别标志(1:省2:市3:县区)',
  `dataFlag` tinyint(4) NOT NULL COMMENT '删除标志(-1:删除1:有效)',
  `createTime` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`areaId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

ad_positions DDL

CREATE TABLE `ad_positions` (
  `positionId` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `positionType` tinyint(4) NOT NULL DEFAULT '0' COMMENT '广告类型(1:电脑端2:微信端3:手机端4:app端5:小程序端)',
  `positionName` varchar(100) NOT NULL COMMENT '广告位置名称',
  `positionWidth` int(11) NOT NULL DEFAULT '0' COMMENT '建议宽度',
  `positionHeight` int(11) NOT NULL DEFAULT '0' COMMENT '建议高度',
  `dataFlag` tinyint(4) NOT NULL DEFAULT '1' COMMENT '有效状态(1:有效-1:无效)',
  `positionCode` varchar(20) DEFAULT NULL COMMENT '广告位置(N/A)',
  `apSort` int(11) NOT NULL COMMENT '排序号',
  PRIMARY KEY (`positionId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值