数据库
首页 > 数据库> > 保证金日志数据库设置

保证金日志数据库设置

作者:互联网

/*
Navicat MySQL Data Transfer

Source Server         : 47.94.156.208
Source Server Version : 50648
Source Host           : 47.94.156.208:3306
Source Database       : 12_31

Target Server Type    : MYSQL
Target Server Version : 50648
File Encoding         : 65001

Date: 2021-04-24 16:22:19
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for ds_storedepositlog
-- ----------------------------
DROP TABLE IF EXISTS `ds_storedepositlog`;
CREATE TABLE `ds_storedepositlog` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '保证金日志id',
  `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  `store_name` varchar(60) NOT NULL COMMENT '店铺名称',
  `avaliable_deposit` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '已缴保证金',
  `freeze_deposit` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '审核保证金',
  `payable_deposit` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '应缴保证金',
  `depositlog_state` tinyint(1) unsigned NOT NULL COMMENT '状态(0无效1有效2待审核3已同意4已拒绝5已缴纳6已取消)',
  `depositlog_type` smallint(5) unsigned NOT NULL COMMENT '日志类型',
  `depositlog_desc` varchar(255) NOT NULL COMMENT '日志详情',
  `depositlog_add_time` int(10) unsigned NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`),
  KEY `store_id` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺保证金日志表';

-- ----------------------------
-- Records of ds_storedepositlog
-- ----------------------------

标签:COMMENT,10,--,数据库,unsigned,保证金,日志,NULL,id
来源: https://blog.csdn.net/wangzhae/article/details/116094981